Re: Good pinch-to-zoom in image object?

2018-01-24 Thread Brian Milby via use-livecode
I started looking for some examples and found some JS code that could probably be adapted. I would take a crack at it, but won't have time probably until the weekend. Here's the link: https://groups.google.com/forum/#!topic/PhoneGap/QpXAzVo_Fi8 Mulling it over in my head, I wonder if it may be

Good pinch-to-zoom in image object?

2018-01-24 Thread Richard Gaskin via use-livecode
There's a Lesson at the LC site on doing pinch-to-zoom with images, but it's kinda wonky (zooms okay, but at object center rather than touchpoint), and as I hunt around I see most people just give up an use a browser object. I have an app in which I'd rather not add the overhead of embedding

Re: What Env Variable set when saving standalone?

2018-01-24 Thread Mark Wieder via use-livecode
On 01/24/2018 03:56 PM, Bob Sneidar via use-livecode wrote: Hi all. I want to prevent going to a modal login stack when I save as standalone, or at least not go modally. Right now I have to change the login stack to TopLevel each and every time I save as standalone and it opens. Is there some

problem with fullscreen option on HTML5 apps

2018-01-24 Thread Terry Judd via use-livecode
I’ve been trying out the fullscreen option (via the checkbox on the automatically generated HTML page) on a couple of interactive learning apps I’m working on, and while they display nicely it seems to muck up the object coordinates (9.0.0 dp 10/11 – Mac, any browser) so that clicking or

RevQueryDatabase error in standalone

2018-01-24 Thread Bob Sneidar via use-livecode
Hi all. In dev mode I create a memory database, populate it, query it everythign works fine. In a standalone however, the app throws an error when I call revQueryDatabase. I have verified all the inclusions are included for sqLite and database operations. Any known issues? sqlYoga works fine

What Env Variable set when saving standalone?

2018-01-24 Thread Bob Sneidar via use-livecode
Hi all. I want to prevent going to a modal login stack when I save as standalone, or at least not go modally. Right now I have to change the login stack to TopLevel each and every time I save as standalone and it opens. Is there some environment variable that gets set when this is happening?

Re: mobile: pick image without importing?

2018-01-24 Thread Richard Gaskin via use-livecode
hh wrote: > Of course sandboxed files only. Getting file locations (or listings) > outside of that is violating privacy. Who is interested in that? App developers who ask the user's permission for access, just like we do for audio and video files which (thankfully) can be referenced without

Re: mobile: pick image without importing?

2018-01-24 Thread Richard Gaskin via use-livecode
Brian Milby wrote: > On Wed, Jan 24, 2018 at 12:16 AM Richard Gaskin wrote: > >> Do we have a way to obtain a file path for an image on mobile? >> >> I see mobilePickImage, but it insists on importing a copy of the >> image, and what I'm really after is a reference to the image file. > > I’m not

Re: mobile: pick image without importing?

2018-01-24 Thread Bob Sneidar via use-livecode
Oh crap! (looks frantically for a roll of masking tape) Bob S > On Jan 24, 2018, at 15:07 , J. Landman Gay via use-livecode > wrote: > > On 1/24/18 4:27 PM, hh via use-livecode wrote: >> Of course sandboxed files only. Getting file locations (or listings)

Re: mobile: pick image without importing?

2018-01-24 Thread J. Landman Gay via use-livecode
On 1/24/18 4:27 PM, hh via use-livecode wrote: Of course sandboxed files only. Getting file locations (or listings) outside of that is violating privacy. Who is interested in that? :) I'm amazed how many people leave their security webcams unprotected. -- Jacqueline Landman Gay |

Re: mobile: pick image without importing?

2018-01-24 Thread hh via use-livecode
Of course sandboxed files only. Getting file locations (or listings) outside of that is violating privacy. Who is interested in that? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: use SSL inside Mysql connection

2018-01-24 Thread Heriberto Torrado via use-livecode
Hi Tom, No, I did not search in the forum. I will do that. Our project is with Mysql and we don't have the time to switch to another database (PostreSQL). We have a lot of data and queries running with Mysql. Thanks a lot. On 01/23/2018 10:26 PM, Tom Glod via use-livecode wrote: I've seen

Re: Bug: in 8.18 Stable and 9 Dp11 legacy stack import

2018-01-24 Thread Bob Sneidar via use-livecode
Have you tried setting the font, size and textstyle of the stack itself? That is where new fields get there properties, and old fields will use the stacks properties if nothing specific is set for a specific field. Try typing "put the textstyle of the mainstack" into the message box and see

Re: use SSL inside Mysql connection

2018-01-24 Thread Bob Sneidar via use-livecode
It doesn't. It's the community version that cannot bind OpenSSL. The Mac version that comes with OS X Server is not the community version and therefore supports OpenSSL. That is why I mentioned Windows. If he is running a MacOS X Server, SSL should just work. Bob S > On Jan 24, 2018, at

Re: regex deconstructor

2018-01-24 Thread Bob Sneidar via use-livecode
That's because there are several flavors of RegEx. Nice huh? RegEx is in my opinion the top choice for inducing insanity. I have a utility where you type in what you start with and what you want to end up with and it tries to figure out the regex for it. It's less than perfect as you can

Re: LC Toolbar

2018-01-24 Thread Klaus major-k via use-livecode
Or just get used to ALT-Click in the FINDER/desktop or any other icon in the Dock. :-) > Am 24.01.2018 um 22:00 schrieb Ron Metzker via use-livecode > : > > You can also just hide LiveCode windows before you leave it. Very similar > command to what Paul mentions

Re: mobile: pick image without importing?

2018-01-24 Thread J. Landman Gay via use-livecode
On 1/24/18 2:53 PM, hh via use-livecode wrote: Do we have a way to obtain a file path for an image on mobile? I see mobilePickImage, but it insists on importing a copy of the image, and what I'm really after is a reference to the image file. Why not set the defaultFolder and use "the files"?

Re: Navigator now supports converting controls to script-only stack behaviors

2018-01-24 Thread Brian Milby via use-livecode
This sounds very cool. Can’t wait to take it for a test drive. On Wed, Jan 24, 2018 at 1:27 PM Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > I now have an alpha version of Navigator that is built entirely using > script-only stack behaviors, and it includes the function

Re: LC Toolbar

2018-01-24 Thread Ron Metzker via use-livecode
You can also just hide LiveCode windows before you leave it. Very similar command to what Paul mentions here. Just use Cmd-H and it will hide all of LiveCodes windows without hiding anything else. If you want a completely clear desktop and other apps are open, just do what Paul suggests and

Re: Chained behavior performance seems fine

2018-01-24 Thread Brian Milby via use-livecode
Wow, I hope you scripted setting up that test... On Wed, Jan 24, 2018 at 1:35 PM Geoff Canyon via use-livecode < use-livecode@lists.runrev.com> wrote: > I was curious about the performance of chained behaviors, so I created a > stack to time them. I compared a button with a behavior to a button

Re: mobile: pick image without importing?

2018-01-24 Thread hh via use-livecode
> Do we have a way to obtain a file path for an image on mobile? > I see mobilePickImage, but it insists on importing a copy of the > image, and what I'm really after is a reference to the image file. Why not set the defaultFolder and use "the files"? Or use the files()?

Re: LC Toolbar

2018-01-24 Thread Marty Knapp via use-livecode
I had resorted to the "Toolbar Text" only option but I will try setting the revMenubar to palette - I have a stack that automatically opens when LC boots and I'll stick that in there. Thanks all for your input. Marty TMHO it is a feature. Another comfort way to bring LC to front: Click on a

Re: LC Toolbar

2018-01-24 Thread hh via use-livecode
> TMHO it is a feature. Another comfort way to bring LC to front: > Click on a pixel between the toolbar sections (I use "Toolbar Text" only). > > ** 1. You have the option to hide the "Toolbar": > > [a] by script: hide stack "revMenubar" > [b] use Menu View: uncheck "Toolbar Text" and uncheck

Re: LC Toolbar

2018-01-24 Thread Paul Hibbert via use-livecode
LiveCode isn’t the only app to leave windows visible, so I’ve become used to typing Cmd-Alt-H if I switch to another app or the finder and there’s something in the way that doesn’t belong to the app in front. Cmd-Alt-H is a system wide short-cut to “Hide Others”, so it should work in most

Re: LC Toolbar

2018-01-24 Thread hh via use-livecode
TMHO it as a feature. Another comfort way to bring LC to front: Click on a pixel between the toolbar sections (I use "Toolbar Text" only). ** 1. You have the option to hide the "Toolbar": [a] by script: hide stack "revMenubar" [b] use Menu View: uncheck "Toolbar Text" and uncheck "Toolbar icons"

Re: LC Toolbar

2018-01-24 Thread Richmond Mathewson via use-livecode
I am getting this thing on Mac OS 10.7.5 and I like it as I don't have to keep fossicking around down on the Dock to find the relevant LC/RR icon (I've currently got 9 different ones on my Dock) if Im switching back and forth between GIMP and LiveCode (my 2 favourite apps regardless of

Re: LC Toolbar

2018-01-24 Thread J. Landman Gay via use-livecode
I get the same thing, but it hasn't bothered me. If LC is frontmost and you click on the desktop, the toolbar remains as you describe. But if you click on the Finder icon in the dock, or use Cmd-tab to cycle to another app, the toolbar is moved behind the frontmost app. Since I use Cmd-tab a

Re: LC Toolbar

2018-01-24 Thread Marty Knapp via use-livecode
But it isn't like this in LC 6.6.5 (didn't use anything in between). If I'm in the Finder the top LC toolbar obscures anything behind it on the desktop and I am unable to access folders and files I have there. Maybe I haven't explained myself well. Here's a screenshot of the top of my screen

Chained behavior performance seems fine

2018-01-24 Thread Geoff Canyon via use-livecode
I was curious about the performance of chained behaviors, so I created a stack to time them. I compared a button with a behavior to a button with a chain of 100 behaviors, with the code in the very last button. The performance diving through 99 extra behavior links was pretty decent -- I was

Navigator now supports converting controls to script-only stack behaviors

2018-01-24 Thread Geoff Canyon via use-livecode
I now have an alpha version of Navigator that is built entirely using script-only stack behaviors, and it includes the function I used to do it. You can download Navigator 5 here . The full documentation is here

Re: Particular behavior

2018-01-24 Thread Geoff Canyon via use-livecode
If I'm understanding correctly, then sure, given the caveat that only buttons and script-only stacks (and maybe regular stacks?) can be behaviors. So either: Put the callback handler(s) that are currently in card “CardFoo" of stack “StackFoo” into a button. Set the button as the behavior of the

Re: mobile: pick image without importing?

2018-01-24 Thread Brian Milby via use-livecode
I’m not sure this is possible... due to the sandbox you can only see paths of files in a restricted subset of the file system. You should be able to roll your own for the places you can see from the app. Thanks, Brian On Wed, Jan 24, 2018 at 12:16 AM Richard Gaskin via use-livecode <

Re: PHP vs LC server + 504 Gateway Timeout

2018-01-24 Thread Richard Gaskin via use-livecode
jbv wrote: > On my on-rev account I have a LC script that calls a php script via > the shell, and the php dumps the content of a mySQL db. Then another > LC script (triggered later by another cgi request) builds a zip > archive (using revzip) of the dump + a few small files. > This scripts have

Re: Bug: in 8.18 Stable and 9 Dp11 legacy stack import

2018-01-24 Thread Brian Milby via use-livecode
Are you talking about the binary format of a stack file? On Wed, Jan 24, 2018 at 10:35 AM Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi > > I have just spent a good few hours "playing" - I wished - with the Text > formatting of field. > > Specifically It was on LC9 but

Re: use SSL inside Mysql connection

2018-01-24 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Which version of mySQL? The Windows community version does not support > OpenSSL because of licensing restrictions. It uses some other flavor > of SSL, which I was never able to get to work. Why would licensing affect only Windows but not other proprietary OSes? -- Richard

Bug: in 8.18 Stable and 9 Dp11 legacy stack import

2018-01-24 Thread Lagi Pittas via use-livecode
Hi I have just spent a good few hours "playing" - I wished - with the Text formatting of field. Specifically It was on LC9 but I then installed 8.1.8 and the problem is on there as well. The problem was that all new fields (and old fields) a card had the "BOLD" textstyle try as I might I

Re: use SSL inside Mysql connection

2018-01-24 Thread Devin Asay via use-livecode
Heribito, Your revOpenDatabase call is incorrectly formed. The useSSL and autoReconnect parameters should be booleans, like this: put revOpenDatabase(“mysql”, tServer, tDatabaseName, tUser, tPass,true,,,true) into tConnectionID Note also that you have to put the values into the correct

Re: use SSL inside Mysql connection

2018-01-24 Thread Bob Sneidar via use-livecode
Which version of mySQL? The Windows community version does not support OpenSSL because of licensing restrictions. It uses some other flavor of SSL, which I was never able to get to work. Bob S > On Jan 23, 2018, at 18:01 , Heriberto Torrado via use-livecode >

Re: LC Toolbar

2018-01-24 Thread Mike Kerner via use-livecode
sounds like it's time for another ide hack and PR... On Tue, Jan 23, 2018 at 11:21 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 1/23/18 6:34 PM, Marty Knapp via use-livecode wrote: > >> So I just installed LC 8.1.8 on my Mac and the toolbar always displays >>

Re: regex deconstructor

2018-01-24 Thread Mike Kerner via use-livecode
It's amazing how much work it takes to learn enough about this topic to do something moderately dangerous. This is my nth attempt to fix the indenting of LC in Atom and ST. This time I got some help from King Keith at ST, but trying to make heads or tails of what he offered (that works better

Re: regex deconstructor

2018-01-24 Thread Mike Kerner via use-livecode
@Lagi, yes, exactly. I found another one last night: regex101.com/ That one is interesting because it seems to support some expressions that the others do not. On Wed, Jan 24, 2018 at 8:36 AM, Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Mike (Shirley? ;-)) > > I

Re: regex deconstructor

2018-01-24 Thread Lagi Pittas via use-livecode
Hi Mike (Shirley? ;-)) I bought this years ago - it's brilliant and it builds a tree of what everything does https://www.regexbuddy.com/benefits.html click on the iamge on the right Kindest Regards Lagi On 24 January 2018 at 02:00, Mike Kerner via use-livecode < use-livecode@lists.runrev.com>

Re: regex deconstructor

2018-01-24 Thread Martin Koob via use-livecode
Sorry Mike. To reply to the list I use the Nabble site http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html It displays the wrong author for the posts (the most recent author who posted to the list for all the posts) so I just looked at who Nabble indicated the author

PHP vs LC server + 504 Gateway Timeout

2018-01-24 Thread jbv via use-livecode
Hi list On my on-rev account I have a LC script that calls a php script via the shell, and the php dumps the content of a mySQL db. Then another LC script (triggered later by another cgi request) builds a zip archive (using revzip) of the dump + a few small files. This scripts have been running