Re: Windows of hidden Applications
Re: Windows of hidden Applications
- Subject: Re: Windows of hidden Applications
- From: Irwin Poche <email@hidden>
- Date: Mon, 16 Feb 2004 19:46:52 -0600
On Feb 15, 2004, at 3:22 PM, Michelle Steiner wrote:
On Feb 15, 2004, at 10:20 AM, Irwin Poche wrote:
Does anyone tell me what's going on here ?
I would guess that an application knows how many windows it has open,
so can give the correct response, but if the application is hidden,
the Finder can't see them, so it reports that zero windows are open.
Yes, that's what I suspected. But being hidden is inconsistent with
respect to application / window. It would make more sense if the
application wouldn't be returned either - but I'm an optimist.
This will work:
tell application "Finder"
set foo to ((application processes whose name is "Safari")'s
application file as string)
end tell
tell application foo
count of windows
end
--
I am Dyslexic of Borg. Fusistance is retile. Your ass will be
laminated.
_______________________________________________
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.
Thank you Michelle. What you suggested worked.
_______________________________________________
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.