wyvernx wrote:using SentKeys in the exhume api:
+ = shift
% = alt
^ = control
so SendKeys("^{F1}") will press CTRL-F1, etc.
OK- I spoke too soon about this...having a small issue-
The above does work when sending CTRL-FKeys, but does not seem to work attempting to send something like CTRL-1:
SendKeys("^{1}") or SendKeys("^1")
such as would be done/needed to execute/press a hotbar button... The "1" in both examples gets sent, but without the CTRL. How can I get the CTRL to send as well, when it's not an F-Key? I've tried with brackets, without, with space, etc. etc. and have not hit on what works....
I could go back using virtual keys...which was working- like this:
Sleep 100
keydown(vk_lcontrol)
Sleep 100
SendKeys("1")
Sleep 100
keyup(vk_lcontrol)
Sleep 600
....but if I can trim it down to one line somehow, obviously would like to do that.
...also would like to report no crashes to speak of (running under XP).