running an application without a name
running an application without a name
- Subject: running an application without a name
- From: Michael Tuminello <email@hidden>
- Date: Fri, 28 Mar 2003 18:43:27 -0500
thanks very much! My appname is changing, but I take it from a
textfield that's filled from a prior browse operation.
unfortunately, the OS still seems to prompt me for the app when I do this...
set theApppath to contents of text field "apppath" of tab view item
"installTab" of tab view "tabs" of theWindow
launch application theApppath
any further suggestions here?
will applescript take the new "/" syntax, or do we need to convert to ":"?
thanks -
Michael
I'd launch the installer, check every 5 seconds whether is it running or
not, then (supposed it finished its work) make my own checkings...
on run
tell app "Finder" to open alias "path:to:installer"
end run
on idle
tell application "Finder" to name of processes
if "name of installer" is not in contents of result then
--> check stuff
end if
return 5 --> check every 5 seconds if installer is not running
end idle
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.