How on earth did I do this! :-)

Recommended Posts

Morthawt 46

Morthawt 46

Open Microsoft paint or Photoshop or some other graphics program that has a PENCIL tool. Set it to 1 pixel size if you need to set that, because it needs to be 1 pixel. Then with this script running press Ctrl+Alt+Win+1 and watch it do its magic :-)

I am curious, anyone have any ideas how I was able to do this? I was looking through the helpfile and got a crazy idea to do this lol. I just wanna know what you think you would have to do to be able to get what is needed to make a script like this to be able to type visually with a pencil tool.

Share this post

Link to post

Share on other sites

Morthawt 46

Morthawt 46

If you want to improve it, make it into a function that takes a string as an argument and draws it.

Yeah I did do a bunch of mouse clicks, I was referring mainly to how did I actually pull it off being precise. I did not look at the text and manually line by line add mouse clicks at all, that would have driven me crazy before I even had gotten started lol.

I am just curious how someone else would go about making something like this without having to line by line do each click manually.

Share this post

Link to post

Share on other sites

Morthawt 46

Morthawt 46

That is an interesting method you have there. I did not do that kind of thing actually. It is based off a piece of text I typed out in Photoshop. It is the exact same font and size and everything as the original. Only thing being I create it using single clicks.

Do you have any other theories about how I was able to make this possible? I really am curious if anyone else has the same thought as me.

Share this post

Link to post

Share on other sites

Morthawt 46

Morthawt 46

Right, I mapped it using pixelgetcolor, defining the box area to check pix by pix line by line and if the colour is not the same as the original colour at the top left then create a click for that pixel:

Hot key 1 is for the top left of the area to "scan", 2 is for the top right and 3 is how far down to scan till. That way it is defining the box area to scan. Anything that is not the colour of the first top left (background) colour is defined with a click. It is not fast by any means but it does its thing. I can't think of any use for this but I just wanted to see if I could do it from having a theory about how it may be possible to "replicate" a solid colour shape or text with 1 pixel clicks using a pen tool.

Share this post

Link to post

Share on other sites

SadBunny 126

SadBunny 126

Open Microsoft paint or Photoshop or some other graphics program that has a PENCIL tool. Set it to 1 pixel size if you need to set that, because it needs to be 1 pixel. Then with this script running press Ctrl+Alt+Win+1 and watch it do its magic :-)

I am curious, anyone have any ideas how I was able to do this? I was looking through the helpfile and got a crazy idea to do this lol. I just wanna know what you think you would have to do to be able to get what is needed to make a script like this to be able to type visually with a pencil tool.

Looks kind of funny actually... If you would add a very short and sharp sawtooth-synth sound sample every time you click, I bet it'd really look and sound like one of those 80's/90's 9-pin matrix printers we had back than. Boy, was that ever a nauseating experience to watch and listen one of those print out a Dr Halo painting

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post

Link to post

Share on other sites

Morthawt 46

Morthawt 46

very nice. I always like to experiment and see what ideas I could turn into real programs. I have been going through the help file and noticed a couple things that could be easily used to make certain programs that won't be discussed on this forum. When I think "What could I make with Autoit today?" I really should be asking for what can't I make... the list would be smaller lol.