Save up to 50% in our Spring Sale!
Save up to 50% off any of our desktop apps in our Spring Sale, including DisplayFusion,
ClipboardFusion, FileSeek, iTunesFusion, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

Want to earn a free VoiceBot Pro license? We're looking for VoiceBot translators!
<< DiscussionsReply

way to get mouse position?

FluffyBunnyFeet's profile on WallpaperFusion.com
Is there a quick way to get the current mouse position?
I have a command that moves the mouse and does some clicks, then returns the mouse to the position prio to any of the moves/clicks. The problem is that the script macro for getting and storing the mouse position is extremely slow (3-5 seconds for just getting/storing the mouse position, and then another 3-5 seconds to have the follow-up script return the mouse to its previous coordinates). Add to it that it pretty much opens another window.

1. Macro Script to get/store the mouse position
=============================================

Code


=============================================

2. Multiple "move/click here" commands.
3. Macro Script to restore the mouse position to previously saved coordinates:
=============================================

Code


=============================================

Unfortunately, using these macro scripts are just too damn slow (it works, but takes up to 10 seconds just for 3 steps (get position, move mouse, and move mouse back to previous position. Other voice command software has a simpler (and much quicker) way to grab the mouse coordinates, and then recall those variables/values later-on. Is there an easier way to do this in Voicebot?

Please advise.

Thanks,

Van
Aug 28, 2018 (modified Aug 28, 2018)  • #1
PabloMartinez's profile on WallpaperFusion.com
What causes the use of 3 scripts? Of course, their launch and works takes a long time. Everything is solved much easier.
For example this test script with 50 clicks, is executed in ~6 seconds. And 99% of this time is spent on clicks. Without clicks, but with 10ms delay it's performed for ~550ms.

Code

Aug 29, 2018 (modified Aug 29, 2018)  • #2
PabloMartinez's profile on WallpaperFusion.com
Well, just in case, a clean script.

Code

Aug 29, 2018  • #3
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply