> Brian Ray <[EMAIL PROTECTED]> (BR) wrote:
>BR> This seems to work well for now. However, is there a way to have
>BR> os.system() wait till it's finished? In other words how to I get the
>BR> osascript tool to not return until the script has actually finished.
os.system does wait.
--
Piet v
On Wed 2005-12-07, at Wed 2005-12-07T07:52 AM, Brian Ray wrote:
[snipped]
> 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.
You p
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
Brian Ray wrote:
>I have an AppleScript I am calling with os.system():
>
> with timeout of 3600 seconds
> tell application "MyApp"
> reload startup
> end tell
> end timeout
>
>I am interested in various methods to convert this to AppleE
Hi All:
I have an AppleScript I am calling with os.system():
with timeout of 3600 seconds
tell application "MyApp"
reload startup
end tell
end timeout
I am interested in various methods to convert this to AppleEvents.
Any