First time poster, but i've used a lot of help on this community to figure things out, but im stumped this time. So forgive me if im not clear or doing this right.
I'm a regular autoCAD user, and i do use autolisp alot too.
I can't write this code in autolisp as i want to use the {home} key to call the command.
so
Code: Select all
#IfWinActive ahk_exe acad.exe
$Home::
sleep, 100
sendinput TR
sendinput {enter}
sendinput {enter}
Input, SingleKey, L1, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
sleep, 50
Send, {esc}
sleep, 50
send, e
sendinput, {enter}
Input, SingleKey, L1, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
sendinput, {enter}
return