Jump to content

Recommended Posts

Greetings!

 

For people who miss Win+D feature of Windows OS.

 

Name:

Minimize all windows

 

Description:

Minimizes all windows, like Win+D does on Windows OS

 

Tips:

Set a desirable hotkey, like Ctrl+D

 

Download:

here

 

 

Awesome! 

Share this post


Link to post

Hi, first of all thank you very much.

 

Sadly it's not working for me on Mavericks.. any ideas?

tell application "Finder"
	activate
end tell
tell application "System Events"
	click menu item "Hide Others" of menu of menu bar item "Finder" of menu bar 1 of application process "Finder"
		--> error number -1728 from menu item "Hide Others" of menu of menu bar item "Finder" of menu bar 1 of application process "Finder"

Share this post


Link to post

 

Hi, first of all thank you very much.

 

Sadly it's not working for me on Mavericks.. any ideas?

tell application "Finder"
	activate
end tell
tell application "System Events"
	click menu item "Hide Others" of menu of menu bar item "Finder" of menu bar 1 of application process "Finder"
		--> error number -1728 from menu item "Hide Others" of menu of menu bar item "Finder" of menu bar 1 of application process "Finder"

 

 

try this instead:

on alfred_script(q)
	tell application "Finder" to activate
	tell application "System Events" to tell application process "Finder"
		click menu item "Hide Others" of menu 1 of menu bar item "Finder" of menu bar 1
		click menu item "Minimize All" of menu 1 of menu bar item "Window" of menu bar 1
	end tell
end alfred_script

Share this post


Link to post

 

try this instead:

on alfred_script(q)
	tell application "Finder" to activate
	tell application "System Events" to tell application process "Finder"
		click menu item "Hide Others" of menu 1 of menu bar item "Finder" of menu bar 1
		click menu item "Minimize All" of menu 1 of menu bar item "Window" of menu bar 1
	end tell
end alfred_script

 

 

Thanks linuslundahl, but that doesn't work either:

 

here is event track from applescript editor:

tell application "Finder"
	activate
end tell
tell application "System Events"
	click menu item "Hide Others" of menu 1 of menu bar item "Finder" of menu bar 1 of application process "Finder"
		--> error number -1728 from menu item "Hide Others" of menu 1 of menu bar item "Finder" of menu bar 1 of application process "Finder"

OSX 10.9

Alfred 2.1

Share this post


Link to post

Not working anymore for me. 

 

When not in Finder, after hitting my keyboard shortcut, a Finder window appears but "Hide" and "Hide others" are grayed out. 

When in Finder, after hitting my keyboard shortcut, "Hide" and "Hide others" become grayed out. 

 

Alfred 2.3

OSX Mavericks 10.9.2

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...