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 07 Sep 2007, 09:58
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 12 Sep 2007, 08:37
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: 3175
Location: Denmark
f0dder 12 Sep 2007, 09:45
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 13 Sep 2007, 04:15
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.