Jump to content
Sign in to follow this  
Jambaman

Instant mouse moves

Recommended Posts

Jambaman

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 by Jambaman

Share this post


Link to post
Share on other sites
water

First you have to remove the [] from your code. They denote optional parameters.

  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Jambaman

First you have to remove the [] from your code. They denote optional parameters.

Ah

Share this post


Link to post
Share on other sites
Jambaman

Works fine for me.

Does it move instantly to each Co-ordinate?

Share this post


Link to post
Share on other sites
Jambaman

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

Share this post


Link to post
Share on other sites
water

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 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Jambaman

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?

Share this post


Link to post
Share on other sites
PainTain

In the video it can be seen that the filepath is ...crs botsSkem.au3 

Please read the Forum rules.

Share this post


Link to post
Share on other sites
water

Reported.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Jambaman

Gotta work it out for myself then I guess

Share this post


Link to post
Share on other sites
Melba23

Jambaman,

In 19 posts you have had 2 locked game-related threads - not a good average. Please do not make it 3. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×