Jambaman Posted August 16, 2014 Share Posted August 16, 2014 (edited) How can I get my mouse moves from Co-ordinate to Co-ordinate to be instant? This is my script so far, updated HotKeyset("!a", "Click") Func $Click() Mouseclick("left" , 178, 215 ,1 ,0) Mouseclick("left" , 754, 351 ,1 ,0) Mouseclick("Left" , 390, 319 ,1 ,0) exit EndFunc While 1 Sleep(1) wend Edited August 16, 2014 by Jambaman Link to comment Share on other sites More sharing options...
water Posted August 16, 2014 Share Posted August 16, 2014 First you have to remove the [] from your code. They denote optional parameters. Jambaman 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 First you have to remove the [] from your code. They denote optional parameters. Ah Link to comment Share on other sites More sharing options...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 First you have to remove the [] from your code. They denote optional parameters. Hmm still the same speed after removed new code HotKeyset("!a", "Click") Func Click() Mouseclick("left" , 178, 215 ,1 ,0) Mouseclick("left" , 754, 351 ,1 ,0) Mouseclick("Left" , 390, 319 ,1 ,0) exit EndFunc While 1 Sleep(1) wend Link to comment Share on other sites More sharing options...
Solution JohnOne Posted August 16, 2014 Solution Share Posted August 16, 2014 Works fine for me. 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...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 Works fine for me. Does it move instantly to each Co-ordinate? Link to comment Share on other sites More sharing options...
JohnOne Posted August 16, 2014 Share Posted August 16, 2014 Yes. 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...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 Yes. Weird. Doesn't do that for me https://www.youtube.com/watch?v=1TxKW_jaGr0&feature=youtu.be Excuse the sound, didn't know it was recording hahah Link to comment Share on other sites More sharing options...
water Posted August 16, 2014 Share Posted August 16, 2014 What do you try to achieve? Which program do you try to automate? MouseClicks are depandant on screen size and Window position. Most of the time there are more reliable ways to do what you want to do. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 What do you try to achieve? Which program do you try to automate? MouseClicks are depandant on screen size and Window position. Most of the time there are more reliable ways to do what you want to do. I am trying to create 3 quick-succession clicks at different co-ordinates in a program that is against the rules to automate so I will pretend it's paint What could be a more reliable way of achieving this? Link to comment Share on other sites More sharing options...
PainTain Posted August 16, 2014 Share Posted August 16, 2014 In the video it can be seen that the filepath is ...crs botsSkem.au3 Please read the Forum rules. Link to comment Share on other sites More sharing options...
water Posted August 16, 2014 Share Posted August 16, 2014 Reported. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 Gotta work it out for myself then I guess Link to comment Share on other sites More sharing options...
Jambaman Posted August 16, 2014 Author Share Posted August 16, 2014 Fixed it. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 16, 2014 Moderators Share Posted August 16, 2014 Jambaman,In 19 posts you have had 2 locked game-related threads - not a good average. Please do not make it 3. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts