Sign in to follow this  
Followers 0
Pokerking98

Drawing in paint

9 posts in this topic

It's a very simple program. It simply opens up paint, maximizes it if it isn't already, draws the name David, then saves it as David was here. The source is included with the file. It can easily be changed to make any name, its just a fun little trick.

Have fun !

~Poker

paint.rar

Share this post


Link to post
Share on other sites



It's a very simple program. It simply opens up paint, maximizes it if it isn't already, draws the name David, then saves it as David was here. The source is included with the file. It can easily be changed to make any name, its just a fun little trick.

Have fun !

~Poker

Well done Pokerking98, and you did it without any help!

And since no-one else has said, welcome to the AutoIt forums :D


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

I suggest you to replace the name of the window with its class or it will fail with non-english version

Share this post


Link to post
Share on other sites

Thanks Martin, I appreciate it. And Yeah, this was my first program in autoit so I probably made a few mistakes. :D

Share this post


Link to post
Share on other sites

Thanks Martin, I appreciate it. And Yeah, this was my first program in autoit so I probably made a few mistakes. :D

Keep going. Nice to see people who want to learn.

When the words fail... music speaks

Share this post


Link to post
Share on other sites

I get a better result with a higher mouse speed :

MouseClickDrag("left", 71, 81, 71, 120, 1)

My UDF : Array2D

Share this post


Link to post
Share on other sites

Not to put you off or anything, but im using Windows 7 RC and it opens paint, maximizes the window... then just sits there.

Im sure its a job well done anyways

Share this post


Link to post
Share on other sites

Not to put you off or anything, but im using Windows 7 RC and it opens paint, maximizes the window... then just sits there.

Im sure its a job well done anyways

Really? What screen res. are you using?

Share this post


Link to post
Share on other sites

Really? What screen res. are you using?

It has nothing to do with screen res. The paint in win 7 is very different from earlyer versions of paint.

The class name is different. The menue is a ribbon ctrl, with makes it harder to macro, the orentation is different, how many of the tools work is different.

If you want it to work in win 7 i might look into it.


0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

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  
Followers 0