permanently displayed text
-
@d-healey it works in hise but when I export it. it doesn't load it when I reopen it
-
This snippet is different to the one from last night. I don't see anywhere in it where you are loading
registeredto.json
-
@d-healey oh you're right
HiseSnippet 2295.3ocsYs0aaibEdjcXVas1ayVTf9JqdHfFMQUT2cBZW5aYg1X6nZ4FTTf8BE4HoYMEo.4PEqFXrK5ur7Sou121+AomgCuL7lsr2r7AAMyblC+N29lY3Lz0w.6443hpr8kqVfQU1QZzJa5riloSrQCNF5Whh8nxsZgNb0BcOOrIpRkM+Z1vU19Qnfme4qNT2R21.mzEB8VGhA9TxbBMo2gZulXY8JcS7kj4BR2Vafgi8QNVN9.T1TpAZgtwU5SwmqyDaCITkGehIg53NhpC3AU4QG5XtZzLm2Yyk+sDOxXKLqgJZDnHd2uxwxjgXVunilQrLGFYxdHPKCSb.axc.+AoyHlj39SbDOIX.4jYH5OprQZ3sYJ3oJBuFBvq.Hsg.jdDGReozHCWxBZxHL774RCroX2I5faWDJbYQa7+1Q5HGPBaZ845WgekKzHdFJcaz3YxvO68xpUAWODgWp6Juv15PKeWU4+pbzbmhoG4LegiMzPoVj.0f4E8+5dX5PvKQuvwmRrwJS7sMnDGako6U88U2dZ8IPP+.KKkFW2ogZW0NpsfoC8OFOkXep9JrqB00GCcJCOP+NWyzrhZi5Mh6DaaxEE54FFrI1FV9lXkZivtDcKu5+nGCVUsgbFOH+AKefOcliKwSmgF.JLEkXr7oMvdgOsT6UPlZgHIQAGi8B70fxKUABxjWAbsGjybp9Xr0c.iDAyqpTl5wfvNS8wkpuBkNuR+ZKmw5Vm4SYZJfWfomT0GJ0RDJuBt.BvdPJG1j5TJXDEJuJt83SpHSvODaKHGTNJGT1wdj+XfD5PeJkQwXSccrTLhTwyfWhEj5ELWHYs51jIJ+ov91l0oKl56ZC4U7lrGKGCcK3MwQV.FX35srYwROiETzzXkIJ0n3qo0dFethRxUooNUGz36qclNwp1K3hcyKYvJRvSrgZFbcS+4KNv6aF8lyUXS5Y0pW+u3J919QufLNvqTM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Lr8GkJb4bAf9gKD78+7qy3o+u+TVfpsHsueGo1M60Wc+FM5yCBheBmDIyH38yVWn6Blof8J3xEibpsa1sQ2Vs51.BWk6dRxH2Q5RB0JW8E56RmOl68WlaMNILiWbQtT5i40ZzUrjxGCrUVlnb9UHSrSmt85JXjUYEfM5teq9Ejn2Vq7pxRYZ1UR3nChNgKEcBeiVY1leNa6uc+bXhIH6IZbUKy31RJ3+hUlZCErKsQkYWe3c+Zrq6G724NfeKw50ohgkY22bypwKHjwd09gBr2r0uP3oaul62AUH8aVI61rauGx5DelTv1MDL5evPzn+1xhYZNErzgHAQ6l860nWS0VcxA3XpIQaFp151qGLgN4TLiUjhVd78bghLtneUkqKi1EE6ycuNDr6JIbxMwcvjhbYqj.ZNnD6OViP8mtXZIIMBb1ay1LiuktK59PDIFVQ+xWkxGTtoy8NOQJ7XTxuFuR9ExYJstqMMocoVAa7AkOJ9Egfm+kZB24l3Gu4SAaDw6LGFRzcWw2msm9R7.6gv4nvTtAcO4mJKtlrkUwzCAoSs3ZTm2mfZawZ0+UQLUUkN44rumq7Ktyf1Z6Ayrc9AEFcye4VedvcXw9hY76PZGojugV56yZy099rTu06yJ47RLNifSwAhdK4ZfY33hC6J3bdh0Ln0PG+NoIjqGQ8MthcVTuBTR9qX6IRm4XBEzzz23G6ZNCGfs+HQOD6pzr8HzUhZ9S10.ttP7KkFRnFyJFiaT.FYwgeCvXX90tRmLYB1fl.vGI8p+4uM2TJheciSOSm5RfZPoy8mOBpjMvva2FnNYeHfJavRA4savZy7.iv1lAM9H7DNnJqckvAUiFDMW2v046M3Icrqmcqfd.LYGbyzaKcFqsrZTVljTi5MPygpru2vfY9OWEgJdNMe.yo0CXNse.yoyCXNce.yo2CXN8u04vH3.NSm47xAnigmD7cZpT4DaF2aPVH5+CDgtM0
-
So you have a couple of issues.
You are reading
Input
from the object but you are writingMail
to the objectYou are trying to set a label called
Registeredto
but you don't have a reference to it in on init. The reference is within yourAuthorisation
namespace. -
@d-healey damn I've tried a couple things on the snippet last night that's why somethings are different now.
so Registeredto must be outside of the namespace?
HiseSnippet 2292.3ocsYstaaibElxNLqsV6sYKJP+Kq9Q.MZhpnt6Dztz2xBuw1Q0xMnn.6EJxQRyZpgBjCUrZfwtnOQ8QHOJ8QXeCROCGdY3MaIuY4ODzLy4b3245LGNCbcLQddNtRU19pkyQRU1Qd3RBc5QSMvDoSOFlWlh7nJsZIc3x4FddHKoJU17qYKWY6GIE77Ke0gF1FDSTxTRRu0AahNCOCSSlcf9qw11uxvBcEdl.0s0O0zgbjisiO.kMkaHM2v7ZiInKLXjsgrTkGehEl53NjZ.3QpxiNzwZ4voNuivo+sXO7HaDaflzPPP7oekisECwrYkNZJ11ZPjJ6IARYPhAXStA3OHeN1BGOehg3IAKnjvgn8nxFog2lofmlH7ZH.uBfzFBP5QbH8kxCMcwyoIqvvymKeJghbGa.lcQnvoUZi+6NxG4.TPn0mYbM5UtvfXNT61nwyTfe16kUqBldvCuvvUYNw9PaeWMk+pRDuSPziblM2g.CTqEQPMfun+W2CQG.VI5kN9TLAoN1mXRwND0I6U88U2dR8wfS+.aa0F2zogVWsNZs.1g4GglfImYrD4pRc8QvjJvCLuyMLIqp0ndi3IQDKNovL2xfMlXZ6agTqMD4hMr8p+id0RqNWBx2CzXjE0oTURjHF+IreJYtOsT9BVM3ERffTOHfEobfOcpiK1yfo9ftyPdh7337tkp.M0BU8DAbLxKv4BBuTAHPSdAvkdPP5YFiP12CLRHLunRopGCD6LwGUp7Jj57B8qscFYXetOkIofBQL4jJgTsVBQQBH3GLwFB9ThB9TbHC8GAUeNzmRY0VHTWGaUyHL8L3EZCwbA7BQoU2FOV8OEN21rIcQTeWB3e4CYO1NlF1vah6AC7RL.9VFWr3xXBECpX4Gp0nnan0dFmWQJ4hzxfZ.R78bxdAmraeICVQDdBARVP0s7mM+.uuY3atPkwzypUu9ewU7s8idAddvpTM86XAyllDdkB3QTBlIOGaT84tP9r5BFPiWK9OfgxKLk6X.B0A+GEx+8.52Kln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td55bCWPMEzWAStnmSqcytM51pU2Ff6pbySRD4NxWgo14xuj9tzwi4d+kYViCByXEmmKj9XdtFcIKn7wP0JaKob1UHRrSmt85JnjUYIfM5teq9EDn2Vu7rxRqzrqrPi.hFgqDMBeidY5leNc6uskobaIG7ewLS8AB5k9vxzqO7teM505A+ctG32RLechnaY55FaVMdCgL5YP40nkJuPISp08cnI8qzK3fOR48heQH34e2kvStI9oX9TTMB6ctCCIFtK4my1yXA5Tx.WDz3AWgVy5Sk4WSNxpX3g.0o1bMZx0wo1VLW8eUTkppxm77yMv1Ju3dcZqrELyw4OsPua96n5yCtJJ1WGheUP6Hm78hResTatxWKk1cdsTI8KwpYDzEGP5cDqApAzce3TA84IlyHsBx32IOFeyPpu40rdQ8JPH4uormHetiEjPSSewcraqLbA14iDsPraDi3goKEk7mrayaUg3WJO.SMmVLF2n.Lx7C+Ffwv3qckOY7XjIMAfOR9U+yeatvSI9sFN4bCpKFxAkuve1PHS1DAucBT5j8g.prAKDjOtAaLyBLDQrBF7Q3IbQM13JgKpEsnzLCSWmu2jGzwtk0sBlAvDI3Bl2V9b1XEsnnLY4F0aHMCxx9dSSl5+bMIoh4o4CfmVO.dZ+.3oyCfmtO.d58.3o+cxCq.GTyzYFOc.lXvIAemlJUNgvp8FDEJ8+Adqjrt
-
@treynterrio said in permanently displayed text:
so Registeredto must be outside of the namespace?
Not necessarily. You can access it within the namespace if you prefer. Or you can put your loading code in the namespace. Or you can have two references, one in and one out of the namespace.
-
HiseSnippet 2332.3ocsYssbaabFFTRvQhQJ0oSmo2zKP4EdflZyBvyxdZCzImgwR1Lhpd5zYZS.AVRtQf.b.VPKVOZRl9j4Wf9NjGg7F39uXwgEmnHUbwEb3t6+9iu+Se6tXG35Xf77bbEpr20KmiDpru3vk1jomNUGaKz+LneQBxiH0rovIKmq64gLEpTY6ulNbk81QH34W9pSzszsMPIcIH7VGrA5B7LLIo2AZuBaY8RcSz03YbR2Rqugi8oNVN9.T1VTQXttwM5SPuVmJ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UJeP4lNy67XwvMwK8JzRomKkoz591Nk10ZErwGg7QwuHD7ruDR3d53+3HeJXivdW5PQht6R1Nv8zWf5aOvEAmXgYPaH+TYw0jMyxmdvIcpEWi5bSBps3qU+GEwTUU77mcIrAUomeuAs01ClYi98KL5l+ps97favh98ZX2fz9hIeAmz2l01q8sYotxayJ4jTTNify2AhthbMvLfyaG1UvI.4qYDVCc7aDGiucHw23F5oT8JPI4ufsGKdoiITPSReeezK4Lb.59i38PzKRy1CSVxq4rWB3Nq2k.t56nbcg6WJN.SLlVLd2p.7RiI+eFug4cGHd93wHCRBX2Q7k+8Ud+oeZfB6BImboNwEC0ohu1e1PnZ2.AHwFnWoeFgJaQSSYsUnsodlgHayfFeDdBGTk1tR3fpQCJLS2v046LXIlzKvc2fd.LYGb206IdIssjZTlnnnRcEgYPk32YXPcEOCvdwyowCXNMe.yo0CXNse.yoyCXNce.yo2JmCkDD3UclwJSfNFbdvW4oRkyso7yAYjB+O.iAz2BA
-
@treynterrio Now you're writing
text
and readingInput
-
@d-healey I'm starting to understand nothing anymore. I tried too much back and forth. Can you write me as code or send me the section that I need to change? As soon as I change little things, everything doesn't work right again
-
@treynterrio I think you need to step back and figure out what each part of your code is doing. It seems like you are guessing each time you make a change instead of knowing what the change you are making will do and why you're doing it.
Make a new project, add two buttons. Make the first button when clicked write some text to a file, make the second button when clicked read the text from the file and display it in the Console (or a label if you prefer).
Don't copy/paste code from your other project/snippets, start fresh, using the documentation to guide you.
-
@d-healey I did that already I had this one project where it worked I've export it and tried it in ableton but when I tried this in my Main project nothing was working anymore. I'm trying to get this done for 2 days straight now
-
@treynterrio said in permanently displayed text:
I did that already I had this one project where it worked
You wrote it from scratch? Not copy/pasting from bits of code from the forum?
-
@d-healey there is nothing in the forum besides all the information I've got from this thread.
Here did this the last couple minutes with a fresh new project. I just took on a few little things that I wouldn't have thought of myselfHiseSnippet 1004.3ocsV01aaaCDlJNrqVqcXEXedPyXnPFHyy1wIYaECyM1NCdsNwXtKXeq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8hw74bOOUKirsCvAiGjMb0wYfvLCHqJD8u3aFLHG
-
@treynterrio Does that snippet work for you?
It's also not what I suggested you do...
I said two buttons, one to write a value to a file, one to read a value from the file - no input label required. Let's get this to the most basic thing we can. Once you're in control of your code you'll be able to integrate it into your main project, but we have to get the basics down.
-
@d-healey this is almost working I think bit weird with the button and I need to compile it to change the text
HiseSnippet 1124.3ocsV0taaaCEkJNZaVKcXEXO.B9GEN.YARoI0tcXapwIYva4Ci3tfULLzRKQYyEIRCIpz5EDf8nrGk8Hs2fsKIksoRTJBLV8OBBuePctmKuGxAY7PRdNOCY07UylRPVaXObFSLo2DLkg5e.x5Sriw4Bz9ylhyyIQHKqF+fzmUy0Qpe+y2uONAyBIKMgPWvogjiooTwRqCB9IZRxQ3HxqnoFQuaP+PNqGOgW.3ngsGZJN7R7XxoXYXqYCf3vHpfmMTfEjbj056yilMbB+cLc7WPyoiRHxE9ngvFoMeDOIRhXoUTuIzjnAyq2bDrKCVV8MzU+WYeBMhtv9RV3KUNbWlgIeXsVU30nB77MgmmA7pARVFPZcMjdr8vvL5TwROR77418YBRVLFncSnniEs14Mr6wgHXhsSwWRNJCVrHi1644sk6N64s4233.Tetv8Jblqjtc+V244MlH5wSmxYvh1sjNaAwuL79roEh6MdkWYBtk+bnrDJi3FWvBETNykyFVLBNfregPHa+LQFOoc37sXK3ijTP1z4ZGGZra6xUy2tLhnHiA3WtHgGhSbok.R8okv4BYJsKwf1ZNAvlf7dQqszwW5UuCQXAF1fqacNYLMGXKRjqf25E5PuQGp5OGxFCEy1QEoSeY9ON7rSaKycKWEOs8umyYPsCwVt43n9LpfhSN.hRhHXubpm3LIkVaJAbI0zCmjLBFLZWKwUsUFAUQIDkebn8mp.YE343rnWbGDBr9hZUx9z7CHwv1E0NZS2m7DWi0+5sXqeaScW55E8J0G0j4qIGM2diyMFmONkKHmwTfooyMNt21Ubbs9JYjDRVstkhOYenDayJRGQxLN.pBDlHqNlae+i4lpPg51rQfbljqOaJgceZSnxyFv+8y8kcDo1PoMHtojLAUBAqCHWABsZkhl1GPxuTvmB65hCTfTgP48Qk5HGiGQRPzHoxtRf88KTh+y3fYKkkOMXBgNdhg.d2f2QiDSVX3uGEPEjTsx8N5pU1gUZ1w.ZGR+CCc9VAiFOWkeC6c2oSW+m6400CQ.ZEqXNqFnGBx+Ta0zrAzCdqAzCdcvBXTEwA7ZJppnpaGuN63+z8TURsvcYMirbr8eVmNPB6gpPEU1IyZZCcM8Ek0jdFVUTfIiwZiZ6uhLpM23fb7Uj9rAYDXjRS52pHe6cJxuK3g.5l1999c2sqekZ2H56q+wjcO4EjGSvYLUa7tWjAWgxiJRvhp2qJeLQoCXJrxkYxKrX4TwLyGa7+1ksOTH9X6ATQ3j5w3Z0fQXV8iAFKehxirOLNlDJVBv0sO5W937dDz47BAkM9DrHiBGHsOsHcHz+CIvWmwHIRUPq0j5U50dx0RFXHgEoV7uvuRm9x0VkN8m6DkhCy3uITq8JeDzmor.Xhod+WS6Sjqc8QJ8XHOaus8Povws2DFJK+uFjPqOmcVgbd5JjytqPN6sB47rUHmNqPNc+f4HmzeYgfmpGG.CCNTcIkk0gJo.0oPz+U+qWsE
-
@treynterrio You're reading the data in the same button callback that you're writing the data.
-
@d-healey It should only work with one button
-
@treynterrio You want to load the file when the plugin is opened not when the button is clicked. Currently your loadInitialData function is only called when the button is clicked.
-
@d-healey ok I finally got it!!! thanks for your help I really appreciate that