re: Hiding Application Processes
re: Hiding Application Processes
- Subject: re: Hiding Application Processes
- From: Walter Ian Kaye <email@hidden>
- Date: Sun, 11 Jan 2004 19:16:16 -0800
At 11:45a +1000 01/12/2004, Bruce didst inscribe upon an electronic papyrus:
Emmanuel mentioned that Application processes can be hidden - except
the Finder`s Desktop.
There seems to be three ways that I can see to achieve this.
1) Hide...
2) Setting visible property to false
3) Collapsing windows
4) Expose'
5) Shut down
6) Cut power
7) Explosives
For a simple test I tried:
tell application "iTunes"
launch
if the (count of windows) is not 0 then
set collapsed of every window to true
end if
end tell
This puts the iTunes window into the Dock.
But that's not hiding an app, it's just minimizing its windows.
Different thing.
I can`t seem to get the "Hide" and "Set visible property to false"
to work however, and I think it`s because I`m not sure how to
reference it properly.
It's part of System Events:
tell app "System Events"
set visible of process "Mail" to false
end tell
Finding the path for files and folders is easy, but how do you
reference (find the path?) for a window?
Depends on the app... but that has nothing to do with hiding an app
(or are you changing the subject?)
-boo
PS. Please do not begin a new thread with "Re: "
(it sends me on a wild goose chase, looking for the original message)
_______________________________________________
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.