back to finder, hide others

Can anyone tell me how to create a script that will allow me to go back to the finder and hide others?

Is this what you had in mind?

tell application "Finder"
activate
tell application "System Events"
keystroke "h" using {command down, option down}
end tell
end tell

I don't see a choice in the predefined action list for "tell application".

You requested a script, and in this case, it is an AppleScript. To proceed, please select the "Run AppleScript" action and copy the code into the designated field. You are welcome.

Thank you, thank you, thank you! I never would have found that myself. And the script works flawlessly!

1 Like