omairhe Posted October 5, 2016 Posted October 5, 2016 Hey everyone. I've just installed autoit for the first time and I was just hoping if someone could help me here.. What I need is a script that should run only on Google Chrome 64 bit on a windows 10 machine. The Script should do this => If mouse X and Y movements are idle for 0.5 seconds then do keyboard shortcut = Alt+a . However when not idle for 0.1 microseconds then press Alt+z instead. That is it . So everytime mouse is idle throw in Alt+a once then when not idle throw in Alt+z once and when again idle then throw Alt+a once. and so on.... Will appreciate any help. Thanks.
Moderators JLogan3o13 Posted October 5, 2016 Moderators Posted October 5, 2016 @omairhe welcome to the forum. What, exactly, are you trying to do? We have a Chrome UDF, and if you could explain what you're trying to accomplish on the web page, there is bound to be a better way than mouseclicks. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
genius257 Posted October 6, 2016 Posted October 6, 2016 (edited) Hi @omairhe. Maybe look into something like MouseGetPos and Send. Edit: If you want something to be done in the browser, maybe look into if some of this can be done in JavaScript? If it's not a page, you have access to changing the code, check out tampermonkey Edited October 6, 2016 by genius257 To show your appreciation My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now