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 


Print Screen of a single window--doable?

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


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Wed Feb 26, 2003 7:02 pm    Post subject: Print Screen of a single window--doable? Reply with quote

Hmm... I'm looking for a way to do a screen print of only the topmost window, not the entire screen. Ideally, I'd have a tray icon that, when clicked, sends an image of the topmost window to the default printer.

I can handle the tray icon coding easily enough, but what commands (if any) will handle the image printing? Is there a DLL to accomplish this? Question

As always, I'm dazed and confused.
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Wed Feb 26, 2003 7:06 pm    Post subject: Reply with quote

Try the VDSDLL 3 of Tommy...
Back to top
View user's profile Send private message
VDSuser
Contributor
Contributor


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Wed Feb 26, 2003 7:28 pm    Post subject: Reply with quote

Thanks, but I don't see it. Are you referring to VDSCAP? If so, how do I use it to send the captured image to the default printer?
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Wed Feb 26, 2003 7:37 pm    Post subject: Reply with quote

Use this to capture a part of the screen:

dll capture,capture,@path(%0)screenshot.bmp,20,0,250,200

To get the positions of the window, use @winpos()... To print it, use shell print,@path(%0)screenshot.bmp
Back to top
View user's profile Send private message
VDSuser
Contributor
Contributor


Joined: 21 Mar 2002
Posts: 58
Location: Somewhere in time

PostPosted: Wed Feb 26, 2003 7:44 pm    Post subject: Reply with quote

I'll give that a try and post the results. Thanks! Very Happy
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Feb 26, 2003 8:16 pm    Post subject: Reply with quote

VDSCAP.DLL is basically the same thing as the VDSDLL version. You
might want to use VDSCAP since it is smaller to distribute instead of
unnecessarily distributing the entire VDSDLL. Wink

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


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jun 02, 2003 9:30 pm    Post subject: Reply with quote

And if you're doing it manually you can also do:

ALT+Print Screen on your keyboard. Wink

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


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

PostPosted: Tue Jun 03, 2003 9:56 am    Post subject: Reply with quote

Yes, but then you can't use it with VDS... Wink
_________________
[ 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
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jun 03, 2003 7:52 pm    Post subject: Reply with quote

FreezingFire wrote:
And if you're doing it manually ...


Manually. Wink

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


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

PostPosted: Wed Jun 04, 2003 9:37 am    Post subject: Reply with quote

Yes, but what kind of forum is this? "Copy & Paste for Dummies" or an advanced forum about a real good programming language? Wink
_________________
[ 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
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jun 04, 2003 6:37 pm    Post subject: Reply with quote

Well I'll let you decide that for yourself. Personally I feel that this is about
Visual DialogScript but any alternatives won't hurt. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
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