Hi,
I'm very new to Applescript and am trying to update a dynamic text variable in Adobe InDesign CS6 using Applescript on an interactive document, basic requirement below:
1. Text variable (number) is set in InDesign from external script. eg. 20
2. Button is clicked in Indesign which sends a value/number to the script (e.g. -15) showing on the next page in indesign that the text variable is now 5 (20 minus 15)
This happens multiple times depending on the original value set and the subsequent subtractions dependant on the user.
3. Once the Text variable reaches 0 or negative, a new spread needs to be loaded and displayed advising this.
Any assistance would be greatly appreciated.
I'm very new to Applescript and am trying to update a dynamic text variable in Adobe InDesign CS6 using Applescript on an interactive document, basic requirement below:
1. Text variable (number) is set in InDesign from external script. eg. 20
2. Button is clicked in Indesign which sends a value/number to the script (e.g. -15) showing on the next page in indesign that the text variable is now 5 (20 minus 15)
This happens multiple times depending on the original value set and the subsequent subtractions dependant on the user.
3. Once the Text variable reaches 0 or negative, a new spread needs to be loaded and displayed advising this.
Any assistance would be greatly appreciated.