Jump to content

Avoiding the Mouse?


dandymcgee
 Share

Recommended Posts

I ran across this program that pops up a little window that says, "click me", but when you try to click it, it just flys across the screen to a different position. I was wondering if somehow there were an AutoIt command that makes your mouse "fling" accross the screen when the mouse is over a certain button or position on the screen?

- Dan [Website]

Link to comment
Share on other sites

I have not worked with the mouse at all but I would start with:

if mouse is in cords x,y

then move mouse to x+a,y+b

and this should be posted in the support forum

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I ran across this program that pops up a little window that says, "click me", but when you try to click it, it just flys across the screen to a different position. I was wondering if somehow there were an AutoIt command that makes your mouse "fling" accross the screen when the mouse is over a certain button or position on the screen?

made this a while ago, glitchy, but works ok

feel free to change it however you want, the "WinTrap" function is a crappy spinoff of the old 'mousetrap', i use it here to prevent the window from rolling off screen, or being pinned against an edge

;code in other thread

EDIT:

Oh i thought you wanted to make an avoid the mouse thing not hack one

Making new thread with this code...

to hack, simply turn on the "Snap-To" feature in your mouse settings

Edited by Paulie
Link to comment
Share on other sites

I just wanted to know how they made that program. I'm not sure how to make the box move whenever it detects the mouse over it. Also, is there any way to "decompile" a script even if it has a passphrase or has its options set to do not allow decompilation? If i could do this it'd save a lot of time because i could just look at the original script for the clickme program. Thx guys

Edited by dandymcgee

- Dan [Website]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...