flat assembler
Message board for the users of flat assembler.

Index > Windows > Hi, how to record macro to speed up tasks?

Author
Thread Post new topic Reply to topic
john_b



Joined: 07 Sep 2007
Posts: 1
john_b
Hi, I have many .jpg files which i would like to:
open with mspaint
alt+F > name_file in a text file with all files to open
alt+R to rotate in mspaint
and then a couple fo tab key strokes, enter, save (alt+S) and close file.

Is there any fasm application available to record keyboard key strokes
as in MSWord? thanks in advance

_________________
John
Post 07 Sep 2007, 09:58
View user's profile Send private message Reply with quote
FrozenKnight



Joined: 24 Jun 2005
Posts: 128
FrozenKnight
They aren't hard to make. all you really need is setwindowtext and BN_CLICK messages.
Post 12 Sep 2007, 08:37
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
You might want to look at some application made for this kind of task, instead of trying to asutomate paint? Check out ImageMagick.
Post 12 Sep 2007, 09:45
View user's profile Send private message Visit poster's website Reply with quote
FrozenKnight



Joined: 24 Jun 2005
Posts: 128
FrozenKnight
use a program like WinDowse

To get the windows identifier
then then use FindWindow() to get the parent window handle
then use GetDlgItem() to get the button or window you need
then use SendMessage() to send a BN_CLICK to send a click
or SetWindowText() to set the value of an edit box.
repeat as needed.
Post 13 Sep 2007, 04:15
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.