Re: Browser widget in Windows has trouble playing videos in websites

2024-01-31 Thread Peter Bogdanoff via use-livecode
Tom, I’m finding the issue is more complex, and I’m still trying to get to the bottom of it. Daily Motion, Vimeo, and YouTube pages all work on the Mac LC browser plugin. Daily Motion, Vimeo, and some YouTube pages don’t in Windows. However, most of the gazillion YouTube videos work very well,

Re: Browser widget in Windows has trouble playing videos in websites

2024-01-30 Thread Tom Glod via use-livecode
Hey Peter, this surely has to do with videos that are compressed using h264. that build of CEF does not support this codec. I am not sure if the updated browser in the upcoming windows version will support h264. I am surprised to find out that the apple version of the browser has support for h264,

Re: Browser widget: "Navigation request cancelled"

2023-08-15 Thread Mark Waddingham via use-livecode
On 2023-08-15 12:08, Ben Rubinstein via use-livecode wrote: Is it possible to get any more detail about what's going on? I'm guessing you are using 10-dp-5 :) The issues here are regressions caused by the switch to WKWebView in 10 (previously we used the older WebView system web browser API):

Re: Browser Widget navigation and urls

2023-02-06 Thread David Bovill via use-livecode
Thanks Ben, will try experiment with window.location method... On Mon, 6 Feb 2023, 12:26 Ben Rubinstein via use-livecode, < use-livecode@lists.runrev.com> wrote: > The website might be actually a JavaScript 'app' that's displaying > different > information rather than navigating to different page

Re: Browser Widget navigation and urls

2023-02-06 Thread Ben Rubinstein via use-livecode
The website might be actually a JavaScript 'app' that's displaying different information rather than navigating to different pages, which is now a very popular web dev technique. A responsible implementation of this approach includes a non-JS fallback, for accessibility purposes; and makes the

Re: Browser widget doesn't display PDF

2022-11-29 Thread matthias rebbe via use-livecode
Hello Panos, thanks for reminding me of bug 22534. I should have remember it. That bug report is based on a support request i filed. ;) > Am 29.11.2022 um 18:38 schrieb panagiotis m via use-livecode > : > > Hello Matthias, > > See: > > https://quality.livecode.com/show_bug.cgi?id=18378 Th

Re: Browser widget doesn't display PDF

2022-11-29 Thread panagiotis m via use-livecode
Hello Matthias, See: https://quality.livecode.com/show_bug.cgi?id=18378 https://quality.livecode.com/show_bug.cgi?id=22534 I suggest using a PDF widget instead of a browser widget to display the pdf files, until this bug is fixed. Kind regards, Panos -- On Tue, 29 Nov 2022 at 18:59, matthias r

Re: Browser Widget and Images

2022-03-14 Thread Rick Harrison via use-livecode
Thanks! I had forgotten about "import as control" and about set the imagedata of image “my image”. set the imagedata doesn’t fit to the image’s object size though. I would probably have to resize the image beforehand. I also came across: put URL "binfile:///ExportedImageFile.png" into image “m

Re: Browser Widget and Images

2022-03-14 Thread Klaus major-k via use-livecode
Hi Rick, > Am 14.03.2022 um 04:53 schrieb Jim Lambert via use-livecode > : > >> So accessing the URL of the image directly in the image object >> puts the image there, which is a good first step. >> >> How is it stored however? >> >> If one looks at the image source it still shows the URL.

Re: Browser Widget and Images

2022-03-13 Thread Jim Lambert via use-livecode
> > So accessing the URL of the image directly in the image object > puts the image there, which is a good first step. > > How is it stored however? > > If one looks at the image source it still shows the URL. > > I find I?m unable to paint on top of the image, probably > because that would

Re: Browser Widget and Images

2022-03-13 Thread Peter Bogdanoff via use-livecode
Rick, you want to look at the export snapshot or the export image commands for that. pb > On Mar 13, 2022, at 1:56 PM, Rick Harrison via use-livecode > wrote: > > Hi Klaus, > > Thanks for answering. > > So accessing the URL of the image directly in the image object > puts the image there, w

Re: Browser Widget and Images

2022-03-13 Thread Rick Harrison via use-livecode
Hi Klaus, Thanks for answering. So accessing the URL of the image directly in the image object puts the image there, which is a good first step. How is it stored however? If one looks at the image source it still shows the URL. I find I’m unable to paint on top of the image, probably beca

Re: Browser Widget and Images

2022-03-13 Thread Klaus major-k via use-livecode
Hi Rick, > Am 13.03.2022 um 19:34 schrieb Rick Harrison via use-livecode > : > > I have a large free public domain image displaying nicely in my LC Browser > Widget. > I want to bring the image directly into a LiveCode image object to be able to > play around with it. > What’s the best way to

Re: Browser Widget Issues

2022-03-11 Thread Tom Glod via use-livecode
Hi Rick, document.getElementById("Butto Name").click(); that should work ...but yes this solution assumes you know the name of the button. I can't say for sure but I think its that LC is looking for "what livecode control" is under this clickloc . and then sends a message to that control

Re: Browser Widget Issues

2022-03-11 Thread Bob Sneidar via use-livecode
Still cannot understand why it is that my Apple Mail program seems to think a completely different mail thread is the same thread as the one I was using. If however people are clicking on one thread, replying and changing the subject, in theory that is, well then that is just bad list etiquette.

Re: Browser Widget Issues

2022-03-11 Thread Rick Harrison via use-livecode
Hi Tom, Do you have a more specific Javascript/LC example? I’m not a big fan of Javascript and only use it very sparingly. I would also have to first scan the HTML to find the name of the button I want it to activate wouldn’t I? If I have to go into that fine detail I would be better off scann

Re: Browser Widget Issues

2022-03-11 Thread Tom Glod via use-livecode
You just need to pass some javascript to the browser to trigger the button you want. do this_js in widget "myBrowser" and this_js should have the javascript to click the button. Imagine the possibilities :) On Fri, Mar 11, 2022 at 3:31 PM Rick Harrison via use-livecode < use-livecode@lists.run

Re: Browser Widget Issues

2022-03-11 Thread Rick Harrison via use-livecode
Simple mouseClick at location. > On Mar 11, 2022, at 1:51 PM, Klaus major-k via use-livecode > wrote: > > what did you try so far? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Browser Widget Issues

2022-03-11 Thread Klaus major-k via use-livecode
Hi Rick, sorry, looks like I completely misunderstood your question... > Am 11.03.2022 um 19:51 schrieb Klaus major-k via use-livecode > : > > Hi Rick, > >> Am 11.03.2022 um 19:25 schrieb Rick Harrison via use-livecode >> : >> >> I was hoping to be able to programmatically >> tell the browse

Re: Browser Widget Issues

2022-03-11 Thread Klaus major-k via use-livecode
Hi Rick, > Am 11.03.2022 um 19:25 schrieb Rick Harrison via use-livecode > : > > I was hoping to be able to programmatically > tell the browser widget where to go to next > by having LC click on an image or button > within the browser window. > > So far I have had no success with that. > Is

Re: Browser widget - follow redirects setting?

2022-01-27 Thread Keith Clarke via use-livecode
Hi Matthias, Thanks for your response and experiment. Unfortunately, I get the same experience with 'launch URL in...' and 'set the URL of…’ widget “Browser” I think it might be my URL. I’m trying to access the Salesforce OAuth 2.0 User Agent flow via the browser, as I can’t get the OAuth libra

Re: Browser widget - follow redirects setting?

2022-01-26 Thread matthias rebbe via use-livecode
Keith, what happens, if you set the URL of the browser widget to tURL? I tried here both "set the url..." and also "launch URL ... in widget.." with an online Shop. I tried to launch the account page. In both cases i was redirected to the login page. The only thing i noticed is, that the URL of

Re: Browser Widget Issue

2021-05-29 Thread Tom Glod via use-livecode
following On Wed, May 26, 2021 at 6:30 AM David Bovill via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Keith - the issue is with the HTML5 that uses modern webrtc > standards for video - either the javascript is excluding the type of > embedded framework Livecode is no using on

Re: Browser Widget Issue

2021-05-26 Thread Andrew at MidWest Coast Media via use-livecode
Andrew Bell > > Date: Wed, 26 May 2021 11:29:04 +0100 > From: David Bovill > Subject: Re: Browser Widget Issue > > Thanks Keith - the issue is with the HTML5 that uses modern webrtc standards > for video - either the javascript is excluding the type of embedded framework

Re: Browser Widget Issue

2021-05-26 Thread David Bovill via use-livecode
Thanks Keith - the issue is with the HTML5 that uses modern webrtc standards for video - either the javascript is excluding the type of embedded framework Livecode is no using on MacOS - or the framework doesn’t;t yet support those. Features - I’d like to check - but not sure what Livecode is us

Re: Browser Widget Issue

2021-05-25 Thread Keith Clarke via use-livecode
Hi David, Pass on the framework, but regarding the page… FWIW from the message box, I was able to set the url of widget ‘Browser’ to "https://obs.ninja” (apparently empty...) but then put the htmltext of widget “Browser” to see that there is indeed some content. So, it’s not scripting itself t

RE: Browser Widget and Twitter on iOS 13

2020-08-17 Thread Ralph DiMola via use-livecode
...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Linda Miller via use-livecode Sent: Saturday, August 15, 2020 2:53 PM To: use-livecode@lists.runrev.com Cc: Linda Miller Subject: RE: Browser Widget and Twitter on iOS 13 Why

RE: Browser Widget and Twitter on iOS 13

2020-08-15 Thread Linda Miller via use-livecode
Why not check if it is going to a URL that contains “twitter.com” and feed the correct user agent prior to going to the website since it is only a twitter issue? Linda > On Aug 15, 2020, at 10:00 AM, use-livecode-requ...@lists.runrev.com wrote: > > RE: Browser Widget and Twitter

Re: Browser Widget and Twitter on iOS 13

2020-08-15 Thread Jim Lambert via use-livecode
Ralph, Thanks for that switch statement. Jim Lambert ___ 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-liv

RE: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Ralph DiMola via use-livecode
Of Mark Wieder via use-livecode Sent: Friday, August 14, 2020 7:17 PM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: Browser Widget and Twitter on iOS 13 On 8/14/20 2:54 PM, Ralph DiMola via use-livecode wrote: > Mark/Panos, > > Thanks for all your help, this worked like a

Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Mark Wieder via use-livecode
On 8/14/20 2:54 PM, Ralph DiMola via use-livecode wrote: Mark/Panos, Thanks for all your help, this worked like a charm! I got the userAgent from a v12 iPad and v13 iPad. For any other iPad OS version I use the v13 version. Just curious... what userAgent string worked for you? -- Mark Wieder

RE: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Ralph DiMola via use-livecode
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Waddingham via use-livecode Sent: Friday, August 14, 2020 9:12 AM To: How to use LiveCode Cc: Mark Waddingham Subject: Re: Browser Widget and Twitter on iOS 13 On 2020-08-14 14:01, Mark Waddingham via use-livecode wrote: > On 2020

Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Mark Waddingham via use-livecode
On 2020-08-14 14:01, Mark Waddingham via use-livecode wrote: On 2020-08-14 13:31, Ralph DiMola via use-livecode wrote: Should I use the userAgent globally for all browser widget http(s) requests on platform = iphone? Isn't the issue on iPad? Hah - ignore this - I forgot to edit it when I re

Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Mark Waddingham via use-livecode
On 2020-08-14 13:31, Ralph DiMola via use-livecode wrote: Thanks Panos and Mark! So... to recap.. 1) get the userAgent in Safari on my 10.14.6 Mac 2) in App (If the platform="iphone" then set userAgent to this value). Pretty much - although I recommend not using the userAgent string from a ma

RE: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Ralph DiMola via use-livecode
ev.com] On Behalf Of panagiotis merakos via use-livecode Sent: Friday, August 14, 2020 3:40 AM To: How to use LiveCode Cc: panagiotis merakos Subject: Re: Browser Widget and Twitter on iOS 13 Hello all, Definitely this is related to the user-agent. It seems twitter recently has become strict

Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread panagiotis merakos via use-livecode
Hello all, Definitely this is related to the user-agent. It seems twitter recently has become stricter on this: https://help.twitter.com/en/using-twitter/twitter-supported-browsers https://stackoverflow.com/questions/63081729/when-using-r-curl-to-download-a-twitter-page-the-page-downloaded-is-th

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Mark Waddingham via use-livecode
On 2020-08-13 18:30, Ralph DiMola via use-livecode wrote: That tester has both iPhone and iPad and I know there both running the same version of iOS. iPhone doesn't get the message but the iPad does. I will find out if there both up to the latest 13.x.x. (it flew out of my head after I heard th

RE: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Ralph DiMola via use-livecode
ssage- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Waddingham via use-livecode Sent: Thursday, August 13, 2020 1:09 PM To: How to use LiveCode Cc: Mark Waddingham Subject: Re: Browser Widget and Twitter on iOS 13 On 2020-08-13 17:06, Ralph DiMola via use-liv

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Mark Waddingham via use-livecode
On 2020-08-13 17:06, Ralph DiMola via use-livecode wrote: Thanks Mark. I searched all stacks for "userAgent" and it did not exist. After I got some more feedback it is working on iOS 13 iPhones but not on an iOS 13 iPad. So far this iPad is the only one with this issue. The user tried in Safar

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Prothero@earthlearning via use-livecode
ces > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Mark Waddingham via use-livecode > Sent: Thursday, August 13, 2020 11:16 AM > To: How to use LiveCode > Cc: Mark Waddingham > Sub

RE: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Ralph DiMola via use-livecode
How to use LiveCode Cc: Mark Waddingham Subject: Re: Browser Widget and Twitter on iOS 13 On 2020-08-13 13:46, Ralph DiMola via use-livecode wrote: > When accessing Twitter via the Browser Widget on iOS 13 I get this > error message==> "This browser is no longer supported. Please

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Mark Waddingham via use-livecode
On 2020-08-13 13:46, Ralph DiMola via use-livecode wrote: When accessing Twitter via the Browser Widget on iOS 13 I get this error message==> "This browser is no longer supported. Please switch to a supported browser or disable the extension which masks you browser to continue using twitter.com".

Re: Browser widget scrolling

2020-07-21 Thread J. Landman Gay via use-livecode
On 7/21/20 1:39 AM, Terence Heaford via use-livecode wrote: On 20 Jul 2020, at 21:06, J. Landman Gay via use-livecode wrote: I'm not sure if this is a bug or a feature. It also seems to happen when the widget is empty? Sounds like a bug report is in order. If there is a property avail

Re: Browser widget scrolling

2020-07-20 Thread Terence Heaford via use-livecode
> On 20 Jul 2020, at 21:06, J. Landman Gay via use-livecode > wrote: > > I'm not sure if this is a bug or a feature. It also seems to happen when the widget is empty? Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: Browser widget scrolling

2020-07-20 Thread J. Landman Gay via use-livecode
On 7/20/20 7:43 AM, Terence Heaford via use-livecode wrote: This does not appear to work: set the hScrollbar of widget “myBrowser" to false The scrollbar becomes visible when you drag resize a window. I was expecting there to ne no scrollbar at all. Also the checkboxes in the properties sect

Re: Browser Widget iOS Local Html Files

2020-06-29 Thread Tore Nilsen via use-livecode
t; -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Tore Nilsen via use-livecode > Sent: Monday, June 29, 2020 4:39 PM > To: How to use LiveCode > Cc: Tore Nilsen > Subject: Re: Browser Widget iOS Local Html Files >

RE: Browser Widget iOS Local Html Files

2020-06-29 Thread Ralph DiMola via use-livecode
Sent: Monday, June 29, 2020 4:39 PM To: How to use LiveCode Cc: Tore Nilsen Subject: Re: Browser Widget iOS Local Html Files Have you tried to set the url of the widget to tTemp. This actually loads the page in the widget as if it was any browser. Tore > 29. jun. 2020 kl. 21:56 skrev Ralph Di

Re: Browser Widget iOS Local Html Files

2020-06-29 Thread Tore Nilsen via use-livecode
Have you tried to set the url of the widget to tTemp. This actually loads the page in the widget as if it was any browser. Tore > 29. jun. 2020 kl. 21:56 skrev Ralph DiMola via use-livecode > : > > LC 9.6.0 > > I can't get a local html file to load in iOS browser widget. This is the > first

Re: Browser

2020-06-21 Thread Andrew at MidWest Coast Media via use-livecode
> I am again looking at implementing Javascript charts within a LC browser. > Looking at amCharts. > Got a chart displaying easily within the browser widget. > Tries to print the card but the widget does not print. I’m using amCharts in another project and ran into the same problem: everything

Re: Browser Widget on Linux: how can it become possible to use?

2020-06-09 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: On 6/7/20 1:17 AM, Richard Gaskin via use-livecode wrote: What is needed to make the Browser widget work in LC's Linux engine? http://forums.livecode.com/viewtopic.php?f=4&t=33805&p=189397&hilit=CEF#p189397 Sounds like the Browser widget is completely DOA in LC for Linux.

Re: Browser Widget on Linux: how can it become possible to use?

2020-06-09 Thread Mark Wieder via use-livecode
On 6/7/20 1:17 AM, Richard Gaskin via use-livecode wrote: What is needed to make the Browser widget work in LC's Linux engine? http://forums.livecode.com/viewtopic.php?f=4&t=33805&p=189397&hilit=CEF#p189397 -- Mark Wieder ahsoftw...@gmail.com ___

Re: Browser selections

2019-09-12 Thread hh via use-livecode
Perhaps you wish to select the text (not getting the selected text what is more difficult) of a textarea with id='j1" then you can do: on mouseUp put 10 into selStart; put 20 into selEnd do "document.getElementById('j1')." & \ "setSelectionRange("& selStart,selEnd &");" in widget "browser

Re: Browser selections

2019-09-12 Thread J. Landman Gay via use-livecode
On 9/12/19 5:01 PM, hh via use-livecode wrote: JLG wrote: Is there a way select text by script in a browser widget? I thought I'd done that before but I don't see a command for it now. You certainly didn't that without javascript. Here is a demostack that shows how to do that, only a few line

Re: Browser selections

2019-09-12 Thread hh via use-livecode
> JLG wrote: > Is there a way select text by script in a browser widget? I thought I'd > done that before but I don't see a command for it now. You certainly didn't that without javascript. Here is a demostack that shows how to do that, only a few lines are needed for using a javascriptHandler:

Re: Browser widget cookies?

2019-08-28 Thread Tom Glod via use-livecode
Awesome! new possibilities! Thanks On Wed, Aug 28, 2019 at 5:58 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Geoff C. wrote: > > If I set the url for the browser widget to a url, and the > > server sets a cookie, can I read/modify/delete that cookie? > > Cookie structure (it

Re: Browser widget cookies?

2019-08-28 Thread hh via use-livecode
> Geoff C. wrote: > If I set the url for the browser widget to a url, and the > server sets a cookie, can I read/modify/delete that cookie? Cookie structure (itemdel is ";"). item 1: A "name = value" pair containing the actual data, item 2: An expiry date after which it is no longer valid, i

Re: Browser widget - is there something similar to browserBeforeNavigate

2019-05-06 Thread Matthias Rebbe via use-livecode
Thanks Hermann for the sample script. Regards, Matthias > Am 06.05.2019 um 14:24 schrieb hh via use-livecode > : > > The problem is that you cannot cancel the page navigation in the widget, > not even by using simple JavaScript (unbeforeunload). > > Find below instead a way to "revert" the n

Re: Browser widget - is there something similar to browserBeforeNavigate

2019-05-06 Thread hh via use-livecode
The problem is that you cannot cancel the page navigation in the widget, not even by using simple JavaScript (unbeforeunload). Find below instead a way to "revert" the navigation. If you don't want to hide the widget you can similarly use two widgets and change their layer. Or you can show a snaps

Re: Browser widget - is there something similar to browserBeforeNavigate

2019-05-05 Thread Matthias Rebbe via use-livecode
Yes, it´s the same. Sorry, forgot to mention that also. Seems to be little late here. Matthias > Am 06.05.2019 um 00:26 schrieb Ralph DiMola via use-livecode > mailto:use-livecode@lists.runrev.com>>: > > Did you try browserDocumentLoadBegin ? > > Ralph DiMola > IT Director > Evergreen Inf

RE: Browser widget - is there something similar to browserBeforeNavigate

2019-05-05 Thread Ralph DiMola via use-livecode
To: How to use LiveCode Cc: Matthias Rebbe Subject: Re: Browser widget - is there something similar to browserBeforeNavigate Thanks Ralph, tried that already (should have mentioned that), but the URL is loaded right away in the widget and then the script in the message handler browserNavigateBegin

Re: Browser widget - is there something similar to browserBeforeNavigate

2019-05-05 Thread Matthias Rebbe via use-livecode
The is of course not in my scripts. > Am 05.05.2019 um 23:57 schrieb Matthias Rebbe via use-livecode > mailto:use-livecode@lists.runrev.com>>: > > Thanks Ralph, > > tried that already (should have mentioned that), but the URL is loaded right > away in the widget and then the script in th

Re: Browser widget - is there something similar to browserBeforeNavigate

2019-05-05 Thread Matthias Rebbe via use-livecode
Thanks Ralph, tried that already (should have mentioned that), but the URL is loaded right away in the widget and then the script in the message handler browserNavigateBegin is executed. This is my script on browserNavigateBegin pURL if not (pURL begins with "https://forums.livecode.com <

RE: Browser widget - is there something similar to browserBeforeNavigate

2019-05-05 Thread Ralph DiMola via use-livecode
browserNavigateBegin Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Matthias Rebbe via use-livecode Sent: Sunday, May 05, 2019 5:36 PM To: How to use LiveC

Re: Browser HTML Source & URLs

2019-04-18 Thread hh via use-livecode
What you've seen is the difference of the htmltext of a browser (also of a browser widget) and the *generated* htmltext. The latter includes for example also parts that are generated by JavaScript parts of the htmltext. > BobS. wrote: > I've seen that too. > > > Rick H. wrote: > > I thought it w

Re: Browser HTML Source & URLs

2019-04-18 Thread Bob Sneidar via use-livecode
I've seen that too. Bob S > On Apr 17, 2019, at 11:22 , Rick Harrison via use-livecode > wrote: > > Thanks for getting back to me on this. > >> The htmltext is the page source code. So >> >> put the htmltext of widget "browser" into field 1 > > I thought it was the source code originally

Re: Browser HTML Source & URLs

2019-04-17 Thread Richard Gaskin via use-livecode
Brian Milby wrote: > Htmltext of a field is not the same as htmltext of the browser widget. One of the best ideas Mark Waddingham ever had that he later abandoned was about ten years ago when he proposed adding "xmlText" as a synonym for "htmlText", flagging "htmlText" for eventual deprecation

Re: Browser HTML Source & URLs

2019-04-17 Thread Rick Harrison via use-livecode
Hi Brian and Jacqueline, Thank you for your helpful responses. put url tURL into tSource ..was exactly what I needed! Thanks again, Rick > On Apr 17, 2019, at 2:57 PM, J. Landman Gay via use-livecode > wrote: > > put url tURL into tSource -- the source text __

Re: Browser HTML Source & URLs

2019-04-17 Thread J. Landman Gay via use-livecode
Try this: put url tURL into tSource -- the source text set the htmlText of fld "HTMLText" to tSource -- LC's display LC only supports a subset of HTML, so when you put the source into a field, only the supported parts go in. But you can grab the unadultered source first. On 4/17/19 1:22

Re: Browser HTML Source & URLs

2019-04-17 Thread Brian Milby via use-livecode
Htmltext of a field is not the same as htmltext of the browser widget.  A LiveCode field only supports a fraction of html.  In your example you need to just set the text of the field to see the page source.  Setting htmetext forces LiveCode to render the html and anything it does not understand

Re: Browser HTML Source & URLs

2019-04-17 Thread Rick Harrison via use-livecode
Thanks for getting back to me on this. > The htmltext is the page source code. So > > put the htmltext of widget "browser" into field 1 I thought it was the source code originally too, but it doesn’t work correctly. For example: set the HTMLText of field "HTMLTextField1" to URL field "WebAddre

Re: Browser HTML Source & URLs

2019-04-17 Thread Håkan Liljegren via use-livecode
You can execute a small javascript to grab the HTML. I’ve done something similar in an Instagram Scraper I just built…. First you need to set up a callback function in the widget under javascript handlers e.g. jscallback then you can call a javascript that calls you back with whatever you want.

Re: Browser HTML Source & URLs

2019-04-17 Thread hh via use-livecode
> Rick H. wrote: > I am able to load the browser widget with a URL > and go to the URL successfully. > > I can get the HTMLtext of the page I have browsed to just fine. > What I have yet to do is to get the page source code of the page > I have browsed to in LiveCode into a field. The htmltext is

Re: Browser selections

2019-04-10 Thread JJS via use-livecode
You're welcome! You helped me so often on the forum :) Op 10-4-2019 om 19:56 schreef J. Landman Gay via use-livecode: Thanks for the details. It doesn't do what I need but it could come in handy in the future. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://w

Re: Browser selections

2019-04-10 Thread J. Landman Gay via use-livecode
Thanks for the details. It doesn't do what I need but it could come in handy in the future. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 10, 2019 12:46:12 PM JJS via use-livecode wrote: Jacque, what i do is echo only a si

Re: Browser selections

2019-04-10 Thread JJS via use-livecode
Jacque, what i do is echo only a single line as a webpage. The php file is only called by the API, because i send it with the data to the api as a return address. There is no hilited text. Before this php file would contain the URL scheme and reopen the app to continue where it was, but no

Re: Browser selections

2019-04-09 Thread J. Landman Gay via use-livecode
I was replying to you, JJS. I might be confused about how your method works. How does returning a line from the server allow hiliting text in the widget? On 4/9/19 12:33 PM, JJS via use-livecode wrote: Who are you referring to Jacque? hh or me? If it's me, then: i echo only one line of text

Re: Browser selections

2019-04-09 Thread JJS via use-livecode
Who are you referring to Jacque? hh or me? If it's me, then: i echo only one line of text with the php file which is called after the api routine succeeded. this way i can just look for that one sentence, it goes so fast you can't see it and the app switches to another card Op 8-4-2019 o

Re: Browser selections

2019-04-08 Thread J. Landman Gay via use-livecode
Actually, I need to hilite a portion of the text in the browser rather than just get the whole content. Are you doing that? Eventually I may need to get the user's drag-selection too, but not yet. On 4/8/19 12:22 PM, JJS via use-livecode wrote: you can use this: *put*thehtmlTextofwidget"brow

Re: Browser selections

2019-04-08 Thread J. Landman Gay via use-livecode
Thanks. I don't know JavaScript so it's a little over my head, but I'll try it. On 4/8/19 6:22 AM, hh via use-livecode wrote: (Getting the selection of a browser widget: Aee my previous post). Setting the selection of a browser widget: Assume you have an element click me in your webpage. Then

Re: Browser selections

2019-04-08 Thread JJS via use-livecode
you can use this: *put*thehtmlTextofwidget"browser"intotT i use this now for an api which redirects to a php file which echoes a line of text (as normally it would use the URL scheme, but this does not work with the widget) this way i could use the  browser widget and stay in the app(mobile

Re: Browser selections

2019-04-08 Thread hh via use-livecode
(Getting the selection of a browser widget: Aee my previous post). Setting the selection of a browser widget: Assume you have an element click me in your webpage. Then the following selects char 1 to 4 of the link text (= "clic"). on mouseUp put "var node = document.getElementById('jlg1').firs

Re: Browser selections

2019-04-08 Thread hh via use-livecode
> Is there a way to get/set selected text in a browser widget? > I couldn't find anything. Why is the LC Builder forum not among your search places? With LC Script: No. With JavaScript. Yes. http://forums.livecode.com/viewtopic.php?p=174936#p174936 ___

Re: Browser layering

2019-04-01 Thread hh via use-livecode
> Brian M. wrote: > May be able to take a screen shot, show it, hide the real browser, > show the tree widget. That does require that the browser contains > something static and user can’t interact with the browser while the > tree is visible. This is probably the easiest solution. But problems ma

Re: Browser layering

2019-04-01 Thread J. Landman Gay via use-livecode
I see. Thanks. It looks like a redesign is in order. On 4/1/19 1:59 PM, Brian Milby via use-livecode wrote: Any native control will layer adove everything generated by LC.  So the portion of widgets that are native hover over everything non-native.  You can layer native widgets, but not all wo

Re: Browser layering

2019-04-01 Thread Brian Milby via use-livecode
Any native control will layer adove everything generated by LC.  So the portion of widgets that are native hover over everything non-native.  You can layer native widgets, but not all work the same (browser seems to be on top of other native controls for example). Thanks, Brian On Apr 1, 2019,

Re: Browser widget and downloading of files

2019-03-20 Thread Tore Nilsen via use-livecode
Thank you very much, this did the trick! Best regards Tore > 20. mar. 2019 kl. 22:09 skrev hh via use-livecode > : > > on browserUnhandledLoadRequest pURl > -- do your thing with pURL, for example: > -- use libURL for showing progress > put url(pURL) into > end browserUnhandledLoadRequest

Re: Browser widget and downloading of files

2019-03-20 Thread hh via use-livecode
> Tore N. wrote: > Are there any ways to start a download of a file via a link in > the browser widget? It works fine in any other browser ... on browserUnhandledLoadRequest pURl -- do your thing with pURL, for example: -- use libURL for showing progress put url(pURL) into end browserUnhand

Re: Browser widget and downloading of files

2019-03-20 Thread Stephen Barncard via use-livecode
I think one has to specifically capture the link-click and deal with it in one's own code. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Mar 20, 2019 at 10:13 AM Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > Are there any ways to start a download of a

Re: Browser widget and PDFs

2018-11-26 Thread Bob Sneidar via use-livecode
I thing there is an Open With option likw Wndows has. Try right clicking apdf and see if you can see an always open with option. Bob S > On Nov 22, 2018, at 08:53 , Tore Nilsen via use-livecode > wrote: > > I have come across a puzzling phenomenon in how the browser widget handles > pdfs. O

Re: Browser Widget Problem in Android

2018-11-25 Thread J. Landman Gay via use-livecode
Did you get a map API key as the dictionary describes? "Note: In order to use the map widget on Android, you must create a Google Maps V2 API key for your app, and set it in the standalone settings for the map widget via the cog icon in the Inclusions pane of the standalone settings stack."

Re: Browser Widget Problem in Android

2018-11-25 Thread Andrew Bell via use-livecode
Mike- Attachments don't make their way onto the list, so we can't see your settings. You said a "map browser widget" but that doesn't exist in LiveCode: Map widget does, and Browser widget does, but no Map Browser widget. I think you're talking about the Browser widget based off the thread

Re: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
Thank you all for your responses, they helped me solve the problem for my part. It is indeed the Adobe web Plugin that is the key to this. Although I have never checked that I would like to use this plugin, it seems as if just launching Acrobat will do this automatically. In the Acrobat preferen

Re: Browser widget and PDFs

2018-11-22 Thread hh via use-livecode
If the PDF is embedded by ordinary HTML (= set url of the browser widget or use in its htmlText , or ) then you can't decide for the user which plugin to use. But the user can force this for himself by moving the corresponding plugin(s) in/out of the plugins-folder (which is on Mac "/Library/Inte

Re: Browser widget and PDFs

2018-11-22 Thread Klaus major-k via use-livecode
Hi Tore, > Am 22.11.2018 um 18:01 schrieb Tore Nilsen via use-livecode > : > I don’t think so, as the default app is set to be Preview on both machines. > In fact I had forgot I had Acrobat installed on my laptop. > Tore Nilsen >> Could this be related to the default app that handles PDF on your

Re: Browser widget and PDFs

2018-11-22 Thread Tore Nilsen via use-livecode
I don’t think so, as the default app is set to be Preview on both machines. In fact I had forgot I had Acrobat installed on my laptop. Tore Nilsen > 22. nov. 2018 kl. 17:56 skrev Brian Milby via use-livecode > : > > Could this be related to the default app that handles PDF on your Mac?

Re: Browser widget and PDFs

2018-11-22 Thread Brian Milby via use-livecode
Could this be related to the default app that handles PDF on your Mac? Thanks, Brian On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode , wrote: > I have come across a puzzling phenomenon in how the browser widget handles > pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat i

Re: Browser widget and mailto link.

2018-11-01 Thread Sannyasin Brahmanathaswami via use-livecode
There is a known bug in iOS 12 that breaks the javascript handlers. I had to immediately ship a version of SivaSiva app, without the "Lexicon" -- which is an HTML5 package in the app, playing the browser widget -- I believe they have fixed it, and it will get in 9.0.2 rc 1. (any day now? but I

Re: Browser widget and mailto link.

2018-10-31 Thread Ludovic THEBAULT via use-livecode
> Le 30 oct. 2018 à 19:08, Ludovic THEBAULT via use-livecode > a écrit : > > Hello, > > is it normal that email links (mailto:x...@xx.com > »>my mail) do not work in a web page displayed with > the browser widget? > Livecode 9.01 - tested on iOS. > I’ve made a sample s

Re: (browser) focus hocus pocus broke us

2018-09-26 Thread Mike Kerner via use-livecode
FYI, Paul's final example, which is like an LC version of acrobat reader, now has its own repo (https://github.com/macmikey/xpdf) On Tue, Sep 25, 2018 at 10:58 AM Mike Kerner wrote: > h, so far so good. > It's really embarrassing that I didn't remember xpdf. At all. Especially > since Paul

Re: (browser) focus hocus pocus broke us

2018-09-25 Thread Mike Kerner via use-livecode
h, so far so good. It's really embarrassing that I didn't remember xpdf. At all. Especially since Paul did a video about it at LCG THIS YEAR. Watching it again now. Thanks PM! On Tue, Sep 25, 2018 at 9:07 AM Mike Kerner wrote: > We do have a business license, and I have no idea what xpdf

  1   2   3   >