In my Applescript, after Transmit uploads my file, I need it to go away. But it sits there with a silly “Synch Complete – OK (button)” waiting for someone to click OK.
Any ideas on the AS syntax to click this :?:
In my Applescript, after Transmit uploads my file, I need it to go away. But it sits there with a silly “Synch Complete – OK (button)” waiting for someone to click OK.
Any ideas on the AS syntax to click this :?:
The folks at Panic have promised to address this issue in a future release. We’ll see.
In the meantime, you’ll probably need to use something to simulate pressing the return/enter key. Using Extra Suites, it would probably be as simple as:
tell application "Transmit" to activate
tell application "Extra Suites" to type key "enter"
It might also be accomplished with UI Scripting.
I think I might do an end-run around the whole mess by not using Transmit’s Synch function, but rather just its Upload function. Why? Uploading has no OK button when complete.
I’ll have to pass in the name of the file to be uploaded, which will add a bit more complexity, but I think I can do that given this fine site and hints contained in the thread right after this one that talks about passing in a var to an AS arguement.