hello,
my english ist not so good, but i´ll try to explain my problem:
i`d like to copy the active window into clipboard and later then i will
insert this screenshot into ms-word.
what is the answer of this problem ?
greetz and thanx !!
anza
clipboard
Moderators: Dorian (MJT support), JRL
Hi,
The code to copy the active window is:
Press ALT
Press Print Screen
Release ALT
You will of course need to ensure the correct window is active first. If you run just the code above after going into Macro Scheduler you will of course copy a screen shot of Macro Scheduler as you will have made Macro Scheduler the active app. So I'm assuming your macro already handles focusing the correct application - using SetFocus or by running a program?
To paste into word:
SetFocus>Microsoft Word*
Press CTRL
Send>v
Release CTRL
I hope this gets you started ...
The code to copy the active window is:
Press ALT
Press Print Screen
Release ALT
You will of course need to ensure the correct window is active first. If you run just the code above after going into Macro Scheduler you will of course copy a screen shot of Macro Scheduler as you will have made Macro Scheduler the active app. So I'm assuming your macro already handles focusing the correct application - using SetFocus or by running a program?
To paste into word:
SetFocus>Microsoft Word*
Press CTRL
Send>v
Release CTRL
I hope this gets you started ...
MJT Net Support
[email protected]
[email protected]