RE: Reliable way to do something on shutdown?

2013-06-18 Thread Paul D. DeRocco
> From: J. Landman Gay > > ShutdownRequest is sent when the user tries to quit. > CloseStackRequest > is sent when they try to close a window, like when they click on the > close box. Handling closeStack, and calling shutdown if it's the main stack, seems to solve the problem. Just in case, I

Re: Post command help

2013-06-18 Thread Thierry Douez
Merci Pierre, looks like option 2 was the culprit.. everything works well again :) Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/6/18 Pierre Sahores > Hi, > > Would say that two events may be responsible o

Re: synonyms

2013-06-18 Thread Mark Wieder
Pete- Friday, June 14, 2013, 9:33:20 PM, you wrote: > I'm sorry... I'm back in town now. Wow - somebody got up on the wrong side of the bed... Pete- I set up a topic on the web forum to discuss the propertynames, and there's a rather interesting discussion going on there. -- -Mark Wieder mw

Re: synonyms

2013-06-18 Thread Mark Wieder
Pete- Friday, June 14, 2013, 9:33:20 PM, you wrote: > I'm sorry... I'm back in town now. Wow - somebody got up on the wrong side of the bed... Pete- I set up a topic on the web forum to discuss the propertynames, and there's a rather interesting discussion going on there. You can join in if yo

RE: Reliable way to do something on shutdown?

2013-06-18 Thread Paul D. DeRocco
> From: J. Landman Gay > > > Well, on a Mac, closing the last window doesn't shut down > > the app. The > > app stays resident and sits there with nothing but its menu > > bar showing, waiting for you to choose Quit. :) > > I take that back -- closing the *last* window does shut it > down. But

Re: Reliable way to do something on shutdown?

2013-06-18 Thread J. Landman Gay
On 6/18/13 11:03 PM, J. Landman Gay wrote: On 6/18/13 10:51 PM, Paul D. DeRocco wrote: From: J. Landman Gay ShutdownRequest is sent when the user tries to quit. CloseStackRequest is sent when they try to close a window, like when they click on the close box. Sounds like I need to handle both,

Re: Reliable way to do something on shutdown?

2013-06-18 Thread J. Landman Gay
On 6/18/13 10:51 PM, Paul D. DeRocco wrote: From: J. Landman Gay ShutdownRequest is sent when the user tries to quit. CloseStackRequest is sent when they try to close a window, like when they click on the close box. Sounds like I need to handle both, then. It seems "wrong" to me that there is

Re: Printing puzzle

2013-06-18 Thread J. Landman Gay
On 6/18/13 8:05 PM, David Epstein wrote: The question: how can I find out, by script, how big the unprintable margins are when the Page Setup dialog has been set to some scale other than 100%? At 100%, there's no problem. For example, the unprintable right margin = item 2 of the printPaperSize

RE: Reliable way to do something on shutdown?

2013-06-18 Thread Paul D. DeRocco
> From: J. Landman Gay > > ShutdownRequest is sent when the user tries to quit. > CloseStackRequest > is sent when they try to close a window, like when they click on the > close box. Sounds like I need to handle both, then. It seems "wrong" to me that there is no message that universally indi

[ANN] mergExt just got even better!

2013-06-18 Thread Monte Goulding
Hi LiveCoders Another huge release today makes mergExt an absolute no-brainer for LiveCode development no matter what platform you're working on! You now get $865 worth of externals and other tools for the stunningly low price of $299! You can also buy products individually also if you like. m

Re: Reliable way to do something on shutdown?

2013-06-18 Thread J. Landman Gay
On 6/18/13 7:59 PM, Paul D. DeRocco wrote: From: Phil Davis Maybe a shutDownRequest handler in the script of your mainStack would do the job. In effect this lets you pause the shutdown process before it does anything, make sure your external is closed, then pass shutdownRequest. I think I would

Re: Reliable way to do something on shutdown?

2013-06-18 Thread Terry Judd
Are you making sure any other open stacks are being closed as well (for example in a closeStack or closeStackRequest message handler)? I've also had trouble with revBrowser in the past and always implicitly 'destroyed' any browser instances as I was cleaning up prior to a quit. Terry... On 19/

Printing puzzle

2013-06-18 Thread David Epstein
The question: how can I find out, by script, how big the unprintable margins are when the Page Setup dialog has been set to some scale other than 100%? At 100%, there's no problem. For example, the unprintable right margin = item 2 of the printPaperSize - item 4 of the printRectangle. B

RE: Reliable way to do something on shutdown?

2013-06-18 Thread Paul D. DeRocco
> From: Phil Davis > > Maybe a shutDownRequest handler in the script of your > mainStack would do > the job. In effect this lets you pause the shutdown process before it > does anything, make sure your external is closed, then pass > shutdownRequest. I think I would start there. Actually, tha

Re: Reliable way to do something on shutdown?

2013-06-18 Thread Phil Davis
Hi Paul, Maybe a shutDownRequest handler in the script of your mainStack would do the job. In effect this lets you pause the shutdown process before it does anything, make sure your external is closed, then pass shutdownRequest. I think I would start there. Or 'closeStackRequest' like Terry s

Re: Reliable way to do something on shutdown?

2013-06-18 Thread Terry Judd
What about using a closestack (or closestackrequest) handler? Terry... On 19/06/2013, at 10:07 AM, Paul D. DeRocco wrote: > My app uses an external, which if not properly closed causes LiveCode, or my > standalone, to remain as an orphan process under Windows until I forcibly > kill it. So far,

Reliable way to do something on shutdown?

2013-06-18 Thread Paul D. DeRocco
My app uses an external, which if not properly closed causes LiveCode, or my standalone, to remain as an orphan process under Windows until I forcibly kill it. So far, I haven't figured out how to intercept the shutdown when it comes from the close button in the corner of the window. First, I trie

Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
Cool - ta. On 19 Jun 2013, at 00:29, Terry Judd wrote: > OK - for this to work the PDF has to be stored online - it doesn't appear to > work with local (file) urls. > > Anyway, all you need to do is construct a URL based on the URL for your PDF > and the correct Google Docs URL. Something li

Re: Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
I've hacked a workaround which loads up a jpeg equivalent meantime but i'd be interested in see how to implement the google docs approach. Kind regards, Paul. On 18 Jun 2013, at 20:59, Monte Goulding wrote: > For what it's worth this appears to be a problem for Java developers too... > and

Re: Viewing PDFs in Android...

2013-06-18 Thread Terry Judd
OK - for this to work the PDF has to be stored online - it doesn't appear to work with local (file) urls. Anyway, all you need to do is construct a URL based on the URL for your PDF and the correct Google Docs URL. Something like this... put "http://mydomain.com/myfile.pdf"; into tPDF put ("htt

Can't set hilitedLine inside openStack

2013-06-18 Thread Paul D. DeRocco
I have a modal stack that contains a listbox used to select something, and I keep track of the last selection made in a global variable. I want the stack to pop up with the last selection already highlighted, or no line highlighted if there is no matching line. So I compute the number of the matchi

Re: Using the Find command in IOS

2013-06-18 Thread Howard Bornstein
Thanks for the response. That would be great but my testing does not support this. When I do a find of a field within a scroller group, the Find works, in that it finds the text and draws a box around it, but the field itself doesn't scroll (or at least it doesn't change the vscroll value of the fi

Re: [ANN] Installer Maker 1.7.16

2013-06-18 Thread Mark Schonewille
Hi SKIP, If you want to use the Installer Maker plug-in with 6.0 or later, you're going to need an update and it will only work with the commercial edition of LiveCode. If you want to use the Installer Maker plug-in with a version older than 6.0, you don't need to update. So, 5.5.5 should do

Re: Viewing PDFs in Android...

2013-06-18 Thread Monte Goulding
For what it's worth this appears to be a problem for Java developers too... and Terry's solution is one I've seen on StackOverflow for them too... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___

Big Icons in the AppBrowser

2013-06-18 Thread Richmond
Just upgraded my hack stack to colourise and generally muck about with the AppBrowser now featuring the option of mak9ing the icons and the text a whole lot bigger. http://forums.runrev.com/viewtopic.php?f=6&t=15388&p=78833#p78833 Richmond. ___ use-li

Re: [ANN] Installer Maker 1.7.16

2013-06-18 Thread Skip Kimpel
If we are running 5.5.5, any updates needed for that? SKIP On Jun 18, 2013, at 2:10 PM, Mark Schonewille wrote: > Hello, > > I received a few bug reports last week, which made me decide to release a > quick update of Installer Maker. If you have a commercial license for > LiveCode 6.x, the

[ANN] Installer Maker 1.7.16

2013-06-18 Thread Mark Schonewille
Hello, I received a few bug reports last week, which made me decide to release a quick update of Installer Maker. If you have a commercial license for LiveCode 6.x, the plug-in version of Installer Maker will now work correctly. I have also fixed a few other small bugs. If you are using the

Re: Viewing PDFs in Android...

2013-06-18 Thread Terry Judd
Hi Paul - it's not ideal, but you can hand the PDF off to Google Docs, which will render it in a browser compatible format. I don't have the url handy but will post it when I'm back at work tomorrow. Terry... On 18/06/2013, at 10:16 PM, "Paul Maguire" wrote: > Hi all. > > My porting to Andro

Viewing PDFs in Android...

2013-06-18 Thread Paul Maguire
Hi all. My porting to Android saga continues - last chapter... I've just identified that PDFs cannot be loaded into the browser native control in Android. This breaks my app quite badly. I see there is a workaround to: launch URL http://blah.com/someFile.pdf ... but this is going to cause the

Re: Post command help

2013-06-18 Thread Pierre Sahores
Hi, Would say that two events may be responsible of this : 1.- The SSL certificate may be outdated and, then, have to be renewed ; 2.- The dedicated IP of your hosting account is down. A shared IP is used instead and the certificate is unbindable from this one ; Regards, Pierre Le 18 juin 20

Re: matching empty/uninitialized database entries

2013-06-18 Thread Alan Stenhouse
where dType IS NULL is what you should use for testing NULL. However using <> should also work so something else is also going on there from the sounds of it. Can you post the code perhaps? HTH cheers Alan On 18/06/2013, at 12:00 PM, use-livecode-requ...@lists.runrev.com wrote: > After inse

Post command help

2013-06-18 Thread Thierry Douez
Hello, I have a one-line script to post some datas on a server. Yesterday, everything works perfectly. This morning, without changing anything on Livecode side or server, only restarting my Mac, I get this error: Post: - error -Error with certificate at depth: 2 issuer = /C=BE/O=GlobalSign