Re: (Browser) Widget documentation

2017-09-20 Thread Ali Lloyd via use-livecode
> properties/commands/functions of widgets? E.g. the properties of a > Segmented > > Control widget? > > More specific immediate question: where can I find a reference for the > Browser widget? > > In the dictionary (sorted by random) or in tinydict (sorted) choose the > w

Re: (Browser) Widget documentation

2017-09-20 Thread hh via use-livecode
> Ben R. wrote: > General question: where can users find a reference to the supported > properties/commands/functions of widgets? E.g. the properties of a Segmented > Control widget? > More specific immediate question: where can I find a reference for the > Browser widget?

Re: (Browser) Widget documentation

2017-09-20 Thread Brian Milby via use-livecode
ode@lists.runrev.com> wrote: > General question: where can users find a reference to the supported > properties/commands/functions of widgets? E.g. the properties of a > Segmented Control widget? > > More specific immediate question: where can I find a reference for the > Browser widget

(Browser) Widget documentation

2017-09-20 Thread Ben Rubinstein via use-livecode
General question: where can users find a reference to the supported properties/commands/functions of widgets? E.g. the properties of a Segmented Control widget? More specific immediate question: where can I find a reference for the Browser widget? Even more specific question: how can I

Re: Browser widget android local file problem

2017-09-04 Thread Alan via use-livecode
Hi Jacque, Jonathan Thanks for the replies and questions and sorry for the slow reply!. They did lead me to question whether my file was being created correctly - it wasn't. There also seems to be a difference in the way html files are loaded. Anyway, it works now. Thanks for the info about

Re: mobileConrolDo to Browser Widget

2017-08-28 Thread Dan Friedman via use-livecode
Klaus, Thank you! That did the trick! -Dan Hi Dan, > Am 28.08.2017 um 19:54 schrieb Dan Friedman via use-livecode lists.runrev.com<http://lists.runrev.com/mailman/listinfo/use-livecode>>: > > Is is possible to call a javascript to a browser widget?For example: >

Re: mobileConrolDo to Browser Widget

2017-08-28 Thread Klaus major-k via use-livecode
Hi Dan, > Am 28.08.2017 um 19:54 schrieb Dan Friedman via use-livecode > <use-livecode@lists.runrev.com>: > > Is is possible to call a javascript to a browser widget?For example: > mobileControlDo "Browser1","execute",("doAn

mobileConrolDo to Browser Widget

2017-08-28 Thread Dan Friedman via use-livecode
Is is possible to call a javascript to a browser widget?For example: mobileControlDo "Browser1","execute",("doAnswer()") Where the widget is named “Browser1”. Is this possible? Thank you in advance, -Dan ___

Adjusting browser widget contents for the keyboard in android

2017-08-25 Thread Jonathan Lynch via use-livecode
Has anyone had success with this? I have tried many suggestions from stack overflow and other sites with no luck. On an iPad this happens automatically. Not at all on android. Sent from my iPhone ___ use-livecode mailing list

Re: Browser widget android local file problem

2017-08-24 Thread J. Landman Gay via use-livecode
On 8/24/17 8:29 AM, Alan via use-livecode wrote: Any ideas why there's a difference between the resources and documents specialFolderPaths? Why does the "documents" specialFolderPath here start with/data/data/ and the resources one start with/data/app/ ?? Like on a desktop machine, the

Re: Browser widget android local file problem

2017-08-24 Thread Jonathan Lynch via use-livecode
Hi Alan - setting the htmltext of the widget works fine for me. My map data comes from Bing. What is going wrong when you do that? Sent from my iPhone > On Aug 24, 2017, at 9:29 AM, Alan via use-livecode > wrote: > > Am having a problem loading a local file

Browser widget android local file problem

2017-08-24 Thread Alan via use-livecode
Am having a problem loading a local file that displays a Google map on the Android emulator. LC 8.1.6. I was also having a problem with local HTML files in general, but got that going. Using the same method for a dynamically created map document, located in the specialfolderpath("documents")

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
ser (images are resized before > being loaded to ensure this) so no horizontal scrolling will be required > under any circumstances. > > Anyway, you don’t seem to be able to toggle either scrollbar off either > using the property inspector or via script, even when the br

Re: Couple of questions about the browser widget

2017-08-16 Thread Mike Bonner via use-livecode
d will be wider than the browser (images are resized before > being loaded to ensure this) so no horizontal scrolling will be required > under any circumstances. > > Anyway, you don’t seem to be able to toggle either scrollbar off either > using the property inspector or via script

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
under any circumstances. Anyway, you don’t seem to be able to toggle either scrollbar off either using the property inspector or via script, even when the browser widget has no content (no htmlText or url assigned). Given that I’m setting the height of the widget so that it doesn’t need

Re: Couple of questions about the browser widget

2017-08-16 Thread Jonathan Lynch via use-livecode
42 AM, Terry Judd via use-livecode < >>use-livecode@lists.runrev.com> wrote: >> >>> Thanks hh that's really helpful stuff. Thanks also to Jonathan and >> Mike. >>> >>> Regards, >>> >>> Terry... >>> >>> Sent fr

Re: Couple of questions about the browser widget

2017-08-16 Thread Mike Bonner via use-livecode
> > > Sent from my iPad > > > > > On 16 Aug 2017, at 9:00 pm, hh via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > > Additional to Jonathan's instructions. > > > > > >

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
vecode@lists.runrev.com> wrote: > > > > Additional to Jonathan's instructions. > > > > Basic: > > http://forums.livecode.com/viewtopic.php?f=7=29589 > > > > Medium: Get MouseEvents from browser widget > > http://forums.

Re: Couple of questions about the browser widget

2017-08-16 Thread Mike Bonner via use-livecode
hh via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Additional to Jonathan's instructions. > > > > Basic: > > http://forums.livecode.com/viewtopic.php?f=7=29589 > > > > Medium: Get MouseEvents from browser widget > > http://

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
http://forums.livecode.com/viewtopic.php?f=7=29589 > > Medium: Get MouseEvents from browser widget > http://forums.livecode.com/viewtopic.php?p=154496#p154496 > > and others there (7 Browser Widget usage examples) ... > > ___ > use-li

Re: Couple of questions about the browser widget

2017-08-16 Thread hh via use-livecode
Additional to Jonathan's instructions. Basic: http://forums.livecode.com/viewtopic.php?f=7=29589 Medium: Get MouseEvents from browser widget http://forums.livecode.com/viewtopic.php?p=154496#p154496 and others there (7 Browser Widget usage examples

Re: Couple of questions about the browser widget

2017-08-16 Thread Jonathan Lynch via use-livecode
duce an LC answer dialog that says "test" The keys to making this work: 1. the JS object is "liveCode" not "LiveCode" or "livecode" - JS is case sensitive. 2. The method, in this case "myHandler", becomes the LC handler, so make sure the LC han

Re: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
Hi Mike – yeah thanks, the temp file approach for setting the browser widget and getting an image to display works well so maybe easiest to go that way. I’m still steeling myself for a foray into javascript so haven’t tried anything on that front yet. I’ve got some Dropbox library related stuff

Re: Couple of questions about the browser widget

2017-08-15 Thread Mike Bonner via use-livecode
creating a temp file and setting the url which works..) To show an image you can use something like this.. (windows of course) Getting the javascripthandlers to work might take the input of another. I can't seem to make it go. (Note also, I looked in the dictionary for the browser widget and used

Re: Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
. On Tue, Aug 15, 2017 at 5:55 PM, Terry Judd via use-livecode < use-livecode@lists.runrev.com> wrote: > I’m thinking about replacing a field object that contains text, inline > images and simple tables with the browser widget but there are a couple of > i

Re: Couple of questions about the browser widget

2017-08-15 Thread Mike Bonner via use-livecode
t; images and simple tables with the browser widget but there are a couple of > issues I’d need to work through first and would welcome any suggestions or > ideas. > > The first one concerns displaying local images – either stored > (permanently or temporarily) within the stack itself or in the l

Couple of questions about the browser widget

2017-08-15 Thread Terry Judd via use-livecode
I’m thinking about replacing a field object that contains text, inline images and simple tables with the browser widget but there are a couple of issues I’d need to work through first and would welcome any suggestions or ideas. The first one concerns displaying local images – either stored

Subject: Re: Local File in Browser Widget on Android - Fail

2017-08-11 Thread Dan Friedman via use-livecode
ile” test proves the existence of the file. So, here’s what I do, I load the html template from a custom property. In my html document, I have this: historicalOverlay = new google.maps.GroundOverlay('/MapFinal.png',imageBounds); I then insert the local path: replace "" wit

Re: Local File in Browser Widget on Android - Fail

2017-08-10 Thread Sannyasin Brahmanathaswami via use-livecode
de" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote: I’m having a problem loading a local file on Android in the Browser Widget in LC 8.1.5. I am experiencing what is described in bug 19036. But, bug 19036’s status is

Local File in Browser Widget on Android - Fail

2017-08-10 Thread Dan Friedman via use-livecode
I’m having a problem loading a local file on Android in the Browser Widget in LC 8.1.5. I am experiencing what is described in bug 19036. But, bug 19036’s status is “Resolved” in version 8.0.0. So, is something else up? Anyone have any insight? -Dan

Re: Android Browser Widget JS problem

2017-08-09 Thread Jonathan Lynch via use-livecode
Thanks Hermann, I have that page, but the event object does not have touches in it, which apparently is some times an issue with android webviews. It does have e.latitude and e.longitude, which tells me that the webglearth library is modifying the event object but is not keeping e.pageX and

Re: Android Browser Widget JS problem

2017-08-09 Thread hh via use-livecode
Have you already seen the answer from here: https://stackoverflow.com/questions/9585487/cant-get-coordinates-of-touchevents-in-javascript-on-android-devices ?? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Android Browser Widget JS problem

2017-08-08 Thread Jonathan Lynch via use-livecode
Thanks Hermann, Weirdly, it is not generating touch events, just mouse events. Even so, mouse move should generate e.screenX. Actually, clientX, screenX, and pageX are all in the available properties from the event object, but they do not have usable content. Sent from my iPhone > On Aug 8,

Re: Android Browser Widget JS problem

2017-08-08 Thread hh via use-livecode
Did you already read https://www.html5rocks.com/en/mobile/touch/ to that? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Android Browser Widget JS problem

2017-08-08 Thread Jonathan Lynch via use-livecode
On any other platform, javascript has had no trouble detecting clientX,screenX,and pageX following touch events and mouse events. These are how JS detects where the user's finger is, on the screen. On the browser widget in android (6.0.1) it is just returning undefined or 0. Can anyone suggest

Re: Another Browser Widget Question

2017-07-28 Thread Bleiler, Timothy via use-livecode
in the dictionary that look applicable. >>> If one of these was expected to work, then I’ll file the bug report. >> >> Please do file a report - they are the only messages it sends, so if you get >> none of them then there is a 'hole' here. >> >> I'm

Re: Another Browser Widget Question

2017-07-28 Thread Mark Waddingham via use-livecode
On 2017-07-28 20:35, Matthias Rebbe via use-livecode wrote: I´ve just filed a bug report about the problem that links that should open in a separate tab are not opened in Browserwidget Bug 20200 Thanks Matthias. In this case - I think this

Re: Another Browser Widget Question

2017-07-28 Thread Matthias Rebbe via use-livecode
e. >> If one of these was expected to work, then I’ll file the bug report. > > Please do file a report - they are the only messages it sends, so if you get > none of them then there is a 'hole' here. > > I'm in a different timezone to the UK at the moment so can't just harangue >

Re: Another Browser Widget Question

2017-07-28 Thread Mark Waddingham via use-livecode
then there is a 'hole' here. I'm in a different timezone to the UK at the moment so can't just harangue Ian (who has done most of the work on the browser widget) to ask - so at least if there's a report, I won't forget about it by Monday :) Warmest Regards, Mark. -- Mark Waddingham ~ m

Re: Another Browser Widget Question

2017-07-28 Thread Bleiler, Timothy via use-livecode
Thank you Mark, I'm reluctant to file a bug report if I’m just not handling the appropriate message. I’ve tried catching the following messages in the script of the browser widget and none of them appear to be sent when clicking on the example link in a page with nothing else defined. The web

Re: Another Browser Widget Question

2017-07-28 Thread Mark Waddingham via use-livecode
On 2017-07-28 19:30, Bleiler, Timothy via use-livecode wrote: It’s the browser’s responsibility to handle this html syntax https://www.w3schools.com; target="_blank">Visit W3Schools Is there a way to deal with this using the browser widget in Livecode? In the context of the b

Re: Another Browser Widget Question

2017-07-28 Thread Jonathan Lynch via use-livecode
> This has been asked before on this list and in the forums and I’ve never seen > even a single reply. > I assume it’s either blindingly obvious or something we’re "not supposed to > do." > > When a web page loaded in the current Livecode browser widget contains a lin

Another Browser Widget Question

2017-07-28 Thread Bleiler, Timothy via use-livecode
Hi, This has been asked before on this list and in the forums and I’ve never seen even a single reply. I assume it’s either blindingly obvious or something we’re "not supposed to do." When a web page loaded in the current Livecode browser widget contains a link that should be opene

Re: Restrict navigation in browser widget

2017-07-26 Thread hh via use-livecode
> I am currently preparing the coursework for next years classes in programming. > Working with the browser widget, I am trying to restrict navigation in a a > widget > to a specific domain, but have run into a problem I can not get my head > around. I > use the browserNavigateBegi

Restrict navigation in browser widget

2017-07-26 Thread Tore Nilsen via use-livecode
I am currently preparing the coursework for next years classes in programming. Working with the browser widget, I am trying to restrict navigation in a a widget to a specific domain, but have run into a problem I can not get my head around. I use the browserNavigateBegin message to capture

Re: Correct img format for browser widget.

2017-07-17 Thread james--- via use-livecode
Hi Jonathan, Cool. Works a treat and no need for array. Using a percentage also means I can allow the browser widget to be resized. Very cool. img { Max-width: 90%; } James On 17 Jul 2017, at 22:00, jonathandly...@gmail.com wrote: > Just a quick note - you can set the max-wi

Re: Correct img format for browser widget.

2017-07-17 Thread Jonathan Lynch via use-livecode
rmann and Jonathan > > It took me a little time but I worked out what to do after looking at your > suggestions. > > The fact that setting the htmltext of the browser widget breaks the img URL's > makes sense from a security and logical point of view. > > I then tried Jo

Re: Correct img format for browser widget.

2017-07-17 Thread Jonathan Lynch via use-livecode
:42 PM, James Hale via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Thank you so much Hermann and Jonathan > > It took me a little time but I worked out what to do after looking at your > suggestions. > > The fact that setting the htmltext of the br

Re: Correct img format for browser widget.

2017-07-16 Thread James Hale via use-livecode
Thank you so much Hermann and Jonathan It took me a little time but I worked out what to do after looking at your suggestions. The fact that setting the htmltext of the browser widget breaks the img URL's makes sense from a security and logical point of view. I then tried Jonathan's technique

Re: Correct img format for browser widget.

2017-07-16 Thread hh via use-livecode
An option for James could be to put ONE html-file in the images folder with content: And then set any image of that images folder by changing the HTML by javascript: on mouseUp put "flower2.png" into nn -- give the name directly put line 42 of myImages into nn -- a list containing the

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
James - if you look at the example stack on LiveCode share "browser widget image manipulator" it has some LC code for creating a dataURl for an image. Use that to create the data URL for the image. Basically: Get the image info from the image file like this: Put URL "bi

Re: Correct img format for browser widget.

2017-07-16 Thread hh via use-livecode
> Jonathan wrote: > Is this part of the same-source policy for web pages? The HTML file and the > image file > needing to be in the same folder? No. I wrote this only because the example used a relative path pointing to the same folder: > Example htmltext of the widget or text of the file

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
So - thinking about this dime more - the browser widget uses a dummy URL if not told to load a specific URL, and the dummy URL would not have permission to access local drives, for security reasons. That would mean the "file:///" prefix would not work either. So he would have to e

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
t a (local) server when using a browser widget. > > Although you can NOT display an image from disk without javascript by > only setting the htmltext with a correct filepath, for example as follows. > (This is a browser engine thing, can not be influenced by the widget.) > > Ex

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
One other solution... You can convert the image source to a data URL. You can construct the htmltext for the dataurl in LC, and replace the current image SRC information with dataURL SRC information. Then, when you set the htmltext of the browser widget, the images will show up without needing

Re: Correct img format for browser widget.

2017-07-16 Thread Jonathan Lynch via use-livecode
the "file:///" prefix inside the HTML text of the browser widget. I have not tested this, but it has worked for me in the past. Sent from my iPhone > On Jul 16, 2017, at 1:53 AM, James Hale via use-livecode > <use-livecode@lists.runrev.com> wrote: > > hh wrote: > >

Re: Correct img format for browser widget.

2017-07-16 Thread hh via use-livecode
You can have that without a (local) server when using a browser widget. Although you can NOT display an image from disk without javascript by only setting the htmltext with a correct filepath, for example as follows. (This is a browser engine thing, can not be influenced by the widget.) Example

Re: Correct img format for browser widget.

2017-07-15 Thread James Hale via use-livecode
ed in the text field. However, this displays the images at the size they exist on disk. I notice the dictionary (which is using the browser widget) does not do this. It actually scales the images down where required. So I thought rather than set the htmltext of the field, let me set th

Re: Correct img format for browser widget.

2017-07-15 Thread hh via use-livecode
he relative path has to be relative to the *calling webpage* (the stack path doesn't matter). > James H. wrote: > Can someone tell me the correct format for an image src tag to use with the > browser widget? > I have a folder of HTML and an associated folder of images yet I am unable to

Re: Correct img format for browser widget.

2017-07-15 Thread hh via use-livecode
/win/linux) or LC 6/7/8/9 (Mac) from "Sample stacks" of the LC toolbar. > James H. wrote: > Can someone tell me the correct format for an image src tag to use with the > browser widget? > I have a folder of HTML and an associated folder of images yet I am unable to > get the i

Correct img format for browser widget.

2017-07-14 Thread james--- via use-livecode
Can someone tell me the correct format for an image src tag to use with the browser widget? I have a folder of HTML and an associated folder of images yet I am unable to get the images to show. They are .png. I have tried Src = "full path to image" Src = "relative path to im

Re: iOS Browser Widget and PDFs? SOLVED

2017-07-07 Thread Jonathan Lynch via use-livecode
that the - set url of the widget “quoteBrowser” - is >> set to on the , correct? >> >> Thank you! >> >> >>> On Jul 6, 2017, at 3:19 PM, JOHN PATTEN via use-livecode >>> <use-livecode@lists.runrev.com> wrote: >>> >>>

Re: iOS Browser Widget and PDFs? SOLVED

2017-07-07 Thread JOHN PATTEN via use-livecode
is > set to on the , correct? > > Thank you! > > >> On Jul 6, 2017, at 3:19 PM, JOHN PATTEN via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Hi All! >> >> I have little app that I’m using track our department quotes/pur

Re: iOS Browser Widget and PDFs?

2017-07-06 Thread JOHN PATTEN via use-livecode
ot; of cd id 1067 to "on mouseUp" & return & > "Launch url " & quote & "file:" & vPath & quote & return & "end mouseUp" > > > Again this works fine on my Mac and on the iOS simulator. The PDF shows up > just fi

iOS Browser Widget and PDFs?

2017-07-06 Thread JOHN PATTEN via use-livecode
Hi All! I have little app that I’m using track our department quotes/purchases etc. It pulls the info out of a mySQl db. I have an issue with browser widget displaying the pdf quotes on iOS. The app pulls the PDF out of mysql via: Put "SELECT attachment FROM quotes WHERE name ='"

Re: Pinch and Zoom in Browser Widget

2017-07-04 Thread Sannyasin Brahmanathaswami via use-livecode
Oh… (sad face) it appears to be a feature of Safari on iOS Safari on desktop Chrome on Desktop. But I am unable to pinch zoom the same page (yes I have a track pad on my Macbook pro) a) in FireFox on Mac b) on Android/Chrome c) Browser widget in LC on either iOS app or Android. ouch

Re: Pinch and Zoom in Browser Widget

2017-07-03 Thread Colin Holgate via use-livecode
> We can to go a web page in Safari in iOS or Chrome on Android and pinch and > zoom in. > > The same web page, shown in the browser widget is non-responsive to pinch and > zoom out > > Is there a solution for this? > > BR

Pinch and Zoom in Browser Widget

2017-07-03 Thread Sannyasin Brahmanathaswami via use-livecode
We can to go a web page in Safari in iOS or Chrome on Android and pinch and zoom in. The same web page, shown in the browser widget is non-responsive to pinch and zoom out Is there a solution for this? BR ___ use-livecode mailing list use-livecode

Disallowing overscroll/bounce in the browser widget on iOS

2017-06-29 Thread Jonathan Lynch via use-livecode
Has anyone managed to block that annoying bounce effect? It looks terrible in an app. I tried all sorts of CSS and JS, but no luck. I am going to explore editing the plist, since this is related to a UIWebView setting, but if anyone has already done this, it would be most helpful. Sent from

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread JOHN PATTEN via use-livecode
Thank you! The spaces where the culprit Now working :) > On Jun 21, 2017, at 11:40 AM, Paul Dupuis via use-livecode > <use-livecode@lists.runrev.com> wrote: > > If the browser widget is expecting an encoded URL (i.e. %20 vs a space) > then instead of replacing chara

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread Paul Dupuis via use-livecode
If the browser widget is expecting an encoded URL (i.e. %20 vs a space) then instead of replacing characters, you should use the urlEncode function, as in put URLEncode(tFile) into tFile This way any characters (spaces or Unicode or whatever) that are an issue are properly encoded. On 6/21

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread Mike Bonner via use-livecode
gt; > On Jun 21, 2017, at 10:47 AM, panagiotis merakos via use-livecode < > > > > use-livecode@lists.runrev.com> wrote: > > > > > > > > > > Hi John, > > > > > > > > > > Does the pdf filename you select contain any unic

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread panagiotis merakos via use-livecode
t; > > > Hi John, > > > > > > > > Does the pdf filename you select contain any unicode characters? > > > > > > > > Best, > > > > Panos > > > > -- > > > > > > > > On Wed, Jun 21,

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread Roger Eller via use-livecode
gt; Hi John, > > > > > > Does the pdf filename you select contain any unicode characters? > > > > > > Best, > > > Panos > > > -- > > > > > > On Wed, Jun 21, 2017 at 6:31 PM, JOHN PATTEN via use-livecode < > > > use-live

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread panagiotis merakos via use-livecode
om> wrote: > > > > Hi John, > > > > Does the pdf filename you select contain any unicode characters? > > > > Best, > > Panos > > -- > > > > On Wed, Jun 21, 2017 at 6:31 PM, JOHN PATTEN via use-livecode < > > use-livecode@lists.ru

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread JOHN PATTEN via use-livecode
ou select contain any unicode characters? > > Best, > Panos > -- > > On Wed, Jun 21, 2017 at 6:31 PM, JOHN PATTEN via use-livecode < > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote: > >> Hi All, >> >>

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread panagiotis merakos via use-livecode
Hi John, Does the pdf filename you select contain any unicode characters? Best, Panos -- On Wed, Jun 21, 2017 at 6:31 PM, JOHN PATTEN via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi All, > > I am trying to display a PDF in a browser widget using the tutori

Display PDF in Browser Widget Error?

2017-06-21 Thread JOHN PATTEN via use-livecode
Hi All, I am trying to display a PDF in a browser widget using the tutorial here: http://lessons.livecode.com/m/4071/l/727199-how-do-i-display-a-pdf-in-livecode <http://lessons.livecode.com/m/4071/l/727199-how-do-i-display-a-pdf-in-livecode> and this code: on mouseUp local tFile

Re: Click Download in Browser Widget?

2017-06-12 Thread hh via use-livecode
AFAIK, the file is downloaded, I don't know the place (probably somewhere in /tmp). There is no downloadHandler as in revBrowser. But if one has access to the page then the followong works here: Use a javascriptHandler to get the file url and do the download via LC's get url(). For example: on

Click Download in Browser Widget?

2017-06-11 Thread Scott Rossi via use-livecode
If I click the download link on a page being displayed in the browser widget, what happens with the linked file? Does the download take place and if so, is the file accessible somehow? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI De

Re: Apparent peculiar behavior in browser widget on iOS

2017-05-25 Thread Jonathan Lynch via use-livecode
More specifically - this seems to happen after setting the htmltext by script. It works fine if the browser widget already has the right htmltext when the stack loads. Sent from my iPhone > On May 25, 2017, at 12:59 PM, jonathandly...@gmail.com wrote: > > It appears that one ca

Apparent peculiar behavior in browser widget on iOS

2017-05-25 Thread Jonathan Lynch via use-livecode
It appears that one cannot send a JavaScript message from the browser widget to LC from a JS function initiated by a body onload event. It works on mac, but not on iPhone. It is most peculiar and I am wondering if anyone else has encountered anything like this. Sent from my iPhone

Re: Snaptshot of Browser Widget in iOS?

2017-05-18 Thread Jonathan Lynch via use-livecode
gt; Hi All! > > I am trying to lay some objects (text fields, graphics, etc.) over a browser > widget. I am essentially just taking a screen capture and then layering the > objects on top of the image. Here is my script: > > on mouseUp > lock screen > put the rect of cu

Snaptshot of Browser Widget in iOS?

2017-05-18 Thread JOHN PATTEN via use-livecode
Hi All! I am trying to lay some objects (text fields, graphics, etc.) over a browser widget. I am essentially just taking a screen capture and then layering the objects on top of the image. Here is my script: on mouseUp lock screen put the rect of current stack into tCoord set the width

Browser Widget on Mobile

2017-05-14 Thread Ralph DiMola via use-livecode
I can't seem to find the Browser Widget equivalent of mobileControlGet "canRetreat" and "canAdvance". Do these exist or do I have to go back to the old school mobileControlCreate method? Thanks for any insights! Ralph DiMola IT Director Evergreen Information Services rdim.

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-11 Thread Jonathan Lynch via use-livecode
I agree - but I need fully scalable controls for Augmented Earth now, not later, and the current SVG objects are not complete. My app uses the browser widget anyway, so not worried about the overhead. Sent from my iPhone > On May 11, 2017, at 10:49 AM, Richard Gaskin via use-livecode >

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-11 Thread Richard Gaskin via use-livecode
Alejandro Tejada wrote: >> What is the purpose of the existing SVG widget >> if not to render SVGs? > > SVG widget does not render SVG. To paraphrase the late great Mr. Jobs, why doesn't it do that? What purpose does an SVG widget serve if not to bring SVG into LC? -- Richard Gaskin Fourth

Using a hidden browser widget to create a perfectly scalable LC control

2017-05-11 Thread Alejandro Tejada via use-livecode
> What is the purpose of the existing SVG widget > if not to render SVGs? SVG widget does not render SVG. SVG widget uses the path data of SVG to draw a vector graphic. More surprising is learning that still today, does not exist a SVG render that fully cover the SVG specification... SVG renders

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-11 Thread Richard Gaskin via use-livecode
jonathandlynch wrote: > I just did an experiment. It appears to be possible to have an image > object that stores svg data in a custom property. It connects to a > hidden browser widget to do the following: > > - squirt the svg data into an HTML canvas > - resize the svg image

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-11 Thread Jonathan Lynch via use-livecode
Hi Alejandro, I am almost done. It has a weird bug where the widget only works after the first attempt for each image. It works great after that. I will get it, though. Sent from my iPhone > On May 10, 2017, at 11:09 PM, Alejandro Tejada via use-livecode >

Using a hidden browser widget to create a perfectly scalable LC control

2017-05-10 Thread Alejandro Tejada via use-livecode
Hi All, On May 10, 2017, Hermann wrote: > This is essentially already done by Alejandro with SVGtoPNG, > see the Forum/RichMedia. Many Thanks for remember these stacks! :D They worked more as an experiment or a Proof-of-Concept. Jonathan's work in this area is the real deal. Immediately useful

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-10 Thread hh via use-livecode
Hi Jonathan, if you do it anyway, then you could also add SVG-Filter. Not too much work, they can easily be chained and work fine in the browser widget (where the browser widget works ...). I have it working but have no time for the demostack. Hermann

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-10 Thread Jonathan Lynch via use-livecode
Ah - sorry to reinvent the wheel. I already did it, though, and it allows for live near-perfect resizing, so I will go ahead and share it for that one aspect. Sent from my iPhone > On May 10, 2017, at 6:40 PM, hh via use-livecode > wrote: > > This is

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-10 Thread hh via use-livecode
This is essentially already done by Alejandro with SVGtoPNG, see the Forum/RichMedia. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Using a hidden browser widget to create a perfectly scalable LC control

2017-05-10 Thread Bob Sneidar via use-livecode
Sweet! > On May 10, 2017, at 11:55 , Jonathan Lynch via use-livecode > wrote: > > I just did an experiment. It appears to be possible to have an image object > that stores svg data in a custom property. ___

Using a hidden browser widget to create a perfectly scalable LC control

2017-05-10 Thread Jonathan Lynch via use-livecode
I just did an experiment. It appears to be possible to have an image object that stores svg data in a custom property. It connects to a hidden browser widget to do the following: - squirt the svg data into an HTML canvas - resize the svg image using the setscale() method - export the resized

Re: Browser widget

2017-04-23 Thread Klaus major-k via use-livecode
Hi John, > Am 23.04.2017 um 14:02 schrieb John Dixon via use-livecode > <use-livecode@lists.runrev.com>: > > Are there any messages than can be used with the browser 'widget', so that > you could know when the URL has finished loading, for example ? sure, e.g. -> brow

Re: Browser widget

2017-04-23 Thread hh via use-livecode
Yes, see Dict:API:Browser or tinyDict:Dicts:Browser ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Browser widget

2017-04-23 Thread John Dixon via use-livecode
Are there any messages than can be used with the browser 'widget', so that you could know when the URL has finished loading, for example ? dixie ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Re: Browser widget on linux

2017-04-14 Thread hh via use-livecode
Hi all. Panos linked to the following bug report (it is more a discussion): http://quality.livecode.com/show_bug.cgi?id=16848 The final 'workaround' there by Max Vessi solves several issues on linux. The property inspector, the script editor, the dictionary and the browser widget work correcly

<    1   2   3   4   5   6   7   >