I asked this on automator-dev, but I don't think anybody is home there.
I'm writing an AppleScript-based Automator action. I have a text
field on my Automator action UI, and I want to update the value from
the main.applescript. How do I do that?
This gets the value:
on run { input, parameters }
set theText to |pathText| of parameters -- gets the value
...
end run
But, I want to do the opposite. I.e,:
set |pathText| of parameters to "new text" -- does not work, of course
How do I get the text field object? (I've tried saving theObject for
later use in a global in the "on wake" handler, but the global does
not survive to the "on run" handler.)