I'm using Adobe Reader and Bluebeam Revu to view pdf files.
My default program is Adobe, but I would like to open pdf files in Revu when I ctrl+double click on them.
This however has proven beyond my ahk capabilities.
So I figured I would do it the "easy" way and just use the MouseMove function to right click and "open with".
So far I have this script:
^~LButton:: If (A_TimeSincePriorHotkey<400) and (A_TimeSincePriorHotkey<>-1) Click Right MouseGetPos, PosX, PosY ; Save current mouse-curser position BlockInput On ; Disables manual mouse movement during this function MouseMove, 10, 100, 50, R ; MouseMove, 100, 0, 50, R Click ; Left click MouseMove, %PosX%, %PosY%, 0 ; Move mouse-cursor back to original position BlockInput Off ; Enables manual mouse movement again Return