Getting A Screenshot Of Desktop (Whole Screen)

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Getting A Screenshot Of Desktop (Whole Screen)

Post by Googie85 » Tue Sep 22, 2020 11:07 am

Hi Guys, me again!!

Is there a way to use "export screenshot" to capture "Full Screen" or do I have to get the measurements of the screen and enter them into the "export snapshot from rect "X,X,X,X" to file "Nav.jpg" as JPEG"?

I hope I explained myself clearly!!

Many Thanks,

Googie.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Getting A Screenshot Of Desktop (Whole Screen)

Post by jmburnod » Tue Sep 22, 2020 11:18 am

Hi,
do I have to get the measurements of the screen and enter them into the "export snapshot from rect "X,X,X,X" to file "Nav.jpg" as JPEG"?
Yes, you may use the screenrect like this:

Code: Select all

   export snapshot from rect (the screenrect) to file "Nav.jpg" as JPEG" 
Works on OS X but should work on windows
Best
Jean-Marc
https://alternatic.ch

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Getting A Screenshot Of Desktop (Whole Screen)

Post by richmond62 » Tue Sep 22, 2020 11:32 am

All the way from an ancient stack of mine from 2001:

Be aware that with Macintosh, unless you have set your default stack elsewhere this will export a screen snap
into the LiveCode app folder.
Attachments
snapper.livecode.zip
Here's the stack.
(1.24 KiB) Downloaded 230 times

Post Reply

Return to “Windows”