Chaos Project

General => Electronic and Computer Section => Programming / Scripting / Web => Topic started by: Aqua on April 11, 2012, 10:56:35 am

Title: [?]How to Perform Mouse/Keyboard Actions with a Script
Post by: Aqua on April 11, 2012, 10:56:35 am
I'm doing some art stuff where it's very repetitive in that I...
Click one button at Point(X0, Y0),
Click a text field at Point(X1, Y1),
Enter Variable A,
Click a text field at Point(X2, Y2),
Enter Variable B,
Variable B++;
Repeat N times.


Using a script to do this for me would be VERY helpful, but I don't know how to do it.
Anyone want to help? :P  I'll love you long timez if you do.
It should hopefully be able to work despite what desktop applications/windows are active and whatnot, in case I need this thing across different applications.


I would attempt to google some stuff to figure it out... But I have to do this art thingie right now xD
Title: Re: [?]How to Perform Mouse/Keyboard Actions with a Script
Post by: Ryex on April 13, 2012, 10:35:30 am
well what you need a a macro program that can record and play back mouse and key presses. I honestly don't have any knowledge of such a thing but surely it exists.

EDIT:

a quick goole search reveals this

http://www.autohotkey.com/

no clue as to it's quality and such but it does have some quality webdesign so that's a good sign. it does appear to have scripting functionality so good luck I guess.
Title: Re: [?]How to Perform Mouse/Keyboard Actions with a Script
Post by: Aqua on April 13, 2012, 11:56:16 am
Hm... wonder why I didn't find that when I googled...
I'll play around with it later.
Thanks Ry.