Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut to call Focus-Points in LR #202

Open
poozu opened this issue Jan 27, 2025 · 1 comment
Open

Shortcut to call Focus-Points in LR #202

poozu opened this issue Jan 27, 2025 · 1 comment

Comments

@poozu
Copy link

poozu commented Jan 27, 2025

Hi,

if you need Focus-points frequently, you may want a shortcut to call Focus-points rather than going through the menues in Lightroom.
A good way for WIN users is to use Autohotkey (I recommend v1.1) and a small script:

SetTitleMatchMode, RegEx

+F5::Edit ; Shift-F5 launches the current AutoHotkey script in preferred editor, else Notepad
^F5::Reload ; Ctrl-F5 reloads the current AutoHotKey script after any edits.

; Require admin to run
if not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+
ExitApp
}

; ================
; HOW TO CUSTOMIZE
; ================
; 1. First, you must download and install AutoHotKeys on your system from https://www.autohotkey.com/
; 2. After installation, find the language below that matches your language setting in Lightroom
; 3. Change the hotkey code (the letters and symbols before "::") to the keycode you want to use
; Symbols to know: # = Windows logo key, ! = Alt, ^ = Control, + = Shift
; So, for example, if you wanted the hotkey to be "Ctrl X", the hotkey code would look like this: ^X::
; 4. After updating the hotkey, save the file, then double-click it to run it

; English
#IfWinActive Adobe.*Lightroom.*Develop
#F:: Send, {Alt down}f{Alt up}u{down 3}+{enter} ; WIN-F Show Focusfield ( edit {down x}, x for the number of downs needed to reach "Show Focus Points" menue entry)
#IfWinActive Adobe.*Lightroom.*Library
#F:: Send, {Alt down}l{Alt up}u{down 3}+{enter} ; WIN-F Show Focusfield ( edit {down x}, x for the number of downs needed to reach "Show Focus Points" menue entry)
Return

; German / Deutsch
#IfWinActive Adobe.*Lightroom.*Entwickeln
#F:: Send, {Alt down}d{Alt up}z{down 3}+{enter} ; WIN-F Show Focusfield ( edit {down x}, x for the number of downs needed to reach "Show Focus Points" menue entry)

#IfWinActive Adobe.*Lightroom.*Bibliothek
#F:: Send, {Alt down}i{Alt up}z{down 3}+{enter} ; WIN-F Show Focusfield ( edit {down x}, x for the number of downs needed to reach "Show Focus Points" menue entry)

Return

Copy-Paste above script in a textfile and name it Focuspoints.ahk.
Then simply run autohotkey and the script. (I autostart Autohotkey in WIN on startup, so I just need to start the script before I start Lightroom).

Now in Lightrrom just hit WIN-F to call Focus-points.
You may need to adjust the amount of downsteps to reach Focuspoints in the Plug-In Extra menue (in my case 3 downsteps are needed).

Feel free to copy this information somewhere else and close the issue, I just did not know how to otherwise share this information.....

@capricorn8
Copy link
Collaborator

Thank you for providing this useful tip!

AutoHotkey is certainly not for everyone, but it's the best way I know of to automate such tasks in Windows. I personally use it to automate everything in LrC (essentially launching plugins and external programs/editors) that goes beyond the capabilities of the great plugin Any Shortcut can do.

I am planning to setup a FAQ page soon, where I will mention this topic (and your tip for a solution) !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants