If the applications are the kind that are "packages", it should be possible to change them to "background" apps by adding a '
LSBackgroundOnly' key (with a string value of "1") to their "Info.plist" files. If the application does require some user interaction, such as presenting dialogue boxes, the '
LSUIElement' key would probably be a better choice (no "Dock" icon or application specific menu). For programmes that aren't "packages", the same thing might be possible by editing its "plst" resource in the resource fork. For more information on the keys, see
this document.
To modify the "Info.plist" file, control-click the programme's "Finder" icon and choose "Show Package Contents" from the contextual menu. Navigate through the "the.app" > "Contents" folder, and open the "Info.plist" file in a text editor. Apart from a few keys with values consisting of "arrays" or "dict"(ionary) entries, most of the file's contents should consist of two line "key" - "value" pairs. Without interupting an existing "key" - "value" pair, insert these two lines and save the changes:<pre> <key>LSBackgroundOnly</key>
<string>1</string></pre>Then open the "the.app" > "Contents" > "MacOS" folder, and double click the executable file (or if that doesn't launch the app, call it from the command line). This is one way to make "launch services" aware of the changes to the "Info.plist" file.
Note that by forcing the app to the background, you will lose the ability to quit it using the usual methods.
The above methods change the programmes so that running in the background is a property of the application. An alternative method (though not recommended) to temporarily hide a programme's "Dock" icon is to move the running application to a different folder, restarting the "Dock" (eg using "Activity Monitor.app", AppleScript or the command line) and moving the application back to its original location.