Re: Running a script in both OS 9 and 10
Re: Running a script in both OS 9 and 10
- Subject: Re: Running a script in both OS 9 and 10
- From: Michelle Steiner <email@hidden>
- Date: Mon, 26 Jan 2004 17:49:51 -0700
On Jan 26, 2004, at 4:31 PM, Rob Stavis wrote:
On an OS 9 box, the app System Events doesn't exist, so on the first
run I'm presented with a dialog asking me to identify the application
System Events. The response wouldn't matter since this piece of the
script doesn't get called in OS 9, but the script would be changed and
could not then be used an OS 10 machine. Plus, it's very confusing for
the user.
Can you see a work-around for this problem (aside from having 2
different versions of the script)?
This might work:
using terms from application "Finder"
tell application "System Events"
--whatever
end tell
end using terms from
-- Michelle
--
The problem with political jokes is that too many of them get elected.
_______________________________________________
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.