Jump to content

Quick Scripts


TECH
 Share

Recommended Posts

Hey, These are some scripts I've come up with.

Really simple and I will add more later if you actually want me to.

If you go to do something like...

run(

and you look at the little box after you put the "( "

then you can learn what those mean and do and what to do.

also looking in the helpfile will help.

Func exitthescript()

Exit

EndFunc ;==>exitthescript

HotKeySet("{Q}", "exitthescript")

Run("mspaint.exe")

;run whatever your mspaint or whatever program you have that is like paint.

;(find the .exe.)

;(My paint exe. is "mspaint.exe")

WinWaitActive("untitled - Paint")

MouseClickDrag("left", 500, 500, 500, 300, 0)

MouseClickDrag("left", 500, 300, 300, 300, 0)

MouseClickDrag("left", 300, 300, 300, 500, 0)

MouseClickDrag("left", 300, 500, 500, 500, 0)

MouseClickDrag("left", 300, 300, 400, 200, 0)

MouseClickDrag("left", 400, 200, 500, 300, 0)

MouseClickDrag("left", 400, 500, 400, 470, 0)

MouseClickDrag("left", 400, 470, 410, 470, 0)

MouseClickDrag("left", 410, 470, 390, 470, 0)

MouseClickDrag("left", 390, 470, 390, 500, 0)

MouseClickDrag("left", 410, 470, 410, 500, 0)

this will draw a house

func exitthescript()

Exit

EndFunc

HotKeySet( "{Q}", "exitthescript" )

while 1

$posx = random( 0, 1023 )

$posy = random( 0, 767 )

mousemove( $posx, $posy )

Sleep( 1000 )

WEnd

this will randomly move your mouse

func exitthescript()

Exit

EndFunc

HotKeySet( "{Q}", "exitthescript" )

$var = MsgBox( 4, "button game", "push a button")

If $var = 6 then MsgBox(4, "you pushed...", "You pushed yes. Good for you. Now click another one")

If $var = 6 then Beep( 400 , 350 )

sleep( 200 )

Beep( 400 , 350 )

sleep( 200 )

Beep( 400 , 350 )

sleep( 200 )

Beep( 400 , 350 )

sleep( 5 )

Beep( 150 , 350 )

sleep( 5 )

Beep( 200 , 350 )

sleep( 5 )

Beep( 250 , 350 )

sleep( 5 )

Beep( 300 , 350 )

sleep( 5 )

Beep( 350 , 350 )

sleep( 5 )

Beep( 400 , 350 )

Beep( 100 , 350 )

Beep( 400 , 350 )

Beep( 100 , 350 )

Sleep ( 500 )

Beep( 400 , 350 )

Sleep( 50 )

Beep( 400 , 350 )

this will play beeps.

you can make a song with it

im just posting these to kind of help but i dont think these will help much

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