Hiding Apps using AppleScript
Just got this question from a friend. How Do I hide an App using AppleScript?
The easy answer is the following:
tell app "xyz" to set visible to false
Some applications, however (like FileMaker Pro) do not support this property, so more complicated measures have to be taken:
tell application "Finder"
if exists application process "FileMaker Pro" then ¬
set visible of application process "FileMaker Pro" to false
end tell
This has the additional advantage that it will do nothing if the application is not running.
(This is valid for OS X 10.2.6, not tested on other versions.)
Mac - posted on 6/27/03; 2:30:24 PM - Armin Briegel
Two great iChat AV Tips...
... can be found on Mac OS X Hints:
I find the ICQ thingie very interesting. However everybody I know who had ICQ has changed to iChat a while ago.
Mac - posted on 6/27/03; 2:25:03 PM - Armin Briegel