Re: Finder in processes false ?
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