Jump to content

Boblinski

Members
  • Posts

    17
  • Joined

  • Last visited

Boblinski's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Of how @min, @hour etc work. Thanks heaps.
  2. Is there a function to stop and start a script from another script? Thanks.
  3. How I make a function where.. when the computer gets to 7:55pm... it closes down another function I have running... then at 8:35pm it opens the function back up again. I see there is a @hour time thing- but the help file has no description on how to use it nor any examples. Thanks.
  4. I just installed the exact same version of Agrimap Editor, and the exact same version of AutoIt onto an older PC running windows XP.... And on the older PC the MouseClicks and everything work...! The PC that I actually use (the one I have been struggling with) runs Windows 7. Are there any settings, or something that I might have installed (I have nothing out of ordinary... only running McAfee security), that could be causing the problems? Any help is greatly appreciated.
  5. The only thing I can get to record on it is: Easy Macro Recorder.. And this works on there: Wait 16 MouseMove 907,351 Wait 125 MouseMove 907,351 KeyUp Ctrl Wait 100 KeyUp Alt Wait 100 I know not the same coding system but it does work... but I wanna use autoit cause it has the pixels detect and stuff.
  6. I think the problem is that Agrimap won't let the commands work, how can I work around this perhaps?
  7. Thought it may be relevant to mention I am running Windows 7(64bit).. and the latest version of AutoIt
  8. WinActivate("Agrimap Editor") SLeep(4000) ControlClick("Agrimap Editor","","","left",2,147,147) How about that? Cause it's still not working.
  9. *bump* sorry, really want to start working on this.
  10. *bump* sorry, really want to start working on this.
  11. I am trying to use a map editor used in farming industry in New Zealand.. Argimap Editor. When I use Au3Record on anything other then Agrimap.. it records all my mouse movements, keyboard strokes etc etc. But when I try to record using Au3Record on the Agrimap program.. it doesn't record anything.. I think the software was developed in C++ and Delphi (cannot be certain sorry.. dont know much about this stuff). Any ideas on how to get Au3Record to work ?
  12. Okay, just got home. The actual script I have been trying is: WinActivate("Agrimap Editor") Sleep(6000) MouseClick("left",200,600) sleep(500) MouseClick("left",850,300) This brings the editor to the forefront of my PC... but then the mouse just sits still. After about 5 seconds the system tray icon at the bottom right disappears. I have tried what you said about the ControlClick.. but I am not sure how exactly to use the control click function.. So do I just put "Argimap Editor" for the title? Or do I use the Class from Basic Window Info?("Agr_Main") Also, do I need a "text" and controlID? And do I use the ControlClick Coords for x and y? This is what I tried... it compiled.. but didn't work: WinActivate("Argimap Editor") Sleep(4000) ControlClick("CLASS:Arg_Main","","left",2,147,147) ;double click in northwest corner Once again, this switches to Argimap but then does nothing.. after a bit the icon disappears from system tray.
  13. the program is a mapping program used in th i am not 100% sure but i believe it is written indelphi+java. however i have no knowledge of these. i am replying VIA cellphone so do not have exact code with me.. but in short hand i tried both: sleep4000 ;click to program heremouseclick(left,1000, 700) sleep2000 mouseclick(1000,30) in this example.. it works if i don't click into map program. winactivate(agrimap editor) sleep2000 mouseclick(1000, 700) sleep2000 mouseclick(1000,50) in this example it changes to the program then does nothing. thanks for your help. sorry for the messy cellphone replywZealanddairy and beef industry to map farmland.
  14. So I've started using AutoIt recently. I am having trouble getting it to work inside of several programs. At the moment I am trying to set up a design one for a drawing program to add dimensions onto certain spots etc and headers etc. For now though, I cannot get any script to work.. Even something simple like moving the mouse to top right, then bottom middle, then top left and click. The little script will work if I do not click over to (or WinActivate to) the design program.. however as soon as I change over to it... nothing happens, I have put sleeps before/between actions and it does not make any diff. Any reason why it wouldn't be working? Thanks for your help in advance!
  15. Do I have to beg? I just need a few ideas/opinions on what might be happening and what I should look into doing for a fix. Please please please
×
×
  • Create New...