473,320 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Macro programming?

How easy would it be to program a macro that would:

1 Go through each subfolder in a specified folder
2 Open a file where the filename is file##DOC.vlm wih the appropriate program
3 do a CRL+A and then a CTRL+C
4 Open a graphic program such as MS Paint and do CTRL+V
5 Save that file as a monochromatic bitmap with the name file##.vlm (## is an integer)

Please let me know, im supposed to do this to almost 400 files at work. I figured a macro would be easier to do. Hope somone can help.

Thanks,

Justin
Jun 14 '06 #1
3 1308
Banfa
9,065 Expert Mod 8TB
Sounds like you need Windows Recorder (a program that recorded mouse and keyboard macros in Windows). Unfortunately the last version of Windows to ship with this utility was Windows 3.11 which I suspect you are not running.

There are comercially available programs to do the same thing though try typing "windows macro recorder" into Google.

Another possible alternitive is to print to bitmap, you can get bitmap printer drivers and a lot of programs support the command line

<program> /p <file>

to print to the default printer. Google for "print to bitmap"

Apart from that what you suggest is very hard to do as it involves sending messages to multiple programs.
Jun 14 '06 #2
I had similar task one year ago. I suggest u use SendKeys() in VC++
it's easy to use. if u need help let me know
Regards
hesham el ebrashy
Jul 12 '06 #3
danp129
323 Expert 256MB
Is the original file a picture? If so you might check out Irfanview http://www.irfanview.com/. It can do batch conversions of images. Check out the plugins available for it too.
Jul 28 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: qwweeeit | last post by:
Hi all, when I moved from Windows to Linux I choosed Python as my language of reference and as GUI, Qt (not much investigated up to now). Till now I didn't regret but one thing: Python can't act...
5
by: krbyxtrm | last post by:
Hi is there a way to 'manage' function execution using macros? #define MY_CALL_MACRO(MacroName) { g_MacroStack.push_back(MacroName); <some code here...>} such that when i use the...
8
by: Net | last post by:
Hi Please help. I have a database which requires a message to come up when certain part numbers are added to it. I have solved part of this by using a conditional macro eg = 54125 and using a msg...
1
by: todWulff | last post by:
Good day folks. Let me open with the statement that I am not a C++/C programmer. The environment that I am programming in is ARMbasic, an embedded BASIC targeted toward ARM-based...
2
by: tvnaidu | last post by:
Is XML is closely work with C programming?. Earlier I think C and C++ are very close in language wise, recently downloaded a project, that contains C code only, but also some XML files, I am...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.