Jump to content

where can I find a mouse action example please?


Recommended Posts

where can I find a mouse action example please?

if there isn't one - please say so!

:lmao:

MouseMove(10, 100)

MouseMove(700, 700, 0)

Here's your action. Read Helpfile for MouseMove, MouseClick and basically everything that starts with Mouse in helpfile.

My little company: Evotec (PL version: Evotec)

Link to comment
Share on other sites

$xr = 500
$yr = 500
$x = (@DesktopWidth / 2)
$y = (@DesktopHeight / 2)
$step = .2
$Pi = 3.14159265358979
$grow = "no"

While $xr > 0 And $xr < 525
   For $s = 0 To $Pi * 2 Step $step
      $xpos = $x + $xr * Cos($s)
      $ypos = $y + $yr * Sin($s)
      MouseMove($xpos, $ypos, 0)
   Next

   if $grow = "no" Then
      $xr = $xr - 20
      $yr = $yr - 20
   EndIf
  
   if $xr = 0 Then
      $grow = "yes"
   EndIf

   if $grow = "yes" Then
      $xr = $xr + 20
      $yr = $yr + 20
   EndIf
Wend
Not my code, a newbie that was here a long time ago wrote it.

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Link to comment
Share on other sites

i annoyed my friend the other day by sending him:

MouseClickDrag("left", 25, 100, 25, 25)

disguised as cs_1.6.exe

The first two numbers are the item just below a recycle bin, and the other two are the actual recycle bin. I just hoped his recycle bin was in the top left corner lol :lmao:

i neary included 'FileRecycleEmpty("C:\")' after but that might be going a bit far...

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...