How to "Hide" an Application using AppleScript

An example of how to hide FileMaker Pro as if you had chosen "Hide FileMaker Pro" in the Application Menu

This information was provided by Claris Corporation on 16 March 1998, and incorporated into Apple Computer's Tech Info Library.

It is possible to hide an application (and it's open windows) by selecting "Hide [appname]" from "the application menu" in the menu bar. The application menu is the right-most menu, to the right of the help menu, and is always present.

However, it may be desirable to script the hiding of an application. The following AppleScript can be used in various situations to aid in this automation. In FileMaker Pro, this can be used in a "Perform AppleScript" step in a ScriptMaker script.

tell application "Finder"
set visible of process "FileMaker Pro" to false
end tell
Published Date: Feb 18, 2012