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: Graff <email@hidden>
- Date: Mon, 26 Jan 2004 23:00:20 -0500
I'll leave your question to the others, but what problems are you
having with finding out about application processes via the Finder in
MacOS X? This works fine for me under MacOS X 10.3:
------------
tell application "Finder"
get every application process
end tell
------------
The result is a list of all of the current user's application
processes. You can also use System Events to do the same thing, but
the Finder also works for me.
- Ken
On Jan 26, 2004, at 6:31 PM, Rob Stavis wrote:
I'm working on an AppleScript that can be used on both OS 9 and OS 10
boxes. Using the system attribute sysv, I can figure out the OS. At
one point in the script, I want to determine if an application is
running, and if the OS is 10, I use System Events to determine the
application processes, whereas in OS 9, I use the Finder. (I thought
that the legacy suite of the Finder would support getting application
processes using the Finder in OS 10, but I can't get that to happen.)
_______________________________________________
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.