Snapshot

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Snapshot

Post by maxs »

Is there a way to call the menuitem "Snapshot" from a script?

Can I use it in a standalone app?


Thanks, Max
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

Which menu item, Max?! Which operating system, perhaps? Do you mean VBScript or AppleScript maybe?

But... to make a snapshot, you'd probably want to use Revolution's built-in snapshot feature. Just search for snapshot in the dictionary.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Post by maxs »

Under "file" is "Import as Control" with the submenu "Snapshot"

It does exactly what I need. The script language has "Export Snapshot", but that is the opposite of what I need, which is to take a snapshot and import it automatically.
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark »

Max,

Export snapshot might do what you want. It is quite a useful and flexible command. However, there is also import snapshot, which I personally rarely use, but does a good job as well. Make sure to read the docs on this.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

thanks

Post by maxs »

Thanks, Mark.

Import Snapshot did the job
Post Reply