Re: Displaying Web Pages in a Field

2015-05-01 Thread Devin Asay

On May 1, 2015, at 6:41 AM, Gregory Lypny gregory.ly...@videotron.ca wrote:

 Hi Devin Asay and Scott Rossi,
 
 Thanks for responding.
 
 Devin, what Scott says is true: for many of the files the tags continue to 
 appear in the stack’s field.
 
 Scott, you mention a browser object. Where would I find it? I can’t find one 
 in the LiveCode’s Tools palette or under the Object menu. I’m developing a 
 desktop utility.

Gregory,

There is no icon on the tools palette you can drag onto the card. You have to 
instantiate it using a script. See the dictionary entry on revBrowserOpenCef. 
There is a script example there on how to create a browser instance.

There’s also a lesson on how to do it here:

http://lessons.runrev.com/m/2592/l/278115-create-a-browser-instance-within-your-app

HTH

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Displaying Web Pages in a Field

2015-05-01 Thread Richard Gaskin

William Prothero wrote:

 The only thing is that it’s a bit more tricky to get info transferred
 between the web field and livecode, but it’s do-able.

That, and it doesn't exist at all in LiveCode for Linux.

It's funny, but the weakest link for me in using Ubuntu isn't anything 
in the OS or its ecosystem - I have all the apps I need, and I'm as 
productive in the OS itself as I am on Mac.


The only thing that causes productivity loss for me is LiveCode's lack 
of feature parity. :(


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Displaying Web Pages in a Field

2015-05-01 Thread Mark Waddingham

On 2015-05-01 17:37, Richard Gaskin wrote:

William Prothero wrote:


The only thing is that it’s a bit more tricky to get info transferred
between the web field and livecode, but it’s do-able.


That, and it doesn't exist at all in LiveCode for Linux.


We got the CEF Browser version of revBrowser working on Linux for 8.0 DP 
1 onwards - although it is 64-bit only at the moment.


Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Displaying Web Pages in a Field

2015-05-01 Thread William Prothero
Gregory:
Search for “browser” in the documents API, that you can find under the “Help” 
menu when in livecode IDE. 
It’s amazingly easy to set this up and you have a field that will render your 
web page the same as your browser (hopefully). I have used it to play YouTube 
movies, in addition to simple text based html. The only thing is that it’s a 
bit more tricky to get info transferred between the web field and livecode, but 
it’s do-able.
Best,
Bill

 On Apr 30, 2015, at 1:31 PM, Gregory Lypny gregory.ly...@videotron.ca wrote:
 
 Hi everyone,
 
 I’m a little rusty, so please excuse the lame question. I have some text 
 files that are downloaded web pages. How can I display them in a stack field 
 to look something like they do in a browser, that is, without the HTML tags 
 showing?
 
 Regards,
 
 Gregory
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Displaying Web Pages in a Field

2015-05-01 Thread Devin Asay
Well, he did say he wanted the text files to look “something like they do in a 
browser”. That’s an easy way to at least be able to easily read the html text 
in a field. But you’re right, it’s not ideal for high-quality display.

Devin


On Apr 30, 2015, at 4:10 PM, Scott Rossi sc...@tactilemedia.com wrote:

 Using htmlText may not render the page layout described in the HTML.
 You'd probably need to use the browser object and set the URL of the
 browser to the local file to see the page rendered correctly.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX/UI Design
 
 
 
 
 On 4/30/15, 2:29 PM, Devin Asay devin_a...@byu.edu wrote:
 
 
 On Apr 30, 2015, at 2:31 PM, Gregory Lypny gregory.ly...@videotron.ca
 wrote:
 
 Hi everyone,
 
 I¹m a little rusty, so please excuse the lame question. I have some
 text files that are downloaded web pages. How can I display them in a
 stack field to look something like they do in a browser, that is,
 without the HTML tags showing?
 
 Gregory,
 
 set the htmlText of fld ³myfld² to URL ³file:/path/to/file.html²
 
 Devin
 
 Devin Asay
 Office of Digital Humanities
 Brigham Young University
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Displaying Web Pages in a Field

2015-05-01 Thread Richard Gaskin

Mark Waddingham wrote:

 On 2015-05-01 17:37, Richard Gaskin wrote:
 William Prothero wrote:

 The only thing is that it’s a bit more tricky to get info
 transferred between the web field and livecode, but it’s
 do-able.

 That, and it doesn't exist at all in LiveCode for Linux.

 We got the CEF Browser version of revBrowser working on Linux for
 8.0 DP 1 onwards - although it is 64-bit only at the moment.

Super cool, Mark.

Given what we hope will be a long development cycle for v8, any chance 
that can be backported to v7 so we can take advantage of that work in 
the current version cycle?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Displaying Web Pages in a Field

2015-05-01 Thread Gregory Lypny
Hi Devin Asay and Scott Rossi,

Thanks for responding.

Devin, what Scott says is true: for many of the files the tags continue to 
appear in the stack’s field.

Scott, you mention a browser object. Where would I find it? I can’t find one in 
the LiveCode’s Tools palette or under the Object menu. I’m developing a desktop 
utility.

Regards,

Gregory



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Displaying Web Pages in a Field

2015-04-30 Thread Devin Asay

On Apr 30, 2015, at 2:31 PM, Gregory Lypny gregory.ly...@videotron.ca wrote:

 Hi everyone,
 
 I’m a little rusty, so please excuse the lame question. I have some text 
 files that are downloaded web pages. How can I display them in a stack field 
 to look something like they do in a browser, that is, without the HTML tags 
 showing?

Gregory,

  set the htmlText of fld “myfld” to URL “file:/path/to/file.html”

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Displaying Web Pages in a Field

2015-04-30 Thread Scott Rossi
Using htmlText may not render the page layout described in the HTML.
You'd probably need to use the browser object and set the URL of the
browser to the local file to see the page rendered correctly.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 4/30/15, 2:29 PM, Devin Asay devin_a...@byu.edu wrote:


On Apr 30, 2015, at 2:31 PM, Gregory Lypny gregory.ly...@videotron.ca
wrote:

 Hi everyone,
 
 I¹m a little rusty, so please excuse the lame question. I have some
text files that are downloaded web pages. How can I display them in a
stack field to look something like they do in a browser, that is,
without the HTML tags showing?

Gregory,

  set the htmlText of fld ³myfld² to URL ³file:/path/to/file.html²

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode