Page 1 of 5

Saving screenshots of open Windows with graphic files

Posted: Sat Jun 02, 2018 10:07 pm
by Eugene Lutsenko
Is it possible to save screenshots of open Windows as graphic files or presentation pages. I would like to implement the possibility of automated creation of a presentation on the work in the system

Re: Saving screenshots of open Windows with graphic files

Posted: Sun Jun 03, 2018 2:57 am
by Wolfgang Ciriack
Perhaps dc_scrn2clipboard() and dc_printclipboard() ?

Re: Saving screenshots of open Windows with graphic files

Posted: Sun Jun 03, 2018 7:53 am
by rdonnay
I don't know of any way to do this.

Re: Saving screenshots of open Windows with graphic files

Posted: Sun Jun 03, 2018 1:09 pm
by Eugene Lutsenko
Wolfgang Ciriack wrote:Perhaps dc_scrn2clipboard() and dc_printclipboard() ?
This might work. I remember there were some more grabbers. Immediately the presentation will not work, but a set of screenshots is almost the same. Especially if they are given names so that they are sorted by name in the correct order

Re: Saving screenshots of open Windows with graphic files

Posted: Sun Jun 03, 2018 9:22 pm
by sdenjupol148
Eugene,

This may not be the road you want to take, but I use a free product called Cam Studio Open Source.
It's extremely simple to use!
Hit 'Record' and will capture all your screen movement.
You can add your voice for narration or easily place screen captions instead.
It also allows you to add a separate web cam overlay if you wish.
You can create videos for streaming or inbedding in applications.
I have used it many times to do presentations in conferences.

http://camstudio.org/

Bobby

Re: Saving screenshots of open Windows with graphic files

Posted: Sun Jun 03, 2018 11:41 pm
by Eugene Lutsenko
SbDrakos wrote:Eugene,

This may not be the road you want to take, but I use a free product called Cam Studio Open Source.
It's extremely simple to use!
Hit 'Record' and will capture all your screen movement.
You can add your voice for narration or easily place screen captions instead.
It also allows you to add a separate web cam overlay if you wish.
You can create videos for streaming or inbedding in applications.
I have used it many times to do presentations in conferences.

http://camstudio.org/

Bobby
Thank you! This is a very useful tool

PS
I have implemented multilingual support in the Eidos system, which I am engaged in. Now all text interface elements can be in one of 44 languages, which you can choose in 1.4 mode. You might be interested. This is a map of Eidos system launches in the world from the end of 2016 to the present day (only unique IP-addresses without clusters).

Re: Saving screenshots of open Windows with graphic files

Posted: Mon Jun 04, 2018 12:47 am
by Tom

Code: Select all

FUNCTION SaveScreenAsFile(cFileName) // hand over filename you want to use
LOCAL oClipBoard, oPicture, nResolution := 30
DC_Scrn2Clipboard()
oClipBoard := XbpClipBoard():new():create()
oClipBoard:open()
oPicture := oClipBoard:GetBuffer(XBPCLPBRD_BITMAP)
oClipBoard:Close()
oPicture:SaveFile(cFileName,XBPBMP_FORMAT_JPG,nResolution)
RETURN File(cFileName)

Re: Saving screenshots of open Windows with graphic files

Posted: Mon Jun 04, 2018 11:11 am
by Eugene Lutsenko
Thanks, Tom! I will definitely try!

Re: Saving screenshots of open Windows with graphic files

Posted: Mon Jun 04, 2018 1:35 pm
by Eugene Lutsenko
Tom!

Turned to the above function. An error occurs during the execution of:

Re: Saving screenshots of open Windows with graphic files

Posted: Mon Jun 04, 2018 3:17 pm
by rdonnay
#define VK_SNAPSHOT 0x2C