[Pythonmac-SIG] Converting to AppleEvents
bray at sent.com
Wed Dec 7 16:52:21 CET 2005
Thanks for your guidance. I will play with all three and see where it
On Dec 7, 2005, at 5:57 AM, has wrote:
> 1. Execute AppleScript code via os.system() and osascript:
> osascript -e 'with timeout of 3600 seconds
> tell application "TextEdit"
> get name
> end tell
> end timeout'
This seems to work well for now. However, is there a way to have
os.system() wait till it's finished? In other words how to I get the
osascript tool to not return until the script has actually finished.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pythonmac-SIG