Thornhunt Posted February 18, 2009 Share Posted February 18, 2009 ok im wirting a new programm. its been a while since i have used autoit and i have learned many different scripts in the time (AS2, lil silverlight , VB) so my memory is a little jargoned so to speak can one of you guys be kind enuth as to reply with a : mouse move to cordinates ("rightXpixles" , "downYpixels") much apreciated in advance Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Link to comment Share on other sites More sharing options...
seandisanti Posted February 18, 2009 Share Posted February 18, 2009 okim wirting a new programm.its been a while since i have used autoit and i have learned many different scripts in the time (AS2, lil silverlight , VB)so my memory is a little jargoned so to speakcan one of you guys be kind enuth as to reply with a : mouse move to cordinates ("rightXpixles" , "downYpixels")much apreciated in advance Check the helpfile for MouseMove() Link to comment Share on other sites More sharing options...
JRowe Posted February 18, 2009 Share Posted February 18, 2009 You'll need MouseGetPos to get the current position. It returns an array, so set your variable like this: $currentPosition = MouseGetPos() $currentX = $currentPosition[0] $currentY = $currentPosition[1] From there, you can use this: MouseMove($X + $xMove, $Y + $yMove) Where $xMove and $yMove are the left/right and up/down number of pixels you want to move your mouse. Normally I wouldn't give a freeby like this, but the script in your sig is awesome. Welcome back, and good luck! [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
Thornhunt Posted February 18, 2009 Author Share Posted February 18, 2009 Check the helpfile for MouseMove() hmm ... i gotta redownload it XD (the help file it is)oh wells tnks i thought it was something more like getcordinates() XDtnkas again Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Link to comment Share on other sites More sharing options...
Ealric Posted February 18, 2009 Share Posted February 18, 2009 hmm ... i gotta redownload it XD (the help file it is)oh wells tnks i thought it was something more like getcordinates() XDtnkas again Click my signature for Mouse Location Pointer. It will help you get started on all of that. My Projects: [topic="89413"]GoogleHack Search[/topic], [topic="67095"]Swiss File Knife GUI[/topic], [topic="69072"]Mouse Location Pointer[/topic], [topic="86040"]Standard Deviation Calculator[/topic] Link to comment Share on other sites More sharing options...
Thornhunt Posted February 18, 2009 Author Share Posted February 18, 2009 (edited) //edit "fixed initial problem" !new one! ok i have searched the built in help file and found no results my problem is. using the pixeel color in my if statement. i dont kno how to present the RGB code in the "if $pix...." the color is simple due to it being plane black also a minor error pops up with my else Func LoadAfterCreation() $pixload = PixelGetColor( 1000, 760) If $pixload = "000000" sleep(1000) LoadAfterCreation() Else CharacterSetup() EndIf EndFunc //edit oncce again nvm i have fixed problem Edited February 18, 2009 by Thornhunt Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now