- edited description
- changed title to DirSelect and FileSelect not working from hotkey call.
DirSelect and FileSelect not working from hotkey call.
Issue #48
closed
This code throws no error in Keyview. Pressing the hotkey (Ctrl-Alt-Win-/) causes Keysharp to freeze, and it must be killed manually.
^#!/::
{
TopMenuFolder := DirSelect("C:\Users\" A_UserName "\Documents")
MsgBox(TopMenuFolder)
}
Without a hotkey the code runs properly, as below:
TopMenuFolder := DirSelect("C:\Users\" A_UserName "\Documents")
MsgBox(TopMenuFolder)
FileSelect exhibits similar behavior. The code below runs from AHK, but freezes Keysharp, no errors.
^#!/::
{
MyFolder := FileSelect("D", "C:\Users\" A_UserName "\Documents")
MsgBox(MyFolder)
}
Comments (4)
-
reporter -
reporter Fixed with latest commit, thanks! Closing.
-
reporter - changed status to resolved
Resolved.
-
reporter - changed status to closed
Closed.
- Log in to comment