Godmode111 Posted January 22, 2011 Posted January 22, 2011 I was wondering if there was a way to have this script running on a game (Darkfall Online) while minimized but not effecting the rest of my PC so i can play other games. Currently how its set, HOME key = Start, END key = End. This effects any application you're on, so i cannot minimize my game and do other stuff. It currently presses (1)then Left click. ® then Left click, (3) then Left click then sleep, LOOP. Thanks! *********************************************************************** HotKeySet("{HOME}" , "_Start") HotKeySet("{END}" , "_Exit") While 1 WEnd Func _Start() While 1 Sleep(100) For $i = 1 To 2 Step +1 MouseClick("left" , Default , Default , 1 , 0) Sleep(500) Next Send("1") Sleep(250) For $i = 1 To 1 Step +1 MouseClick("left" , Default , Default , 1 , 0) Sleep(1000) Next Send("r") Sleep(250) For $i = 1 To 1 Step +1 MouseClick("left" , Default , Default , 1 , 0) Sleep(1000) Next Send("3") Sleep(250) For $i = 1 To 1 Step +1 MouseClick("left" , Default , Default , 1 , 0) Sleep(2000) Next Sleep(100) WEnd EndFunc Func _Exit() Exit EndFunc
AdmiralAlkex Posted January 22, 2011 Posted January 22, 2011 Hi and Welcome to the forums! Read the announcement, we don't automate games here. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Recommended Posts