forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Screen Capture

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Sep 04, 2003 1:45 pm    Post subject: Screen Capture Reply with quote

Is there a way to screen capture and save to a file without a DLL in vds5?

Thanks

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Sep 04, 2003 3:20 pm    Post subject: Reply with quote

You can capture the screen to the clipboard using window send,@key(print). After that you'd have to paste it into Windows Paint and save it using other window send commands, I reckon. I can't think of any way of doing it without some external program.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Thu Sep 04, 2003 3:22 pm    Post subject: Reply with quote

Humm.. Confused Ok,Thanks.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Sep 04, 2003 4:20 pm    Post subject: Reply with quote

It should be possible by doing the first thing Julian said (window send,@key(print)), and by using some clipboard APIs. That way you can get the binary value of the contents of the clipboard (don't ask me how Smile) and write it to a file with the binfile command.
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Sep 04, 2003 5:09 pm    Post subject: Reply with quote

It should be possible to capture even a window or a dialog element e.g a vds bmp picture enclosed by a line dialog element to a EMF enhanced metafile by creating a compatible DC (device context) all with API and no dlls at all . I tried lot but some error is causing the file saved to zero bytes so I gave up.
Quote:
That way you can get the binary value of the contents of the clipboard

I don't think it's that easy. you should process the entire bag of the bitmap data then the headers in relation to it - I am not an expert but - I fear even if it were* possible in VDS time taken would be prohibitively long.
* I think 8 parameter lmit anyway wont permit it.
Regards

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Sep 11, 2003 8:24 am    Post subject: Reply with quote

Quote:
I think 8 parameter lmit anyway wont permit it.


In the update, which will hopefully be released very soon, this limit has been increased to 12.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Sep 11, 2003 9:54 am    Post subject: Reply with quote

Thank you very much Jules. Very Happy Thumbs Up Yes
It adds around 40 more API's to VDS compatable ones.
Eagely waiting for the update

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension


Last edited by CodeScript on Fri Sep 12, 2003 2:44 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Sep 11, 2003 12:46 pm    Post subject: Reply with quote

hi jules,

would it be possible, and allowable, for you to let us know what the update will include...fixes? new features?...if you have the time and the inclination Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Sep 11, 2003 3:45 pm    Post subject: Reply with quote

Not really, because I'm not an employee of Commercial Research and they are somewaht touchy about anyone releasing information unofficially as Garrett also knows. Most if not all of the bugs that have been mentioned here have been fixed if they could be fixed, but it wasn't the intention to add new features.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Sep 11, 2003 9:05 pm    Post subject: Reply with quote

jules wrote:
Quote:
I think 8 parameter lmit anyway wont permit it.


In the update, which will hopefully be released very soon, this limit has been increased to 12.


THANK YOU! Very Happy Yes Thumbs Up Very Happy
Wave

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Sep 12, 2003 10:03 am    Post subject: Reply with quote

ok thanks jules Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group