; ---------------------------------------- ; ; Gordon's Lightroom 2.0 Shortcuts Aug-22 2008 ; www.night-ray.com ; ; Modifié et traduit par Ludovic LEMARINEL ; l.lemarinel@gmail.com ; Permet d'utiliser le pavé numérique pour un développement rapide des photos ; Il n'est plus possible d'utiliser le pavé pour affecter des notes ; ; NOTE: NumLock doit être allumé, sinon cela ne fonctionne pas ; ; ; SetTitleMatchMode,2 ; ; ; *** RACCOURCIS du module DEVELOPPEMENT *** ; #IfWinActive, Lightroom - Dévelop NumpadDot:: Send ^!{Numpad1} ; Retourner au module Bibliothèque Left:: Send ^{Left} ; Gauche/droite : Photo suivante/précédente Right:: Send ^{Right} ; numpad6:: lrdAddBig(09) ; 6/4 - Exposition 1/3 IL numpad4:: lrdSubBig(09) ; ^numpad6:: lrdAdd(09) ; Ctrl 6/4 - Exposition 1/10 IL ^numpad4:: lrdSub(09) ; numpad3:: lrdAddBig(14) ; 3/1 - Contraste +/- 20 numpad1:: lrdSubBig(14) ; ^numpad3:: lrdAdd(14) ; Ctrl 3/1 - Contraste +/- 5 ^numpad1:: lrdSub(14) ; numpad9:: lrdAddBig(04) ; 7/9 - Temp. de couleur +/- 200 numpad7:: lrdSubBig(04) ; ^numpad9:: lrdAdd(04) ; Ctrl 7/9 - Temp. de couleur +/- 50 ^numpad7:: lrdSub(04) ; NumpadAdd:: lrdAddBig(13) ; +/- - Luminosité +/- 20 NumpadSub:: lrdSubBig(13) ; ^NumpadAdd:: lrdAdd(13) ; Ctrl +/- - Luminosité +/- 5 ^NumpadSub:: lrdSub(13) ; numpad5:: Send ^u ; 5 - Tonalité Auto NumPad0:: Send ^{Numpad0} ; 0 - Afficher/Masquer Histogramme ;NumPadMult:: lrdAdd(05) ; - Teinte ;NumPadEnter:: Send ^!v ; Enter - Coller reglages précédents ; lrdAdd(delta) { instance := lrGetControl( Static, 6, "Traitement", delta ) ControlClick, Static%instance% Send {=} } lrdSub(delta) { instance := lrGetControl( Static, 6, "Traitement", delta ) ControlClick, Static%instance% Send {NumpadSub} } lrdAddBig(delta) { instance := lrGetControl( Static, 6, "Traitement", delta ) ControlClick, Static%instance% Send +{NumpadAdd} } lrdSubBig(delta) { instance := lrGetControl( Static, 6, "Traitement", delta ) ControlClick, Static%instance% Send +{NumpadSub} } #IfWinActive ; ; *** LIBRARY SHORTCUTS *** ; #IfWinActive, Lightroom - Biblio Left:: Send ^{Left} ; Gauche - Photo precedente Right:: Send ^{Right} ; Droite - Photo suivante numpad6:: lrlClick(03) ; 4 : Exposition - 1/3 IL numpad4:: lrlClick(02) ; 6 : Exposition + 1/3 IL ^numpad6:: lrlClick(04) ; Ctrl+4 : Exposition - 1 IL ^numpad4:: lrlClick(01) ; Ctrk+6 : Exposition + 1 IL numpad7:: lrlClick(-7) ; 7 : Color Temperature - numpad9:: lrlClick(-6) ; 9 : Color Temperature + ^numpad7:: lrlClick(-8) ; Ctrl+7 : Color Temperature -- ^numpad9:: lrlClick(-5) ; Ctrl+9 : Color Temperature ++ numpad5:: Send ^u ; 5 : Tonalité Auto NumpadDot:: Send ^!{Numpad2} ; Point - Retourner au module Developpement NumPad0:: Send ^{Numpad0} ; 0 - Afficher/Masquer Histogramme ; lrlClick(delta) { instance := lrGetControl( Button, 6, "Tonalité auto.", delta ) ControlSend, Button%instance%, {SPACE}, ahk_class AgWinMainFrame } #IfWinActive ; ; Fetch the Control Instance using Type, Title, and Instance Delta ; lrGetControl( type, typeLen, title, delta ) { global lrLastTitle, lrLastCBase, lrLastCache ; if (lrLastTitle = title and lrLastCache > A_TickCount ) { ; Cached! Saves time. return lrLastCBase + delta } else { WinGet, ActiveControlList, ControlList, ahk_class AgWinMainFrame Loop, Parse, ActiveControlList, `n { IfInString, A_LoopField, %type% { ControlGetText, text, %A_LoopField% IfInString, text, %title% { StringMid, controlbase, A_LoopField, typeLen+1 lrLastTitle := title lrLastCBase := controlbase lrLastCache := A_TickCount + (120*1000) return controlbase + delta } } } } return 999999 } ; ; End ; ----------------------------------------