Hiding an App

Is there anyway to have applescript tell an application to hide?

NOTE: I cannot use command-H as I have changed the app so that it is not shown in the dock, which consequently causes the menu bar to disappear… So this would need to be a process, I guess, but don’t know.

figured it out…

tell application “System Events” to set visible of process “VPNClient” to false

if you are interested