Jump to content

MaybeTomorrow

Members
  • Posts

    6
  • Joined

  • Last visited

MaybeTomorrow's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I put the +30 at the second coord though
  2. To automate some mundane tasks at work i've created a script that finds close buttons Using pixelsearch i store a variable of where to click then i use a mouseclick MouseClick("left", $Clickt[0], $Click[1]) Is there anyway to apply math to this? I need to click about 30 pixels lower Thanks for all the help so far, this one should be easy for you guys
  3. Thank you very much This is exactly what I was looking for.
  4. Hello everyone, I've been using autoit to write scripts and now that i have a set of working templates, i'd like to be cleaning them up. I need some help on the following: The script i wrote interacts with flash and my close window part is this: (the location of the close window button varies, that's why i'm using a pixelsearch) $point = PixelSearch( 900,15,1500,375, 15329512) If IsArray($point) Then MouseClick("left", $point[0], $point[1]) sleep(1000) EndIf sleep(100) I'm using this bit of script a few times in my script and i wonder if i can call it like a variable or function instead of copy pasting it a bunch of times. The script is working fine, but i'm a perfectionist and i think i skipped a few subjects on calling functions. I'm preparing to be amazed by your knowledge
  5. Excellent, thank you so much for your reaction, will try to use it, My default browser is Chrome, but let me see if i can workout if IE works. I've also read the forum rules and see what you are referring to. *noted* My main objective is to learn programming in autoit, since it was adviced to me over C++ and the like. For my job i sometimes have to do alot of repeat work and testing, i'm looking to speed that up.
  6. Hi everyone, this is my first post on the forums. I came across autoit when looking for a way to automate certain actions. I've done quite a few mouseclick-send-sleep-loops, but it's time for me to start scripting properly I'm having trouble findding the correct helpfile on how to find cetain objects in browsers and then interact with them. I've really tried to tackle this by myself, but the time has come to ask for help. i'm looking to: - Identify a specific text or object in my browser and click (or otherwise interact) (think of buttons or text in a browser, flash objects etc) Could someone pls forward me to the right direction on where to find/how to do this?
×
×
  • Create New...