Page 1 of 1

Take Screen Shot from Mainframe Screen

PostPosted: Wed Oct 02, 2013 8:26 pm
by Chits
Hi,

I am new to this forum, don't know whether it would be right place to post my question.

I am using PCOMM/HOD as emulator on mainframes. Sometimes I need to take screen shots from mainframe screen and paste it into excel sheet at the desired location.
I am looking for MACRO that will take snap shot and paste it into the excel sheet.

Can anybody let me know how to proceed for this?

Thanks,
Chits

Re: Take Screen Shot from Mainframe Screen

PostPosted: Wed Oct 02, 2013 9:54 pm
by dick scherrer
Hello and welcome to the forum,

As your question relates to your 3270 emulator rather than the mainframe itself, you might be better served in a forum for PCOMM or from the PCOMM support people.

Several of our users use PCOMM and maybe someone will be able to provide a "how to" reply.

Re: Take Screen Shot from Mainframe Screen

PostPosted: Wed Oct 02, 2013 10:08 pm
by BillyBoyo
How about "maximising" your emulator window, using your normal "PrtSc" (or whatever) and "cropping" with an image editor if there is stuff you still don't want to see.?

Re: Take Screen Shot from Mainframe Screen

PostPosted: Wed Oct 02, 2013 10:31 pm
by NicC
If you have the Windoze 7 snipping tool available you could possibly use that. I haven't tried it for that task - I usually use highlight/cut/paste

Re: Take Screen Shot from Mainframe Screen

PostPosted: Wed Oct 02, 2013 11:04 pm
by Chits
Yes, I can do with snipping tool or copy paste using PRNTSCR on the keyboard. But it is manual task and I am looking for MACRO using which it will automatically serve the purpose.

Re: Take Screen Shot from Mainframe Screen

PostPosted: Thu Oct 03, 2013 7:21 pm
by Ed Goodman
lol, looked for an answer, found advice to op to try here (sister site), and saw these opinions of our level of hospitality

http://eileenslounge.com/viewtopic.php? ... =20#p62174

Re: Take Screen Shot from Mainframe Screen

PostPosted: Thu Oct 03, 2013 7:23 pm
by Ed Goodman
Does PCOMM use only VBA?

I've always had luck with turning on arecording, doing the thing I want, then editing the file it creates.

Are you trying to get a bitmap/jpg picture, or the entire text of the screen?

Re: Take Screen Shot from Mainframe Screen

PostPosted: Fri Oct 04, 2013 12:56 am
by Chits
I'm looking for jpg picture.

Re: Take Screen Shot from Mainframe Screen

PostPosted: Fri Oct 04, 2013 3:59 am
by Ed Goodman
Then you want to (probably) send keys to the Windows shell, then.

http://stackoverflow.com/questions/2456 ... s-with-vba

That is for MSAccess, but it should be the same for you, since it's all VBA.