Project Browser Thumbnail Pictures

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SirWobbyTheFirst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 246
Joined: Tue Jun 30, 2009 11:15 pm

Project Browser Thumbnail Pictures

Post by SirWobbyTheFirst » Fri May 17, 2013 10:13 pm

Hey guys, this is going to seem like an easy to answer question but I would like to know how the Project Browser in 6.0 generates a thumbnail of the controls in a stack, for example all buttons in a stack have a thumbnail generated which even has the details of the visual style currently used by Windows shown. I know there is an Export Snapshot command and I tried that but that seems to require a file path to store the image which seems like it would waste an awful lot of space and would probably be rather inefficient for people who use SSDs and what not.

So yeah, how can I do something like that without wasting storage space?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10058
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Project Browser Thumbnail Pictures

Post by FourthWorld » Fri May 17, 2013 10:45 pm

See the Release Notes for v6.0.1, the section on the new "at size" option for the export/import snapshot commands (page 12), e.g.:

import snapshot from cd 1 at size 100,100
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply