Thanks for your guidance. I will play with all three and see where itĀ gets me.

Also, with:

On Dec 7, 2005, at 5:57 AM, has wrote:

1. Execute AppleScript code via os.system() and osascript:


os.system('''

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.

Brian

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to