Re: Puzzling behavior
Re: Puzzling behavior
- Subject: Re: Puzzling behavior
- From: Courtney Schwartz <email@hidden>
- Date: Mon, 20 Sep 2004 12:44:12 -0400
I have gotten something similar with a script set to run by cron... in
my case, iCal causes the invalid connection error. I still haven't been
able to track it down. It never happens during manual execution of the
script, and does not always happen when cron executes it. It almost
sounds like something delays the quit message, thus causing the next
launch command to fail...
Courtney Schwartz
On Sep 20, 2004, at 11:44 AM, Michelle Steiner wrote:
The script:
tell application "Finder"
quit
log 1
launch
log "a"
end tell
First time it's run:
tell application "Finder"
quit
current application
(*1*)
current application
(*1*)
launch
current application
(*a*)
end tell
Second time it's run:
tell application "Finder"
quit
(*1*)
current application
"Finder got an error: Connection is invalid."
Third time duplicates the first, fourth duplicates the second, etc.
-- Michelle
--
I've noticed lately that the paranoid fear of computers becoming
intelligent and taking over the world has almost entirely disappeared
from the common culture. Near as I can tell, this coincides with the
release of MS-DOS.
-- Larry DeLuca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________
Courtney Schwartz
Documentation Specialist
Global Technology Associates
3505 Lake Lynda Dr. Suite 109
Orlando, FL 32817 USA
(407) 380-0220 x1427
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden