First, when using a Numpad hotkey that requires the shift key, the output is shifted. However, other shifted keys work fine.
Hitting shift-Numpad1 results in an all-caps output:
Code: Select all
NumpadEnd::
Send, hello world
return
Hitting shift-4 for the dollar sign outputs as expected:HELLO WORLD
Code: Select all
$::
Send, hello world
return
Is there a way to have this output not being affected while using the shifted numpad events?hello world
Second, I was wondering if there's a way to output a literal string that contains special characters without having to escape them. In some programming languages you can use single quotes, but that doesn't seem to help. The following fail:
Code: Select all
^1::
Send, hello%world
return
^1::
Send, "hello%world"
return
^1::
Send, 'hello%world'
return
Code: Select all
; With variable
world := "hello%world"
^1::
send, %world%
return
; Expression format
^1::
Send % "hello%world"
return
Thank you.