Jump to content
Sign in to follow this  
janisz

code

Recommended Posts

janisz

#NoTrayIcon 
Run("mspaint.exe") 
WinWaitActive("untitled - Paint") 
WinSetState("untitled - Paint", "", @SW_MAXIMIZE    ) 
Send("^e") ;ctrl+e
Send("!p")
Send("!w")
Send("800")
Send("!h")
Send("600")
Send("{ENTER}")
Send("!c")
Send("{ENTER}") 
Send("!d")
Send("!e")
Send("204")
Send("!s")
Send("124")
Send("!l")
Send("97")
Send("!r")
Send("156")
Send("!g")
Send("50")
Send("!u")
Send("146")
Send("!a") ; 
Send("{ENTER}")
MouseClickDrag("left", 200, 200, 200, 300 , 0) ; x1, y1, x2, y2 [, speed] )
MouseClickDrag("left", 240, 200, 270, 300 , 0)
MouseClickDrag("left", 270, 300, 290, 200 , 0)
MouseClickDrag("left", 290, 200, 320, 300 , 0)
MouseClickDrag("left", 320, 300, 340, 200 , 0)
MouseClickDrag("left", 350, 200, 350, 300 , 0)
MouseClickDrag("left", 360, 200, 360, 300 , 0)
MouseClickDrag("left", 360, 300, 390, 300 , 0)
MouseClickDrag("left", 400, 200, 400, 300 , 0)
MouseClickDrag("left", 400, 300, 430, 300 , 0)
MouseClickDrag("left", 200, 340, 200, 440 , 0)
MouseClickDrag("left", 200, 440, 230, 440 , 0)
MouseClickDrag("left", 200, 340, 230, 340 , 0) ; x1, y1, x2, y2 [, speed] )
MouseClickDrag("left", 230, 340, 250, 360 , 0)
MouseClickDrag("left", 250, 360, 250, 420 , 0) 
MouseClickDrag("left", 250, 420, 230, 440 , 0)
MouseClickDrag("left", 280, 440, 260, 420 , 0) 
MouseClickDrag("left", 260, 420, 260, 360 , 0)
MouseClickDrag("left", 260, 360, 280, 340 , 0)
MouseClickDrag("left", 280, 340, 300, 340 , 0) 
MouseClickDrag("left", 300, 340, 320, 360 , 0)
MouseClickDrag("left", 320, 360, 320, 420 , 0)  
MouseClickDrag("left", 320, 420, 300, 440 , 0) 
MouseClickDrag("left", 300, 440, 280, 440 , 0)  
MouseClickDrag("left", 360, 440, 360, 340 , 0)
MouseClickDrag("left", 370, 340, 440, 340 , 0)
MouseClickDrag("left", 405, 340, 405, 440 , 10)
MouseClickDrag("left", 600, 600, 600, 600 , 10)
Send("^f")
Sleep(5000) 
WinClose("untitled - Paint") 
Send("!n")

my first script :whistle:

Edited by janisz

Share this post


Link to post
Share on other sites
rbhkamal

Good one!

kinda funny

Welcome ;):whistle:

RK


"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

Share this post


Link to post
Share on other sites
PaulIA

That's great! Now you need to come up with functions so you can draw each letter:

_Draw_A(X, Y, Height)

And then we could draw our own messages. :whistle:


Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
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
Sign in to follow this  

×