TheOneXarft Posted October 29, 2019 Share Posted October 29, 2019 Yea, so I tried to figure it out but failed many times so here I am, so, do you know how I could have the mouse go to the position of a pixel (that moves) as soon as it sees it ? Thx in advance Link to comment Share on other sites More sharing options...
junkew Posted October 29, 2019 Share Posted October 29, 2019 https://www.autoitscript.com/autoit3/docs/functions/MouseMove.htm make sure yoiu read the forum rules FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
TheOneXarft Posted October 29, 2019 Author Share Posted October 29, 2019 20 minutes ago, junkew said: https://www.autoitscript.com/autoit3/docs/functions/MouseMove.htm make sure yoiu read the forum rules Well, it is for easily opening files, for example, I drop a txt on my desktop and autoit opens it asap. That should not be against the rules. And yes, I know of that mouse move function, my problem is on how to make it move to the coordinates the just appeared pixels. Could you please help me with that ? Link to comment Share on other sites More sharing options...
Developers Jos Posted October 29, 2019 Developers Share Posted October 29, 2019 Why not simply monitor the desktop directory for additional txt files that conform the selection and then perform the task on that file? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
junkew Posted October 29, 2019 Share Posted October 29, 2019 @desktopdir is the macro with the foldername FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
TheOneXarft Posted October 29, 2019 Author Share Posted October 29, 2019 Because my mother said that she does not want anything on my pc that looks suspicious when she borrows it, yea she really borrows mine, but as long as I live under her roof I have to share and I don't really mind, but back to the topic, if something happens, and she does not see what she will flip out again, so if she sees her mouse jump to the new file, she will be at ease. That's why. So could you please help me ? Musashi 1 Link to comment Share on other sites More sharing options...
Developers Jos Posted October 29, 2019 Developers Share Posted October 29, 2019 (edited) Not making much sense there (for me) so have fun figuring it out. Jos Edited October 29, 2019 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 29, 2019 Moderators Share Posted October 29, 2019 38 minutes ago, TheOneXarft said: Well, it is for easily opening files, for example, I drop a txt on my desktop and autoit opens it asap. That should not be against the rules. And yes, I know of that mouse move function, my problem is on how to make it move to the coordinates the just appeared pixels. Could you please help me with that ? Sorry, I call BS. You're going to tell us that your Mom is not okay with the proper way to open files with a script, but would be okay with you doing a pixel search and mouse move? You are the only one in this thread thinking your story is believable. Thread is locked until you PM with an explanation (better make it a good one) of what you're really trying to do here. Nine 1 "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! Link to comment Share on other sites More sharing options...
Recommended Posts