well, I tryed to use this with RS window client and on browsers, one problem is in "finding RS window", in source code (of this scrip) is the Error which prevenst using Hotkeys while there is no RS window (Thats good itself), but I dont know where is mistake
look here
Code:
SwitchToWindow() { ; Switches to the RuneScape window
global WinTitle
IfWinExist, %WinTitle%
{
WinActivate
return 1
} else {
return 0
}
}
GetAppletPos: ;Gets the position of the RuneScape applet
if (SwitchToWindow()=0) {
MsgBox, Could not find the RuneScape window. Make sure if you have multiple tabs open in your browser that the RuneScape tab is currently active, or open RuneScape in a new window.
return
}
SplashTextOn, 200, 50, Applet Position, Please click anywhere inside of the RuneScape applet
WinMove, Applet Position, , 0, 0
KeyWait, LButton, D
MouseGetPos, , , , applet
ControlGetPos, appletX, appletY, , , %applet%, %WinTitle%
SplashTextOff
return
If you were looking for Runescape Macro, I have bad news for you:
Official Runescape Window Client blocks any Hotkeys and Macro, or at least common makro that you can programm with AutoHotkeys, blocks MouseMove, Click, Send, pressing any hotkey like Alt-A, Ctrl-D or any combinations, and much more.
I have read that RS won legal dispute agains some Bot AI software company/organisation/whatever, and "probably" RS have changed source code to disable makros and smthng. It was called "Bots wiped" day, or something like that.
Anyway, if you really want to use Macro for Runescpape, use Browser. And write your own code, and be sure you Dont use your Browsers hotkeys,