• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running a script in both OS 9 and 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Running a script in both OS 9 and 10 (From: Rob Stavis <email@hidden>)

  • Prev by Date: Re: Does UI scripting work on MacOSX 10.2?
  • Next by Date: Re: applescript-users digest, Vol 3 #2377 - 17 msgs
  • Previous by thread: Re: Running a script in both OS 9 and 10
  • Next by thread: Running a script in both OS 9 and 10
  • Index(es):
    • Date
    • Thread