Forked from vitorgalvao/Right Click.applescript
Created
March 31, 2020 06:35
Revisions
-
vitorgalvao revised this gist
Mar 20, 2017 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,11 @@ (* Even though a [native solution][1] exists, it still suffers from a big flaw: it right-clicks the place you cursor is, not what you’re selecting. This addresses that limitation. You can install this as a [Finder Service, and later asign it a keyboard shortcut][2]. [1]: http://stackoverflow.com/questions/9171613/right-click-shortcut-for-mac-lion-os [2]: http://www.macosxautomation.com/services/learn/tut01/index.html *) -
vitorgalvao revised this gist
May 14, 2014 . 1 changed file with 9 additions and 5 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,9 +6,13 @@ You can install this as a [Finder Service, , and later asign it a keyboard short *) tell application "System Events" to set frontApp to name of first process whose frontmost is true if (frontApp = "Finder") then tell application "System Events" tell application process "Finder" set _selection to value of attribute "AXFocusedUIElement" tell _selection to perform action "AXShowMenu" end tell end tell end if -
vitorgalvao created this gist
Sep 22, 2013 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ (* Even though [a native solution](http://stackoverflow.com/questions/9171613/right-click-shortcut-for-mac-lion-os) exists, it still suffers from a big flaw (it right-clicks the place you cursour is, not what you’re selecting). This addresses that limitation. You can install this as a [Finder Service, , and later asign it a keyboard shortcut](http://www.macosxautomation.com/services/learn/tut01/index.html). *) tell application "System Events" tell application process "Finder" set _selection to value of attribute "AXFocusedUIElement" tell _selection to perform action "AXShowMenu" end tell end tell