Thank you!
JimBoReee
Recent community posts
on click do slider1.value:slider1.value - 1 slider1.event.change[val] end
I tried using this code to change the value of the slider and execute this script:
on change val do Sphere.paste[Assets.images[val]] if me.value = 0 button1.show:"solid" button2.show:"solid" else button1.show:"none" button2.show:"none" end end
There is a range from 0 to 4 for the images in a field going down. But, for some reason, the 0th image gets pasted and not the third in the field.
I want it to paste the images in the order of values in the slider with each click and not skip to zero.
Some questions I have about grids:
1. What are some ways that I could "lock," for lack of a better term, a column of a grid? I mean, I suspect I can use a format function to make it so that whenever a cell in that column gets changed to something else that it would replace the original letter, but I'm only half aware on how to pull that off and curious as to whether their exists a lock function for parts of a grid. But I digress.
2. Follow-up question to the first one, how would I rearrange the order of values in a column via button pressing? For example, changing the arrangement of values in a column, letters specifically, from alphabetical to by frequency, etc.
3. Is it possible to extract the values from a column in a grid and turn it into a string that can be used in dictionary functions?
I want to create a cipher of sorts. Be able to replace letters with other letters. If possible, I would also like to be able to replace sequences of letters with either individual letters or sequences.
So far, I was able to create a code that copies text from one field into another. I'd display it, but this is my first time replying to this forum and I don't know how to format text yet.