Jump to content

mark76

Members
  • Posts

    7
  • Joined

  • Last visited

mark76's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, Im trying to create a simlar progam to the au3info.exe program that comes with autoit. It a gui that lets the user sample fragments of graphics from other parts of the screen. I cant figure out how to do it. The problem I have at the moment is as soon as I move the mouse outside the gui window of my program it cant sample things anymore. If I click it just selects the other application as an active window. I noticed that the au3info.exe program manages to do this ok. I'd love to see the source code so I can see how its done. Thanks, Mark.
  2. Hi, Im writing a gui and I want to be able to have the user select a screen area say 50x50 pixels click the mouse button and then have that graphic copied and pasted on to a gui window. From what I can tell im going to have to make some external calls to windows dlls . Can anybody help me out here with some examples. Im not familiar with windows dll programming. Thanks, Mark.
  3. Hi, Im trying to create an auto it GUI window that shows a 100x100 square of graphics around the current location of the mouse. I can't see any commands for put pixel or setpixel colour. Does anybody know how to do this ? Thanks, Mark.
  4. Hi, I want to be able to automate the filling out of of form fields within applications. You know when you install a new application and it asks you to put in your name, address etc ... The formats all vary slightly from application to application. For example some ask for age others have 3 fields for address while some have two. Are there any functions in autoit that allow me to locate fields within applications and fill them out. For example I could run down a list of 10 common details. Say number 1 search for first name if this field exists then put the value fred in it. number 2 look for middle name etc ... Thanks, Mark.
  5. Hi, Im new to Auto It . I've written a couple of simple programs to interact with some third party windows software. My program opens the software waits for the window to become active, moves the mouse over a few buttons with in the application and presses them. When the buttons are pressed the application has to go out across a network and connect to a server. This process takes a variable amount of time. To make the script work I have just stuck a couple of long sleep statements in there. The problem with this is that if the network was ever really really slow the program would fail. Is there a better way of doing this ? When the application is finished loading it comes back with a message window and an ok button but this all happens within the applications main window. In otherwords its not windows xp pop window like you see in word excel and IE. 1) Rather that moving the mouse to a fixed set of cordinates X,Y and hoping theres a button there to press is it possible to just say go to the button labled "Foooo" in window "barrr" and press it. 2) Is there a better way of figuring out when an application has finished doing something rather that just using a time delay and hoping. Thanks, Mark.
  6. That not really a very helpfull reply. I have a fair bit of programing experience mostly in C but I haven't really done anything much for five years. I was origanlly a coder but became a UNIX sysadmin 7 years ago and moved away from it. I ask the question in a general kind of a way because at this stage im after a high level desciption about what the language can and can't do. If people don't like the idea of internet casinos then why not making auto it play a game of solitaire. I've had a bit of a brief look at the language and written a couple of simple programs. So far I like it but if you take a look at my original question it can't be that hard to answer it can it ? Mark.
  7. Hi, I would like to automate a blackjackgame played via some internet casino software. Im trying to figure out the language that is going to be most suited to this task. AutoIT looks like it has all the functionallity to open the software select the blackjack game and press the buttons when I tell it to. The tricky part is grabing the graphical output (The numbers on the card graphics) that come back on the screen comparing them to a database of examples, deciding for example, the dealer has 7 and I have 16 and then using those numbers to look up a decision table and take the apropraite action. Press the hit button of the stand button etc ... What do you suggest for this project. Can it all be done in AutoIT ?. Mabey I could script all the actions like open program and press button in Autoit and write an exe in another lanuage that grabs the graphics on the screen, works out what they are and somehow passes the results to Autoit ? Or mabey there is a better language out there that it more suited to this task ? Thats for you advice . Mark.
×
×
  • Create New...