[Question] AutoHotKey

02/25/2014 14:38 DewAdux#1
Hello, I have a little script, basically its like button holder / presser. It holds a button 1 (usage: spell casting). But it doesn't work on kal. Could some one tell me what is wrong, or do I need to identify program ID and include it to program so it would operate in it?

It looks like this and it works everywhere else (holds number 1)

----------

$1::

toggle := !toggle

if toggle = 1

settimer, function, 10

else

settimer, function, off

return

function:

send 1

return


----------


any answer will be appreciated.
Kind regards
02/25/2014 16:39 frnkrr#2
Autohotkey scripts will only work if you run the script as admin. (right click the script)
Also i use AHK myself and i dont recognize your code as i use them.
02/25/2014 17:04 DewAdux#3
Quote:
Originally Posted by frnkrr View Post
Autohotkey scripts will only work if you run the script as admin. (right click the script)
Also i use AHK myself and i dont recognize your code as i use them.
Well, just copy this code and try it out. Its just holds button '1'. Works everywhere except on Kal Window.
02/25/2014 21:49 frnkrr#4
Yes, your right.
It works fine for me in Kalonline.

You sure you Right click the script and run it as admin?

(you can test this also maybe it works somehow, you never know)

F11::
IfWinExist, KalOnline

Loop
{
ControlSend ,, {1}, KalOnline
}

F12::Pause, Toggle, 1
02/25/2014 21:52 KillerExtreme#5
64 bit system? on 32 bit the Hs blocking it
02/27/2014 10:31 DewAdux#6
any1 got a script to share for MA? GC / rebuff time? Or any useful tips on AHK ? Im just started. Any tips are welcome and appreciated, thanks.
02/27/2014 13:17 valzzz40#7
Keyboard operating method for hunting has been changed to its former condition. :)
02/27/2014 20:48 DewAdux#8
yeah, thread can be closed..