How to make editable variables dynamic so they change with user input?
Thanks to other replies here, I'm moving forward with a simple script that will let me draw guides at proportions of my document.
But, the main editable variables I'm creating don't seem to change when I change the text, and I don't know why. I'm new to JavaScript, so if anyone could explain how to fix this, I'd appreciate it.
I've configured a dialog with editable text fields. These text fields are meant to control the proportions with which guides are drawn across the length of a document, such as 20% of the document's length, 40%, 60% and so on. The script works the first time I run it, but when I edit the text, nothing changes.
How do I get the variables to dynamically update with new user inputs?
