Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 21, 2011, 07:02 AM   #1
keaide
macrumors regular
 
Join Date: Nov 2010
MagicPrefs: Gesture to hide current app

Does anyone know how to define a gesture with MagicPrefs to hide the currently active app? It offers the possibility to hide "all other apps", but not the current one.

When I try to define a keyboard shortcut, pressing Command+h in the shortcut definition box actually hides the system preferences app, but does define the shortcut in the app.

Any ideas?
keaide is offline   0 Reply With Quote
Old Dec 9, 2012, 09:27 AM   #2
Gridl0k
macrumors newbie
 
Join Date: Dec 2012
...because I ran into this, and couldn't find an easy answer:

Save this as an AppleScript using AppleScript Editor (just paste it into the window):

Code:
tell application "System Events" to 
set visible of first application process 
whose frontmost is true to false
Open Magicprefs, choose the gesture you want to use (I went with 2 fingers swipe down), choose "Manage AppleScript Actions", choose the script you just saved.

Then go back into the gesture's drop down and the script should be listed at the bottom.

Bit of a long way round but works for me.

Last edited by Gridl0k; Dec 9, 2012 at 09:33 AM.
Gridl0k is offline   1 Reply With Quote
Old Jul 28, 2013, 01:38 AM   #3
webknows
macrumors newbie
 
Join Date: Nov 2010
Location: Sao Paulo, Brazil
Quote:
Originally Posted by Gridl0k View Post
...because I ran into this, and couldn't find an easy answer:

Save this as an AppleScript using AppleScript Editor (just paste it into the window):

Code:
tell application "System Events" to 
set visible of first application process 
whose frontmost is true to false
Open Magicprefs, choose the gesture you want to use (I went with 2 fingers swipe down), choose "Manage AppleScript Actions", choose the script you just saved.

Then go back into the gesture's drop down and the script should be listed at the bottom.

Bit of a long way round but works for me.
Thank you! I ran into the same "problem" and your solution worked like a champ for me.
webknows is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Magicprefs krawfo OS X Mavericks (10.9) 5 Dec 18, 2013 07:45 PM
New York Times Developing Gesture-Based News App for Leap Motion MacRumors Mac Blog Discussion 20 Jul 22, 2013 08:42 PM
Minimalistic Gesture-Controlled Weather App Haze Hits the App Store MacRumors iOS Blog Discussion 52 Feb 19, 2013 10:35 AM
SpeedGlow - a purely gesture based speedometer app Chewy Apps iPhone and iPod touch Apps 2 Aug 29, 2012 10:30 PM
Close app with gesture Husky1992 iPad 12 Jun 1, 2012 06:58 PM

Forum Jump

All times are GMT -5. The time now is 11:40 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC