janisz Posted November 8, 2006 Share Posted November 8, 2006 (edited) expandcollapse popup#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 Edited November 8, 2006 by janisz Link to comment Share on other sites More sharing options...
rbhkamal Posted November 8, 2006 Share Posted November 8, 2006 Good one! kinda funny Welcome RK "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 8, 2006 Share Posted November 8, 2006 Welcome, and very nice JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
PaulIA Posted November 8, 2006 Share Posted November 8, 2006 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. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now