View previous topic :: View next topic
|
Author |
Message |
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
Hi,
I am working in mainframe using Host on Demand. I want to create a macro to take screenshot of mainframe screens and paste in to excel.
Is any able to give some idea to do this.
I tried 'record macro' option and pressed on 'printscreen' command.But i am not able to see that command in macro which have been saved |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Well.. HOD macro has limitations and am doubtfull that you will be able to take screenshot and store\paste somewhere..
However .. You can write VBA or .net script such a that on ever hit of Return key or function key (based on your requirement) it can take screen shot and append\paste in some document. (I remember my testing team done so for capturing test results of online screen testing) |
|
Back to top |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
Hi Sambhaji ,
Is it possible that execute VBA or .net script from HOD enviornment? |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Not on hod ... you need to execute it on your local machine and capture screenshot on event of keystrokes of functional keys\return key etc... |
|
Back to top |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
Hi Ed Goodman,
I checked the sample code which is given in HOD programing guide.As per manual there should be some sample code present in location <install>\HOD\xx\doc\macro\samples\amnu.But i am not able to find these sample macros in my system.
Is any one able to share these sample macros? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
why not talk to Your support, to find out about them
the sources might be copyrighted, so sharing them might be improper |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is there some reason you cannot ask HOD support? |
|
Back to top |
|
|
|