• 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: List processes problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List processes problem


  • Subject: Re: List processes problem
  • From: "Bryan" <email@hidden>
  • Date: Wed, 03 Jan 2001 17:05:32 -0500

There are multiple ways to access the process list,
please see attached html table.
Akua, and others make this easy.
There are apps which will do this as well.

--begin html
<HTML>
<HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html"></HEAD>
<BODY><TABLE BORDER=1>
<TR>
<TH>eventname</TH>
<TH>command</TH>
<TH>OSAXen Name</TH>
<TH>description</TH>
</TR>
<TR>
<TD>&#171;event ScTlgetP&#187;</TD>
<TD>get process</TD>
<TD>Processes</TD>
<TD>get information about a running application</TD>
</TR>
<TR>
<TD>&#171;event ScTllApp&#187;</TD>
<TD>list processes</TD>
<TD>Processes</TD>
<TD>get a list of the running applications</TD>
</TR>
<TR>
<TD>&#171;event ScTlCrAp&#187;</TD>
<TD>get current process</TD>
<TD>Processes</TD>
<TD>determine the name of the currentlty executing process</TD>
</TR>
<TR>
<TD>&#171;event ScTlFrAp&#187;</TD>
<TD>get foreground process</TD>
<TD>Processes</TD>
<TD>get the name of the active application</TD>
</TR>
<TR>
<TD>&#171;event AkunSrrQ&#187;</TD>
<TD>the server processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Search for (or let a user choose) a process in the network. (Like
&quot;choose application&quot;, but more options).</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcQ&#187;</TD>
<TD>all processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Check for a running process by name or creator - or get a list of all
processes.</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcX&#187;</TD>
<TD>frontmost process</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Get/Set the frontmost process. Use to get and restore around idle
actions.</TD>
</TR>
<TR>
<TD>&#171;event AkunSrrQ&#187;</TD>
<TD>the server processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Search for (or let a user choose) a process in the network. (Like
&quot;choose application&quot;, but more options).</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcQ&#187;</TD>
<TD>all processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Check for a running process by name or creator - or get a list of all
processes.</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcX&#187;</TD>
<TD>frontmost process</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Get/Set the frontmost process. Use to get and restore around idle
actions.</TD>
</TR>
<TR>
<TD>&#171;event atp3lPrc&#187;</TD>
<TD>process list</TD>
<TD>Process List</TD>
<TD>Returns the list of all the processes currently running on the local
Macintosh</TD>
</TR>
<TR>
<TD>&#171;event ScTlgetP&#187;</TD>
<TD>get process</TD>
<TD>Processes</TD>
<TD>get information about a running application</TD>
</TR>
<TR>
<TD>&#171;event ScTllApp&#187;</TD>
<TD>list processes</TD>
<TD>Processes</TD>
<TD>get a list of the running applications</TD>
</TR>
<TR>
<TD>&#171;event ScTlCrAp&#187;</TD>
<TD>get current process</TD>
<TD>Processes</TD>
<TD>determine the name of the currentlty executing process</TD>
</TR>
<TR>
<TD>&#171;event ScTlFrAp&#187;</TD>
<TD>get foreground process</TD>
<TD>Processes</TD>
<TD>get the name of the active application</TD>
</TR>
<TR>
<TD>&#171;event YgzPlpro&#187;</TD>
<TD>get processes</TD>
<TD>ProcessWatcher</TD>
<TD>get the processes list</TD>
</TR>
<TR>
<TD>&#171;event YgzPlpro&#187;</TD>
<TD>get processes</TD>
<TD>PWd</TD>
<TD>get the processes list</TD>
</TR>
<TR>
<TD>&#171;event AkunSrrQ&#187;</TD>
<TD>the server processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Search for (or let a user choose) a process in the network. (Like
&quot;choose application&quot;, but more options).</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcQ&#187;</TD>
<TD>all processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Check for a running process by name or creator - or get a list of all
processes.</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcX&#187;</TD>
<TD>frontmost process</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Get/Set the frontmost process. Use to get and restore around idle
actions.</TD>
</TR>
</TABLE></BODY></HTML>

--end html
----------
>From: steve <email@hidden>
>To: AppleScript List <email@hidden>
>Subject: List processes problem
>Date: Wed, Jan 3, 2001, 3:41 PM
>

> Hi list,
>
> I'm having trouble with checking processes with a script that used to work
> but no longer does. For the life of me I can't figure out what I'm doing
> wrong or if I'm missing an Addition.
>
> Basically, I am using an idle handler to check for all necessary processes.
> If they are not there, I want to re-launch it.
>
> Here's what I used before:
>
> on idle
> tell application "Finder"
> set running_apps to processes as list
> if running_apps does not contain "FileMaker Pro" or does not contain
> "StuffIt Deluxe" then
> tell application "restart script"
> activate
> end tell
> end if
> return 30
> end idle
>
> I have tried to switch this to
>
> if running_apps contains process "FileMaker Pro" then
>
> but I still get an error. What am I doing wrong?
>
> Thanks!
> --
> Steve Kump
> New Media Development
> BC Newsgroup
> 34375 Cyril Street
> Abbotsford, BC
> Canada
> (604)870-4520
> email@hidden
<HTML>
<HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html"></HEAD>
<BODY><TABLE BORDER=1>
<TR>
<TH>eventname</TH>
<TH>command</TH>
<TH>OSAXen Name</TH>
<TH>description</TH>
</TR>
<TR>
<TD>&#171;event ScTlgetP&#187;</TD>
<TD>get process</TD>
<TD>Processes</TD>
<TD>get information about a running application</TD>
</TR>
<TR>
<TD>&#171;event ScTllApp&#187;</TD>
<TD>list processes</TD>
<TD>Processes</TD>
<TD>get a list of the running applications</TD>
</TR>
<TR>
<TD>&#171;event ScTlCrAp&#187;</TD>
<TD>get current process</TD>
<TD>Processes</TD>
<TD>determine the name of the currentlty executing process</TD>
</TR>
<TR>
<TD>&#171;event ScTlFrAp&#187;</TD>
<TD>get foreground process</TD>
<TD>Processes</TD>
<TD>get the name of the active application</TD>
</TR>
<TR>
<TD>&#171;event AkunSrrQ&#187;</TD>
<TD>the server processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Search for (or let a user choose) a process in the network. (Like &quot;choose application&quot;, but more options).</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcQ&#187;</TD>
<TD>all processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Check for a running process by name or creator - or get a list of all processes.</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcX&#187;</TD>
<TD>frontmost process</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Get/Set the frontmost process. Use to get and restore around idle actions.</TD>
</TR>
<TR>
<TD>&#171;event AkunSrrQ&#187;</TD>
<TD>the server processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Search for (or let a user choose) a process in the network. (Like &quot;choose application&quot;, but more options).</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcQ&#187;</TD>
<TD>all processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Check for a running process by name or creator - or get a list of all processes.</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcX&#187;</TD>
<TD>frontmost process</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Get/Set the frontmost process. Use to get and restore around idle actions.</TD>
</TR>
<TR>
<TD>&#171;event atp3lPrc&#187;</TD>
<TD>process list</TD>
<TD>Process List</TD>
<TD>Returns the list of all the processes currently running on the local Macintosh</TD>
</TR>
<TR>
<TD>&#171;event ScTlgetP&#187;</TD>
<TD>get process</TD>
<TD>Processes</TD>
<TD>get information about a running application</TD>
</TR>
<TR>
<TD>&#171;event ScTllApp&#187;</TD>
<TD>list processes</TD>
<TD>Processes</TD>
<TD>get a list of the running applications</TD>
</TR>
<TR>
<TD>&#171;event ScTlCrAp&#187;</TD>
<TD>get current process</TD>
<TD>Processes</TD>
<TD>determine the name of the currentlty executing process</TD>
</TR>
<TR>
<TD>&#171;event ScTlFrAp&#187;</TD>
<TD>get foreground process</TD>
<TD>Processes</TD>
<TD>get the name of the active application</TD>
</TR>
<TR>
<TD>&#171;event YgzPlpro&#187;</TD>
<TD>get processes</TD>
<TD>ProcessWatcher</TD>
<TD>get the processes list</TD>
</TR>
<TR>
<TD>&#171;event YgzPlpro&#187;</TD>
<TD>get processes</TD>
<TD>PWd</TD>
<TD>get the processes list</TD>
</TR>
<TR>
<TD>&#171;event AkunSrrQ&#187;</TD>
<TD>the server processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Search for (or let a user choose) a process in the network. (Like &quot;choose application&quot;, but more options).</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcQ&#187;</TD>
<TD>all processes</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Check for a running process by name or creator - or get a list of all processes.</TD>
</TR>
<TR>
<TD>&#171;event AkusPrcX&#187;</TD>
<TD>frontmost process</TD>
<TD>&#183;Akua Sweets</TD>
<TD>Get/Set the frontmost process. Use to get and restore around idle actions.</TD>
</TR>
</TABLE></BODY></HTML>


  • Prev by Date: Re: List processes problem
  • Next by Date: [OE]Which Incoming Message triggered Rule?
  • Previous by thread: Re: List processes problem
  • Next by thread: Re:List processes problem
  • Index(es):
    • Date
    • Thread