Browser Widget instance

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
petero
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 59
Joined: Sat Jan 20, 2007 4:09 am

Browser Widget instance

Post by petero » Wed Dec 28, 2016 9:56 pm

I created a browser on a card with the browser widget in LC 8.1.1

Works fine.

I want to export a picture of the web page.

I tried using the "revBrowserSnapshot" command but I do not know how to identify the "sBrowserID" parameter.

Can anyone help.

Thank you in advance.

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Browser Widget instance

Post by MaxV » Thu Dec 29, 2016 2:58 pm

You can't use revBrowsersnaphost on browser widget, it was designed for the browsers created with RevBrowserOpen.
You may use export snapshot:

Code: Select all

export snapshot from wodget 1 to file "File1.png" as PNG
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”