Re: AW: can I lock screen over more than one handler?

2017-07-05 Thread Jonathan Lynch via use-livecode
I have a suggestion, if nothing else works. Use two players, layered on top of each other. When you switch the source of a player, do it to the player on the bottom, then move it to be on top of the other player. By switching back and forth, and only reassigning the player on the bottom, it

Re: AW: can I lock screen over more than one handler?

2017-07-05 Thread Jonathan Lynch via use-livecode
I have found that lock screen only blocks screen updates within the main LC context. So, for example, it does not block whatever is happening in a browser. For some reason, it also sometimes seems smoother to call a function rather than a handler, but perhaps I misperceived what was happening.

Re: can I lock screen over more than one handler?

2017-07-05 Thread Jonathan Lynch via use-livecode
Hi Tiemo, It unlocks at the end of a handler. This can be a problem when calling another handler. I handle it by turning a called handler into a function. However, I don't think you can do it with a "send in time" handler. Sent from my iPhone > On Jul 5, 2017, at 7:45 AM, Tiemo Hollmann TB

Re: debugging a CEF browser instance

2017-07-05 Thread Jonathan Lynch via use-livecode
Hi Bernard, I work with JS in the browser widget quite a bit. I have just gotten used to testing JS commands very carefully, step by step, because it does not really provide any debugging information. It would be nice to have that. Sent from my iPhone > On Jul 5, 2017, at 7:34 AM, Bernard

Re: Submitting to the #%^%#? App Store

2017-07-05 Thread Jonathan Lynch via use-livecode
ser/SendEmail.jtp?type=node=4716597=1>> >>>> wrote: >>>> >>>> You choose a profile in Standalone Application Settings. There’s a danger >>>> of picking an old one. See discussions like this on how to remove out of >>>> date ones: &

Re: Submitting to the #%^%#? App Store

2017-07-04 Thread Jonathan Lynch via use-livecode
we need to sign the actual file after it is created? I thought that >>> happened when we created to executable from LC. >>> >>> Sent from my iPhone >>> >>>> On Jul 4, 2017, at 10:05 PM, Colin Holgate via use-livecode >>>> <use-

Re: Submitting to the #%^%#? App Store

2017-07-04 Thread Jonathan Lynch via use-livecode
estions/26732251/how-to-remove-provisioning-profiles-from-xcode > > It should have a certificate associated with it, and unless you recently > resubscribed it ought to work. > >> On Jul 4, 2017, at 7:30 PM, Jonathan Lynch via use-livecode >> <use-livecode@lists.runrev.com&

Re: Submitting to the #%^%#? App Store

2017-07-04 Thread Jonathan Lynch via use-livecode
e you using an App Store Distribution profile? Was its certificate your > Distribution one? > > >> On Jul 4, 2017, at 7:02 PM, Jonathan Lynch via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Both venting and seeking advice. >> >

Submitting to the #%^%#? App Store

2017-07-04 Thread Jonathan Lynch via use-livecode
Both venting and seeking advice. Actually submitting an app to iTunes Connect is not easy, to put it mildly. I am getting an error... The executable 'Payload/Augmented Earth.app/Augmented Earth' must be signed with the certificate that is contained in the provisioning profile. I have no idea

Re: Advice on copying and pasting in mobile

2017-07-03 Thread Jonathan Lynch via use-livecode
Oh - I will buy the licensed one. Can I get it now? Sent from my iPhone > On Jul 3, 2017, at 7:01 AM, Thierry Douez via use-livecode > wrote: > > 2017-07-02 14:54 GMT+02:00 Jonathan Lynch > > : > > Hello, >> >> I really need to be able to paste text in an LC

Re: Advice on copying and pasting in mobile

2017-07-02 Thread Jonathan Lynch via use-livecode
Hi Hermann, It turns out we can have a div with editable content in html5. For version 1.1 or 1.2, I might figure out how to make a full content form in HTML, including an editable div, which accepts both text and images. For now, I created a special input in HTML5 to allow pasting into the

Re: Advice on copying and pasting in mobile

2017-07-02 Thread Jonathan Lynch via use-livecode
I have been thinking a lot about that... I like having the ability to have images inside a field in LC, something that both HTML and native fields do not do readily. A user can enter text, add a picture, and enter more text. It is simple and intuitive this way. That said, with an HTML form I

Re: Advice on copying and pasting in mobile

2017-07-02 Thread Jonathan Lynch via use-livecode
Well, I don't need a special field, I just need access to the clipboard. Do you know of any other externals that allow that? I Sent from my iPhone > On Jul 2, 2017, at 10:46 AM, Richard Gaskin via use-livecode > wrote: > > jonathandlynch wrote: > > > I really

Advice on copying and pasting in mobile

2017-07-02 Thread Jonathan Lynch via use-livecode
Hello, I really need to be able to paste text in an LC field on mobile. I can do it for iOS with the sunny text to speech external, but that external has an audio message that comes on when the app first opens, which would be rather confusing for users. I have so far avoided LC builder

Re: Google Static Maps Problem

2017-06-30 Thread Jonathan Lynch via use-livecode
Hi Bill, I am looking at your stack now. I don't see any place where you use JavaScript to get get the bounds from the Google maps API. I think you would have to do it that way to get a reliable result. That won't give you corners, exactly, but it will give you a minimum bounding rectangle

Re: Google Static Maps Problem

2017-06-30 Thread Jonathan Lynch via use-livecode
Bill, The bounds will only give you the corners of the image if you are facing exactly North, south, east, or west, I am sorry I have not had a chance to check out your stack - will do so shortly Sent from my iPhone > On Jun 30, 2017, at 7:56 PM, William Prothero via use-livecode >

Re: How do we access the clipboard on mobile devices?

2017-06-30 Thread Jonathan Lynch via use-livecode
Today, Thierry allowed me to put the external from his text to speech app into Augmented Earth. I was able to put in a paste button above the content field and paste text into the app on my iPhone. It worked quite well. Sent from my iPhone > On Jun 28, 2017, at 10:20 AM, Richard Gaskin via

Re: Google Static Maps Problem

2017-06-30 Thread Jonathan Lynch via use-livecode
> and zoom levels, I’m stuck. > > Thanks for any help. I know your augmented Earth application uses these maps > too, and I’m also willing to share code when I get this working. > > Bill P > >> On Jun 30, 2017, at 3:50 AM, Jonathan Lynch via use-livecode >> <

Re: Google Static Maps Problem

2017-06-30 Thread Jonathan Lynch via use-livecode
Hi Bill, Can you share the LC code and JS you are using? Sent from my iPhone > On Jun 29, 2017, at 9:59 PM, William Prothero via use-livecode > wrote: > > Folks: > I’ve found a way to display an image of a google static map, in my app. It’s > quite easy and

Re: Printing a Widget Browser

2017-06-29 Thread Jonathan Lynch via use-livecode
Also, have you tried this: Do "window.print()" in widget "my widget" Sent from my iPhone > On Jun 29, 2017, at 3:37 PM, jonathandly...@gmail.com wrote: > > Could you export to a file, launch that in the user's standard browser, and > print from there? > > Sent from my iPhone > >> On Jun 29,

Re: Printing a Widget Browser

2017-06-29 Thread Jonathan Lynch via use-livecode
Could you export to a file, launch that in the user's standard browser, and print from there? Sent from my iPhone > On Jun 29, 2017, at 2:04 PM, Terence Heaford via use-livecode > wrote: > > > Not posted for a long time but still keeping an eye on progress. >

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: Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
Rounding to the nearest whole number could explain the direction bias. Sent from my iPhone > On Jun 28, 2017, at 4:31 PM, jonathandly...@gmail.com wrote: > > Are you saying the down scroll has less momentum? > > I have no idea why it would do that, but you can increase the momentum > overall

Re: Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
Are you saying the down scroll has less momentum? I have no idea why it would do that, but you can increase the momentum overall by changing tRemainingDistance/15 to a lower divisor, like tRemainingDistance/10. Sent from my iPhone > On Jun 28, 2017, at 4:23 PM, Alejandro Tejada via

Re: Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
ings, but might add a tiny bit more efficiency to the script. >> >> on mouseMove X,Y >> if allowDrag <> empty then >>set the vScroll of me to (allowDrag-Y) >> end if >> end mouseMove >> >> Regards, >> >> Scott Rossi >&

Re: Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
e scheme > of things, but might add a tiny bit more efficiency to the script. > > on mouseMove X,Y > if allowDrag <> empty then > set the vScroll of me to (allowDrag-Y) > end if > end mouseMove > > Regards, > > Scott Rossi > Creative Director > Ta

Re: Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
I just realized I had the wrong way of checking to see if scrolling should stop. Somehow it still worked, which is kinda weird. Here is the revised script, with checking for tCount < 1 rather than tCount > 50 - Momentum Scrolling Code Local StartDrag Local AllowDrag Local

Re: Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
That's a good tip - it actually will affect one of my groups quite a bit - drat. Thanks Sean Sent from my iPhone > On Jun 28, 2017, at 12:29 PM, Sean Cole (Pi) via use-livecode > wrote: > > This is excellent Jonathan, Thanks. > > Another tip is to make sure

Momentum Scrolling Script

2017-06-28 Thread Jonathan Lynch via use-livecode
Hi everyone, I just created and tested a momentum scrolling script on my iPhone, and it appears to work quite well, so I thought I would share it here. It also works on desktop with mouse dragging. If you see improvements, please share them. 1. Make sure to have accelerated rendering on for the

Re: How do we access the clipboard on mobile devices?

2017-06-27 Thread Jonathan Lynch via use-livecode
>From a design perspective, for being able to use paste, speech to text, and >emojis, I have Idea that comes from something Richard said. When a user clicks on a field to edit, that field could appear to start from its location and grow to take up most of the screen. It would actually be a

Re: How do we access the clipboard on mobile devices?

2017-06-27 Thread Jonathan Lynch via use-livecode
Thanks Roger, With the huge amount of LC/HTML work I have done over the last year, I feel comfortable in saying that LC is vastly superior for all of the underlying text processing and data manipulation that has to be done. HTML/JS is all about presentation, but would be hard to use for the

Re: How do we access the clipboard on mobile devices?

2017-06-26 Thread Jonathan Lynch via use-livecode
I am not trying to start a fuss - just find solutions for my particular problem. This is what worked for me for this situation. For situations where LC provides a full solution, it is MUCH faster to code in. Sent from my iPhone > On Jun 26, 2017, at 9:56 PM, Roger Eller via use-livecode >

Re: How do we access the clipboard on mobile devices?

2017-06-26 Thread Jonathan Lynch via use-livecode
And the iPhone speech to text works this way too! Sent from my iPhone > On Jun 26, 2017, at 9:21 PM, jonathandly...@gmail.com wrote: > > I just modified the texting part of Augmented Earth to use a browser widget > for texting - it was a huge pain. But - now it has inertial scrolling, copy >

Re: How do we access the clipboard on mobile devices?

2017-06-26 Thread Jonathan Lynch via use-livecode
I just modified the texting part of Augmented Earth to use a browser widget for texting - it was a huge pain. But - now it has inertial scrolling, copy and paste, and works fine with all of the emojis. I might wind up going that route on other text entry stuff. It is clean and smooth that way.

Re: How do we access the clipboard on mobile devices?

2017-06-26 Thread Jonathan Lynch via use-livecode
For this case, though, it will have to be called up specially, not made to look like it was already there. The field in question also allows users to put in images - something I don't think native fields can do. So the app would have an enter text button that calls up the native field, where

Re: How do we access the clipboard on mobile devices?

2017-06-26 Thread Jonathan Lynch via use-livecode
Hi Dave - I think that might help I could give the user a button for opening up a pastable field. They could paste into that and LC could process it and put it into the regular field. It's not a bad idea. Sent from my iPhone > On Jun 26, 2017, at 2:39 PM, Dave Kilroy via use-livecode >

Re: How do we access the clipboard on mobile devices?

2017-06-25 Thread Jonathan Lynch via use-livecode
Thanks Richard, This conversation has made me realize I am about to have a yak shaving moment... The most important field for submitting a report in Augmented Earth is the Content field. Because it is an LC field, I use it to allow the user to enter text, format the text, and upload images. The

Re: How do we access the clipboard on mobile devices?

2017-06-25 Thread Jonathan Lynch via use-livecode
HyperActive Software | http://www.hyperactivesw.com > > > >> On June 25, 2017 11:07:08 AM Jonathan Lynch via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> I was very surprised it wasn't. I plan to submit Augmented Earth to the >>

Re: How do we access the clipboard on mobile devices?

2017-06-25 Thread Jonathan Lynch via use-livecode
I was very surprised it wasn't. I plan to submit Augmented Earth to the apple App Store today. I am going to be embarrassed to tell users they cannot paste text into their reports on a mobile device. I think I will try to find a workaround between version 1 and version 1.1 Sent from my iPhone

Re: How do we access the clipboard on mobile devices?

2017-06-24 Thread Jonathan Lynch via use-livecode
Does that mean I could put the text to be copied into a native field, then put into the clipboard from there? Sent from my iPhone > On Jun 24, 2017, at 4:46 PM, J. Landman Gay via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> On 6/24/17 2:03 PM, Jonathan L

How do we access the clipboard on mobile devices?

2017-06-24 Thread Jonathan Lynch via use-livecode
I cannot figure it out from the docs Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: LC Global - my experience

2017-06-17 Thread Jonathan Lynch via use-livecode
I could not afford to travel to Scotland right now, so the virtual meeting was the only way for me. Sent from my iPhone > On Jun 17, 2017, at 9:05 AM, Skip Kimpel via use-livecode > wrote: > > an open bar > > SKIP > >> On Jun 17, 2017, at 8:42 AM,

Re: LC Global - my experience

2017-06-16 Thread Jonathan Lynch via use-livecode
It seemed good for learning new ideas that might make my coding less idiosyncratic, but less useful for networking. I would love a presentation on marketing LC apps. Sent from my iPhone > On Jun 16, 2017, at 10:18 AM, Ralph DiMola via use-livecode > wrote: > >

When you release an app on the apple App Store...

2017-06-16 Thread Jonathan Lynch via use-livecode
If you don't promote it at all, will it get zero downloads? Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: HTML5 deployment: progress comes into sight

2017-06-04 Thread Jonathan Lynch via use-livecode
No need to loop. Set three flags to false. After each callback comes in and the flag gets switched, check all three flags. After the last ones comes in, all three flag variables will be switched and can trigger the next action. Sent from my iPhone > On Jun 3, 2017, at 9:04 PM, Mark Wieder via

Re: Flash Talks Still Wanted - 50 minute slots almost gone

2017-06-01 Thread Jonathan Lynch via use-livecode
e second or third option I guess. Worst cases would be > that there are fewer people doing 14 minutes, or several people having to > rush. > > My guess is that it would be mostly booked, and just a few would get the > benefit of having 14 minutes. > > >> On Jun 1, 2

Re: Flash Talks Still Wanted - 50 minute slots almost gone

2017-06-01 Thread Jonathan Lynch via use-livecode
Hi Heather, Would there be any interest in an explanation on how to put 3D Earth maps into a LiveCode stack? It would take more than 7 minutes, but the technique is pretty cool. Sent from my iPhone > On Jun 1, 2017, at 11:54 AM, Heather Laine via use-livecode >

Re: HTML5 deployment: progress comes into sight

2017-05-31 Thread Jonathan Lynch via use-livecode
A callback is not synchronous, his point was that it would be nice to communicate synchronously between LC and JS, rather than use complex callback chains. I agree with him, but I don't think there is a universal way to do that, just because some things in JavaScript, like rendering an image

Re: Using callbacks within LC and JS

2017-05-31 Thread Jonathan Lynch via use-livecode
Yah - setting up threads that include JS event listeners was a big pain for Augmented Earth - I have no suggestions for simplifying that part. That bit of complexity seems unavoidable to me. Sent from my iPhone > On May 31, 2017, at 9:15 AM, hh via use-livecode >

Re: HTML5 deployment: progress comes into sight

2017-05-31 Thread Jonathan Lynch via use-livecode
unrev.com> wrote: > > Weel you could start with ALL SVG images made in Inkscape: monochromatic > "thingies" have limited use. > > Richmond. > >> On 5/31/17 11:48 am, Mark Waddingham via use-livecode wrote: >>> On 2017-05-31 10:38, Jonatha

Using callbacks within LC and JS

2017-05-31 Thread Jonathan Lynch via use-livecode
This is in response to a different thread, but worth discussing on its own. I just wanted to explain my view on why callbacks are not as horrible as they seem at first, if one structures the script logically. The below code explains: On LCcontrolScript pcommand,pdata If pcommand = empty then

Re: HTML5 deployment: progress comes into sight

2017-05-31 Thread Jonathan Lynch via use-livecode
A native svg object that accurately displays all svg files is essential. I strongly support Mark's point on that issue. This is not reinventing the wheel - it's attaching the already invented wheel to the wagon. Sent from my iPhone > On May 31, 2017, at 4:26 AM, Mark Waddingham via

Re: [ANN] This Week in LiveCode 84

2017-05-29 Thread Jonathan Lynch via use-livecode
I see that you guys added an "exit on suspend" checkbox. Thank you! Sent from my iPhone > On May 29, 2017, at 7:13 AM, panagiotis merakos via use-livecode > wrote: > > Hi all, > > Read about new developments in LiveCode open source and the open source >

Apparently, mobile phone compasses do not work well

2017-05-27 Thread Jonathan Lynch via use-livecode
After a bit of experimentation with different devices, and researching online, I have come to realize that the device simply cannot consistently detect one's bearing with accuracy. I am going to mimic the way Pokémon Go lets the user spin the view around at will, but still auto adjusts the

Re: Does MobileSensorReading work?

2017-05-27 Thread Jonathan Lynch via use-livecode
>> >>>> Jonathan, >>>> >>>> I worked it out for my class. Here’s a sample app that takes you through >>>> the main points. >>>> >>>> http://livecode.byu.edu/mobile/sensorExercise.php >>>> &g

Re: Does MobileSensorReading work?

2017-05-27 Thread Jonathan Lynch via use-livecode
I worked it out for my class. Here’s a sample app that takes you through >>> the main points. >>> >>> http://livecode.byu.edu/mobile/sensorExercise.php >>> >>> Devin >>> >>> On May 26, 2017, at 9:30 AM, Jonathan Lynch via use-livecode >>&

Re: Does MobileSensorReading work?

2017-05-27 Thread Jonathan Lynch via use-livecode
> >> I worked it out for my class. Here’s a sample app that takes you through the >> main points. >> >> http://livecode.byu.edu/mobile/sensorExercise.php >> >> Devin >> >> On May 26, 2017, at 9:30 AM, Jonathan Lynch via use-livecode >

Re: Does MobileSensorReading work?

2017-05-26 Thread Jonathan Lynch via use-livecode
t; http://livecode.byu.edu/mobile/sensorExercise.php > > Devin > > On May 26, 2017, at 9:30 AM, Jonathan Lynch via use-livecode > <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: > > Never mind - I see > > It works after you turn on m

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-26 Thread Jonathan Lynch via use-livecode
: Re: Is there any way at all to have a mobile app simply resume > rather than restart? > > I'm pretty sure you can't do it while it's still in the applications folder. > You have to command-drag it out of the applications folder, first, before > you modify it - at least I do, anywa

Re: Does MobileSensorReading work?

2017-05-26 Thread Jonathan Lynch via use-livecode
Never mind - I see It works after you turn on mobileSensorStartTracking, and appears to return an array on my device Sent from my iPhone > On May 26, 2017, at 10:56 AM, Jonathan Lynch wrote: > > > I put a button on my app and put the app on my iPhone. > > The

Does MobileSensorReading work?

2017-05-26 Thread Jonathan Lynch via use-livecode
I put a button on my app and put the app on my iPhone. The button had the following script: on mouseUp put MobileSensorReading("location",true) into tReading answer the Keys of tReading answer tReading end mouseUp I figured this would tell me if the function was supposed to return an array

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 cannot send a

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: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
.plist in each of the device/simulator folders. > 12) Fire up LC and make an iOS app. > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
Kerner via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> Are you sure? I'm pretty sure I have at least a couple of apps I built in >> 8 that still use the hack. >> >> On Wed, May 24, 2017 at 3:54 PM, Jonathan Lynch via use-livecode < >>

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
> On May 24, 2017, at 4:07 PM, Mike Kerner via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Are you sure? I'm pretty sure I have at least a couple of apps I built in > 8 that still use the hack. > > On Wed, May 24, 2017 at 3:54 PM, Jonathan Lynch via us

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
ios, look up "plist hack", here. The only thing to >> remember is that for each version of LC, you have to perform the hack, >> again, until Edinburgh gives us a Standalone Settings option. >> >> On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via use-livecode < &g

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
ve to perform the hack, > again, until Edinburgh gives us a Standalone Settings option. > > On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Having to restart the app from scratch sucks. I can store the cur

Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
Having to restart the app from scratch sucks. I can store the current state, but my users would have to wait for the map widget to reload every time they came back from another app. Sent from my iPhone ___ use-livecode mailing list

Re: send mouseup to control

2017-05-24 Thread Jonathan Lynch via use-livecode
I just send the ID of the sending object as a parameter. Sent from my iPhone On May 24, 2017, at 1:58 PM, hh via use-livecode wrote: >> Alejandro T. wrote: >> Reading LiveCode Dictionary about the target and send, >> could not find an obvious way to get the name

Re: Sql problem

2017-05-23 Thread Jonathan Lynch via use-livecode
One quick note about base64encode: LC adds linefeeds. After you base64encode, you may need to replace linefeed with empty in the variable. Sent from my iPhone > On May 23, 2017, at 8:10 PM, William Prothero via use-livecode > wrote: > > Andre, > This is good

Re: Can I copy a card from one stack to another?

2017-05-19 Thread Jonathan Lynch via use-livecode
Why not? Copy card "mycard" of stack "stack1" to stack "stack2" Copy button "button1" of card "mycard" of stack "stack2" to card "myothercard" of stack "stack1" Sent from my iPhone > On May 19, 2017, at 8:45 PM, William Prothero via use-livecode > wrote: > >

Re: which port is beeing used with get URL?

2017-05-19 Thread Jonathan Lynch via use-livecode
Do tsnet commands hit the same network blocks as put? Sent from my iPhone > On May 19, 2017, at 5:05 AM, Matthias Rebbe via use-livecode > wrote: > > Hi Timo, > > a firewall setting also might cause this. Many security tools have a app > control included

Re: Snaptshot of Browser Widget in iOS?

2017-05-18 Thread Jonathan Lynch via use-livecode
There are some JavaScript libraries that can convert an HTML page into an image (not just a canvas object) - that could be your backup if all else fails. Sent from my iPhone > On May 18, 2017, at 6:26 PM, JOHN PATTEN via use-livecode > wrote: > > Hi All! > > I

Re: Incorporating ImageMagick into an LC program?

2017-05-16 Thread Jonathan Lynch via use-livecode
I don't know. I was just wondering about interfacing through an LCB library or widget. That way, the LC folks would not have to be involved. If you don't mind a 2 second delay, the command line option works fine, but I think it should be faster. I have all the tools I need now, to get

Incorporating ImageMagick into an LC program?

2017-05-16 Thread Jonathan Lynch via use-livecode
I once made an app that used command line calls to ImageMagick. That worked fine, but with a slight delay. Would it be difficult to create an lcb script that directly interfaces with ImageMagick? As long as you give them credit, their license would allow it.

Re: Writing Extensions

2017-05-16 Thread Jonathan Lynch via use-livecode
I also am curious about this. Sent from my iPhone > On May 16, 2017, at 4:03 PM, Alejandro Tejada via use-livecode > wrote: > > Hi Mark, > > Did you choose this task to measure how fast > is LiveCode Builder? > > I want to know the answer too. > How fast is

Re: WannaCry [OT]

2017-05-16 Thread Jonathan Lynch via use-livecode
Right before it absorbs us into the machine overlord. Sent from my iPhone > On May 16, 2017, at 10:45 AM, Alejandro Tejada via use-livecode > wrote: > > Mark Waddingan wrote: >> the fact that there are probably not just billions >> but trillions of lines of

Re: Transparent browser widgets?

2017-05-15 Thread Jonathan Lynch via use-livecode
Thank you for this, Mark. I realize how many improvement requests the LC staff has to handle, so I do understand why we cannot all have our way whenever we make a request. Sent from my iPhone > On May 15, 2017, at 8:12 AM, Mark Waddingham via use-livecode >

Re: Transparent browser widgets?

2017-05-15 Thread Jonathan Lynch via use-livecode
Hi Mark, Would you guys consider looking into this further? It would give developers so many presentation options. Sent from my iPhone > On May 15, 2017, at 7:19 AM, Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> On 2017-05-13 19:35, J

Re: Transparent browser widgets?

2017-05-13 Thread Jonathan Lynch via use-livecode
I used to have an occasional bug in 8.1.3 where the browser widget would get a transparent background. I had to restart the ide when that happened. So, I think it may be possible. Sent from my iPhone > On May 13, 2017, at 7:15 PM, hh via use-livecode > wrote:

Re: SVG widget?

2017-05-13 Thread Jonathan Lynch via use-livecode
I wish they would just buy an svg library and create a real svg object. This seems like such an obvious thing to do. Sent from my iPhone > On May 13, 2017, at 4:00 PM, Richmond via use-livecode > wrote: > > Well . . . . > > here [

Transparent browser widgets?

2017-05-13 Thread Jonathan Lynch via use-livecode
Apparently, both WebView (android) and uiwebview (iOS) have transparent modes. Would it be easy for the LC team to implement a transparent mode for browser widgets, where the background color is transparent, allowing other objects to show through? This would obviate the need for some the

Re: SVG powered images

2017-05-13 Thread Jonathan Lynch via use-livecode
I feel like HH has an important point - this method uses a lot of processor power. We should minimize the burden on the processor (small animation, efficient JavaScript) and make sure our target users will consistently have the processing power to handle this kind of animation. Sent from my

Re: SVG powered images

2017-05-13 Thread Jonathan Lynch via use-livecode
For svg animation, it seems like it would be more efficient to let the animation play in the widget and just periodically export a frame, rather than rewrite the svg every time. Sent from my iPhone > On May 13, 2017, at 6:50 AM, Klaus major-k via use-livecode >

Re: SVG powered images

2017-05-12 Thread Jonathan Lynch via use-livecode
Hi Hermann - I just got this message - I arrived at the same onload conclusion. I get it now, but the way the JavaScript had to be ordered seemed counterintuitive at first. Thanks for your help on this :) Sent from my iPhone On May 12, 2017, at 5:24 AM, hh via use-livecode

Re: SVG powered images

2017-05-12 Thread Jonathan Lynch via use-livecode
How does it look? Sent from my iPhone > On May 11, 2017, at 10:15 PM, Alejandro Tejada via use-livecode > wrote: > > This mousedown script shows a rough preview > of the SVG animation if you put it into the image: > > on mousedown > put the id of me into tID >

Re: SVG powered images

2017-05-12 Thread Jonathan Lynch via use-livecode
Hey guys - I figured out a solution for that bug I had previously written a hack for. I use the image.onload handler in the JavaScript for this. It works consistently now. I just had to get my order of events correct in the JavaScript. So please check out the new version. J Sent from my

Re: SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
To do an animation it would need a continuous but interruptible callback loop - with delayed sending for the next iteration after the previous iteration has finished. I think it is doable. Sent from my iPhone > On May 11, 2017, at 9:31 PM, Alejandro Tejada via use-livecode >

Re: SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
I tried splitting up the chain like this. Even sending in 10 milliseconds did not work. The best test is to close LiveCode then open it back up and run the stack. If resizing one of the images works the first time, then it is good. However, delaying the command to send for the image does not

Re: SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
Did some more research. Yup - the image renders in the canvas asynchronously. So, on first load it is exporting the canvas image before that image is rendered. Going to see if I can add an event handler that is triggered when the canvas is finished. Thanks for the tip :) Sent from my iPhone

Re: SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
Ah Yes - the svg data is cached. That would explain why it must happen for every image. Thanks Hermann. I will tinker some more. Sent from my iPhone On May 11, 2017, at 5:52 PM, hh via use-livecode wrote: >> JL wrote: >> If it were from that, then we could

Re: SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
Thanks Hermann If it were from that, then we could not switch back and forth between resizing different images. It would show the output of the previous image processed. But that does not happen. I thought I chained the commands linearly, but I will check that again. Sent from my iPhone >

Re: SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
Thanks Ajelandro, I have thought a bit about how to show a browser animation through an image object. I think it can be done, but might use a lot of processing power. Could be really cool with webgl animations. Sent from my iPhone > On May 11, 2017, at 4:32 PM, Alejandro Tejada via

SVG powered images

2017-05-11 Thread Jonathan Lynch via use-livecode
Hi everyone, I just uploaded version 1 of a stack called "SVG Powered Images" onto livecodeshare. Just go to livecodeshare.runrev.com and sort for the newest upload. This stack makes it practical to use fully scalable SVG files in your stack. It is not as good as having a full SVG object, but

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 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 >

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

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: LC buttons look like poo in iOS, options?

2017-05-10 Thread Jonathan Lynch via use-livecode
do the >> automatic handling of doubling up the image that iOS does. >> >> Now, whether it even fills the screen on either platform will depend on the >> scale modes you’re using. >> >> >>> On May 10, 2017, at 8:43 AM, Jonathan Lynch via use-livecod

<    1   2   3   4   >