Log in

View Full Version : More problems with AutoHotKey...



Memooselah
11-17-2007, 12:04 AM
This keeps telling me there's an invalid parameter #1 when I try "Run Script" from explorer...

[code:1]
Control & Alt & Shift & 1::
#IfWinActive, World of Warcraft
{
ControlSend,, {control down}{alt down}{shift down}{1 down}{1 up}{shift up}{alt up}{control up}, ahk_id %wowid1%
ControlSend,, {control down}{alt down}{shift down}{1 down}{1 up}{shift up}{alt up}{control up}, ahk_id %wowid2%
ControlSend,, {control down}{alt down}{shift down}{1 down}{1 up}{shift up}{alt up}{control up}, ahk_id %wowid3%
}
Return
[/code:1]

Can anybody help me?

-Memooselah

sherkas
11-17-2007, 01:56 AM
try ControlSend, "",

or controlsend, 0,


using controlsend,,

(two commas) is not a valid null value in most scripting + programming languages