- Joined
- Mar 18, 2016
- Messages
- 4
- Reaction score
- 0
- Points
- 1
Can AppleScript understand that an application that the script's code is "handling" is busy with something else - busy with exporting for example - and only upon finishing the export to execute a part of the script?
Bare in mind I do not want to use the 'wait' command.
I am using tell "System Events" to handle an otherwise non-scriptable application and I would be interested to be able to set a loop when exporting (to perform multiple exports). But I'd need the script to understand that the application has finished an export first before going for the next.
Again, the 'wait' command cannot be used in this specific instance.
Thanks in advance!
Bare in mind I do not want to use the 'wait' command.
I am using tell "System Events" to handle an otherwise non-scriptable application and I would be interested to be able to set a loop when exporting (to perform multiple exports). But I'd need the script to understand that the application has finished an export first before going for the next.
Again, the 'wait' command cannot be used in this specific instance.
Thanks in advance!