I'm gonna first say I was bed ridden Friday with a 110 temp and throbbing headache... I'm not really feeling the utmost best so PLEASE just help me out... And no, the _IsPressed is not anywhere to be found... I searched on the AutoIt forums and the AutoIt help file... There are no guides on how to use this so I have NO idea what it does inside the ( )... And yea MouseClicks are the most easiest functions of AutoIt but there is no guide anywhere that deals with mathematical functions on how to get closer and closer to a coordinate that is far away... I don't think I could just do this code because it wouldn't be able to search that on the conquer screen with just a MouseClick function:Quote:
Ok, sounds as if you havent looked at AutoIt at a while (more than me because Ive been away from it for more than 4 months).
I would suggest you look in the help file for all functions you are needing help with. MouseClick is one of the basic simple functions of AutoIt and it can easily be understood through the help file.
As for IniReading, use the "IniRead" function. Yes the file saves to the same directory as the Compiled Exe but that can easily be changed.
Ive already put in comments the explanation about the [ACTIVE] title...but ill explain it again.
Your script will...
[ACTIVE] is a title which (inside the program) find the Title of the ACTIVE WINDOW!!Code:Wait until an instance of conquer is "Active" Wait a few seconds Then Change the title of the "[ACTIVE]" window to the variable $clients
Thought Id put Exclamation marks for Importance xD
With _IsPressed....Once again, Look in the Help File!!! Its your best friend with learning AutoIt...Its the only way I taught myself.
User32.dll also comes with every computer.
With $nMsg stuff, look through the help file on GUI. Also please read my guides on AutoIt as you seem to be very rusty at GUI.
[Only registered and activated users can see links. Click Here To Register...]
The function your friend put in there basically made a message pop up after all the x and y coordinates were gathered displaying "Do you want to close this program". His script also grabbed the x and y values in a matter of seconds, not giving the user time to place the character in the correct coordinates. My method incorporates the user to click, and when they do it records the coordinates.
I could go on for a long time, but this project would pretty much become my own, Ive got to leave you to do some research by yourself on the functions of AutoIt. Look through the Help File, look through my tutorials and UPSMans and ask and read questions on the AutoIt forums.
Any other questions I will be able to help you with, but when it comes to questions which suggest that I need to pretty much make a new concept I really cant help at the moment because Im about to face my Final Year Exams. Studying like crazy atm...
Maths Methods, Specialist Maths, English, Physics, Chemistry.
GAH!! got to get 70% or over for Methods, Physics and Chemistry... Should be easy though.
Hope that info helps you out a bit.
Hiyoal
Code:
If $pointx < Or > $readx Then
Send({Ctrl})
MouseClick("left", $readx[0], $readx[0]) <-- First X coord on the Ini
EndIf
Also MouseClick("left", $readx[0], $readx[0])... How would this be able to read the Ini file that [0] is the first x written down, [1] is the second written down, [2] is the 3rd written down, and so on... Does the Ini file assign [0] (etc) to each new x that is put in there?
None of this stuff is anywhere that I can read up on so thats why I NEED your help... I only have a few things left and I'll leave you be... I just expect help on these last few things and I'll be on my way... I would think you, being an AutoIt coder and a Mod, would be more than happy to help a noob coder as myself, but I guess I could be wrong. :S