Re: Windows of hidden Applications
Re: Windows of hidden Applications
- Subject: Re: Windows of hidden Applications
- From: Michelle Steiner <email@hidden>
- Date: Sun, 15 Feb 2004 14:22:34 -0700
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.
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.