Re: Scripts won't launch
Re: Scripts won't launch
- Subject: Re: Scripts won't launch
- From: email@hidden
- Date: Fri, 10 Jan 2003 10:18:22 -0500
Peter-
Without seeing your script it's a little hard to tell, but I'm guessing
you need to use "activate" to bring the scripted app to the front. For
example:
-- This script may have trouble if another app is in front of it.
-- And you would get the message "The Finder needs your attention."
tell app "Finder"
display dialog "Hello Peter."
end tell
-- This script will work fine
-- Adding "activate" will bring the scripted app (in this case the
"Finder") to the front.
-- However, this will work fine when run in the ScriptEditor.
tell app "Finder"
activate
display dialog "Hello Peter."
end tell
Both Again, it's hard to know exactly without seeing your script. Hope
this helps.
-Cassj.
Peter Kyme <email@hidden>
Sent by: email@hidden
01/10/03 05:17 AM
To: email@hidden
cc:
Subject: Scripts won't launch
Hello all,
I'm having a problem running scripts on a G4 that has had 10.2.3 newly
installed on it. Any script that attempts to launch will hang, bouncing
away in the dock for a minute or so. It will then freeze and can only be
removed via kill -9.
However, I can run the same script without problems in each case by
running it in the script editor. Unfortunately this doesn't help with
creating droplets, which is what I need. Scripts created on other
machines will also hang.
Has anyone seen this behaviour or have any suggestions?
Many thanks,
Peter Kyme
_______________________________________________
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.