Announcements
Hello, I need to put in the mouse movement values with decimals for example 8,7 but I get the error that only leaves values with whole numbers, is there any way to make a mouse movement with decimal values?
Thank you very much for your time.
Why do you need to move it 8,7 pixels? 🤔
Because I have to drag an object on the screen in a very precise way.
There's no such thing as a 0,7 of a pixel in PAD. This will simply not work. You may try changing your screen resolution or zoom to a point where the drag and drop action would work without using decimals. If that doesn't resolve your issue, I'm afraid, this will simply not work.
-------------------------------------------------------------------------If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.
What a pity and there is no trick that can be done? Even if officially it does not let you do it
Just run a Powershell script instead, here you go, put this after your move mouse action, this will move +0.7 in the x direction relative to current position of your mouse. (Literally just copy paste this code into PAD, it will make the action for you)
Scripting.RunPowershellScript.RunPowershellScript Script: $'''Add-Type -AssemblyName System.Windows.Forms$POSITION = [Windows.Forms.Cursor]::Position$POSITION.x += 0.7$POSITION.y += 0[Windows.Forms.Cursor]::Position = $POSITION''' ScriptOutput=> PowershellOutput
*Credit to this page for the script https://techexpert.tips/powershell/powershell-moving-mouse-automatically/
Thank you very much, you have helped me a lot
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 377
11manish 302 Super User 2026 Season 2
Henil 130