• 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: Finder in processes false ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder in processes false ?


  • Subject: Re: Finder in processes false ?
  • From: Michael Gmail <email@hidden>
  • Date: Tue, 11 Oct 2005 09:42:52 -0500

"Finder" is a string; theProcesses is a list of application processes of application "System Events".

Try this:

tell application "System Events"
    set theProcesses to name of processes
    if theProcesses contains "Finder" then
        set op_state to "True"
    else
        set op_state to "False"
    end if
end tell

Michael

On Oct 11, 2005, at 9:34 AM, Jay Louvion wrote:

Anyone can show me how dumb I am for not getting why this returns “false” ?

tell application "System Events"
    set theProcesses to (list processes as list)
    if theProcesses contains "Finder" then
        set op_state to "True"
    else
        set op_state to "False"
    end if
end tell


--

"Even the translator's wife (or husband) soon tires of being shown with indignation examples of the author's ineptitude, and, with self- righteousness, examples of the translator's genius."

- Lewis Galantière

_______________________________________________
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


References: 
 >Finder in processes false ? (From: Jay Louvion <email@hidden>)

  • Prev by Date: Re: Finder in processes false ?
  • Next by Date: Re: Finder in processes false ?
  • Previous by thread: Re: Finder in processes false ?
  • Next by thread: Re: Finder in processes false ?
  • Index(es):
    • Date
    • Thread