Code: Select all
Run, %userprofile%\AppData\Local\Temp
I know about AHK variables A_... but I would like to know does AHK support Windows system paths.
Code: Select all
Run, %userprofile%\AppData\Local\Temp
Code: Select all
^2::Run, C:\Users\`%userprofile`%\AppData\Local\Temp
^4::
Run, explorer.exe,,,pid
; winwait doesn't really work with the pid to distinguish which window to target
; so I just wait 250 ms and hope it launches in time, becoming the most recent window
Sleep 250
Send ^l
Sleep 100
Send `%userprofile`%{Enter}
return
; the below didn't work in place of the normal Send. I used to be able to manipulate
; the toolbars like this, but only in SaveAs dialogs, not necessarily Explorer.exe
^6::
*/
ControlSend, ToolbarWindow323, ahk_exe explorer.exe
Sleep 250
ControlSend, ahk_parent, ^l, ahk_exe explorer.exe
Sleep 250
ControlSend, Edit1, `%userprofile`%{Enter}, ahk_exe explorer.exe
return
Users browsing this forum: Descolada and 317 guests