Re: Scripts won't launch
Re: Scripts won't launch
- Subject: Re: Scripts won't launch
- From: Peter Kyme <email@hidden>
- Date: Fri, 10 Jan 2003 15:32:20 +0000
- Organization: Double Negative
Thanks for your feedback James, but the problem with this machine is not
down to the scripts being run. Even the simplest scripts similar to the
ones you suggest will hang on launch. Infact I've tested the scripts I'm
running on other machines so I know they work.
The problem is more with running applescripts as executables in general.
Any other suggestions?
email@hidden wrote:
>
>
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: To:
>
email@hidden email@hidden
>
cc:
>
01/10/03 05:17 AM 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.