potential docs issues
Posted: 14 Aug 2017, 16:17
I don't know where to post this, there seems not to be a subforum regarding documentation issues/discussions (or I did not find it). please move this if necessary.
I noticed this code does not work (as intended), because the directive/ahk_class seems to be case-sensitive.
Changing notepad to Notepad will fix the "issue". in the docs neither the #IfWinActive nor the section about ahk_class will mention this (case-sentiveness) (or at least i did not find a corresponding entry).
from what i know many/most commands are case-insensitive so i believe this should be mentioned.
also i noticed {return} is equivalent to {enter}.
I noticed this code does not work (as intended), because the directive/ahk_class seems to be case-sensitive.
Code: Select all
#IfWinActive ahk_class notepad
^t::
MsgBox you pressed ctrl+t inside notepad
Return
#IfWinActive
from what i know many/most commands are case-insensitive so i believe this should be mentioned.
also i noticed {return} is equivalent to {enter}.
i did not find anything about {return} in the documentation.^+1::
SendInput, hello {return} you
Return