Everyone knows about the “hide” command or “Command & H” keyboard command for the finder. My question being, is there an applescript command for it? I’ve tried “hide” in and out of tell blocks without success.
Here is an example:
tell application "iTunes" to launch
tell application "System Events"
set visible of application process "iTunes" to false
end tell
ThankyouThankyouThankyou!!! I had been using distiller in one of my scripts and it wouldn’t go away.
![]()
No problem.
Another way is
tell application "System Events"
keystroke "h" using command down
end tell
which I would have put in my first post, but I had to figure out why it would’t work - I typed “with”, not “using” :rolleyes: