IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Macro for Capturing the screen


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Priya Rajendran

New User


Joined: 14 Sep 2006
Posts: 3

PostPosted: Thu Sep 21, 2006 11:39 am
Reply with quote

Hi,

Is there any macro that takes screen shots and put that in a word document while working?
Please help me.

Thanks and Regards,
Priya
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Sep 21, 2006 12:53 pm
Reply with quote

It depends on your emulator. I my emulator (IBM's Personal Communication), we can use macro commands to print. We set the 'print to file' switch in advance, and then run a script written in the emulator's macro language. Each screen is printed into file and saved.

O.
Back to top
View user's profile Send private message
ATH020

New User


Joined: 25 Sep 2006
Posts: 5

PostPosted: Mon Sep 25, 2006 3:23 pm
Reply with quote

I have tried to write macro in IBM's Personal Communication.
I need to capture the menu File -> Print Screen Collection -> Collect Screen and File -> Print Screen Collection ->Print Collection. But i do not find any command to capture the menus. I have tried the command autECLPS.SendKeys ["Alt"] . But it does not work. Pls help me with a solution.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Sep 25, 2006 4:25 pm
Reply with quote

You have to use PDT in order to print collections. To do so, mark the PDT in the 'FILE --> PRINTER SETUP' menu.

O.
Back to top
View user's profile Send private message
ATH020

New User


Joined: 25 Sep 2006
Posts: 5

PostPosted: Thu Sep 28, 2006 6:29 pm
Reply with quote

Thanks "Ofer71" for your reply.

I have Already marked PDT & I am successfull to capture the screens to MDI file by manually selecting (using Mouse) FILE -> PRINT SCREEN COLLECTION -> COLLECT SCREEN & FILE -> PRINT SCREEN COLLECTION -> PRINT COLLECTION.

But i want to automate the process. But there is no Sendkeys option for ALT key. (Shortcut for the menu is ALT+F+C+C & ALT+F+C+P)

So can any one help it.
Back to top
View user's profile Send private message
Priya Rajendran

New User


Joined: 14 Sep 2006
Posts: 3

PostPosted: Sat Sep 30, 2006 11:11 pm
Reply with quote

Thank you ofer71 for your help. icon_smile.gif
Back to top
View user's profile Send private message
ATH020

New User


Joined: 25 Sep 2006
Posts: 5

PostPosted: Thu Oct 12, 2006 12:12 pm
Reply with quote

Hello "Priya Rajendran"

Can you pls provide the "code" for capturing screen shots and pasting it in Word.

Thanks a lot.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Rexx log capturing CLIST & REXX 15
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
Search our Forums:

Back to Top