henchr Posted April 8, 2016 Share Posted April 8, 2016 Hi there! I'm trying to set up a Hide All script for the Remote, effectively hiding every app whose visibility is set to True and opening Home. So far it works every time with ScriptEditor, but when I put it on the System Command as a Open Script command, it works only slightly. Sometimes it just hides Messages, sometimes everything or sometimes it just doesn't care at all. I'm sure there's just something wrong with my coding/app/tech understanding. I'm using Murphy's HideAll tell application "Finder" set visible of every process whose visible is true and name is not "Finder" to false close every window open home end tell Hopefully some of you peeps know what's best. Link to comment
Weaselboy Posted April 8, 2016 Share Posted April 8, 2016 tell application "Finder" to activate tell application "System Events" tell application process "Finder" tell menu bar 1 click menu item "Hide Others" of menu of menu bar item "Finder" click menu item "Minimize All" of menu of menu bar item "Window" end tell end tell end tell I have this in a workflow and it works every time. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now