Jump to content

followgeo

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by followgeo

  1. Sorry for being vague. Basically I want the script to carry out a task, then time stamp when it should check back on that task and proceed with step number 2. While the script is waiting, I would like it to carry out other tasks and stop based on the time stamp for the first task and any other tasks being worked on. Not sure if that is better...
  2. Ok, I've been gone for a while, but I'm back and working on some project ideas. I've tried searching but I don't know if I'm using the right terms since I'm not strong in the autoit language. Anyway, can someone give me a hint so I can search properly for examples of this. I am trying to build an autoit gui that would handle multiple items that are time sensitive. I would like to track each process and return back to it after a set time. My head is spinning and I'm not sure how to handle this. I don't need an answer, but a general hint would work nicely. Thanks as always
  3. Thanks so much. I'll take a look around, and also read the wiki too. Thanks, geo
  4. Ok, I've tried the search, but my Autoit lingo may not be allowing me to pick up the proper terms to find this. If you have to just direct me to the term and I'll search the help file and the forums. But I'm looking to find examples of how to properly handle multiple gui windows. For example, in a project I'm working on I have one main window, and if you click a button it 'hides' the main and opens the next window. Now in my code, I'm creating all the windows and hiding them. Is that the proper way to handle this? Or should they be created when needed? geo
  5. Crap. Again, the help file saves the day. MouseCoordMode would probably be what I'm looking for. Sorry for the trouble.
  6. Ok, maybe I'm understanding the purpose of the GuiCoordMode. I thought that would tell it how to calculate coordinates. I would like the coordinates for mouse clicks to be calculated based on the gui and not on the entire screen. I hope I have my terminology correct (still learning).
  7. Well, I wanted it to use the coordinates in the window and not from the screen, so that the gui could be moved around. I just don't understand why that would break displaying the buttons from the browser demo. Strange, but I'm sure someone understands it.
  8. I'm using the sample provided in the help file for creating my own browser. I want to record coordinates the user clicks later on, but I'm experimenting with the GUICoordMode so that I can better understand how it works. When I set the mode to 1, everything works fine, but when I set the mode to 0 all the buttons except for 1 disappears. Any help would be appreciated. I'm trying my best to learn from the help file, but I'm stuck on this one.
  9. The forum search gods have worked again! Thank you for this post. Just saved me huge headaches. =)
  10. No, that was a sincere thank you.
  11. Just wanted to drop a thank you for all the long term forum members. I just started a few weeks ago and have been lurking in the forum. I'm saying thank you, because your persistent instructing people to use the search feature and the help file has paid off. I have learned so much by using these features and being reminded during my own searches and reading of topics. Keep up the good work. I've been using sample code and tinkering around now for a couple days and it has already paid HUGE dividends in saving me time. So again, keep it up. For the new people and lurkers, I know it may seem harsh, but these guys know what they are talking about. You can learn a lot by using the help file and doing some basic searches. I think the hardest part has just been trying to learn some of the lingo. Like using 'string' instead of 'text', and getting use to creating and using functions. Anyway, enough rambling from me. Thanks a bunch. geo
  12. Thanks for the warning. I figured naming a specific game could be a problem so I did not. Thanks for correcting my function! Like I said, just starting and was trying to tinker.
  13. Ok, yeah so you've heard it before.. another newb trying autoit. I've been paying attention and the help file has become my friend. I've also been searching alot on the forums and have learned a bunch. I'm making a bot for a game I play which will remain unmentioned. I have a gui working where it grabs the mouse coordinates and displays them in a msgbox for me for testing. I then set a button to click the same coordinates when pressed and then a message box pops up to confirm the coordinates again for me. Like I said, just learning and trying to learn by testing. The problem is when I click the button that mimics clicking my coordinates the mouse just goes to the top of the screen. I've set the mousecoordmode to 1 so that it is relative to the screen. The mouseclick function I'm using is below. Not asking for the code, but can someone point me in the right direction. Is there a mode setting I'm missing? Not sure where to look next. func testit() mouseclick("left", $xcapture & "," & $ycapture,1) msgbox(0,"coordinates:", $xcapture & "," & $ycapture) EndFunc
  14. Life saver! Absorbing the knowledge. Thanks a million!
×
×
  • Create New...