Boblinski Posted August 31, 2011 Share Posted August 31, 2011 So I'm only just learning to use AutoIt but have a small script I am trying to run. This is the entire script: Sleep(4000) MouseClick("left",816,688,2) sleep(1000) MouseClick("left",816,200,2) Now, I want to use this in a game I am playing (I plan to make the script much larger and loop etc). However.. If I run the script and leave it to run by itself... it moves my mouse to 816,688... then to 816,200 and all is OK! But, if I run the script, and quickly (well within the sleep4000 time frame) switch over to the game window.. the mouse does not move nor click... the script stays open in the system-tray for the full length.. then closes... but NOTHING has happened. Please help asap.. I am itching to start developing my scripts. Thanks,' Bob. Link to comment Share on other sites More sharing options...
monoscout999 Posted August 31, 2011 Share Posted August 31, 2011 (edited) Sorry but we don`t discuss anything related to games in this forum... read the forum rules, and i hope that if you have a non-game-related issues come back here. Edited August 31, 2011 by monoscout999 Link to comment Share on other sites More sharing options...
Boblinski Posted August 31, 2011 Author Share Posted August 31, 2011 Oh, man. Real sorry. Just have no idea what to do and it sucks. Link to comment Share on other sites More sharing options...
wakillon Posted August 31, 2011 Share Posted August 31, 2011 Sorry but we don`t discuss anything related to games in this forum... read the forum rules, and i hope that if you have a non-game-related issues come back here. @monoscout999 It's not exact.If you have create an AutoIt game you can talk about it, but it's no longer allowed to talk about any game automation. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Boblinski Posted August 31, 2011 Author Share Posted August 31, 2011 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 Link to comment Share on other sites More sharing options...
JohnOne Posted August 31, 2011 Share Posted August 31, 2011 No you dont have to beg, you just need to read the forum rules And if you dont think they apply to you, then post why you think that. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted August 31, 2011 Moderators Share Posted August 31, 2011 (edited) @Boblinski - If your persistence continues I will be forced to remove you. Edited August 31, 2011 by big_daddy Link to comment Share on other sites More sharing options...
Recommended Posts