Re: Nested Repeat loops

2014-06-20 Thread Richmond
On 21/06/14 04:34, Dr. Hawkins wrote: On Fri, Jun 20, 2014 at 6:18 PM, Peter Haworth wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: It's a badly needed language addition, and one of the things I want from Fortran. Then again,

Re: Nested Repeat loops

2014-06-20 Thread jbv
In some cases I managed to replace "repeat for" with "repeat while" and thus eliminating the flag and the test on it since the condition is in the repeat loop itself. jbv > Wondering if anyone has an elegant way of exiting all the way out of a set > of nested repeat loops., e.g: > > repeat for...

Re: Nested Repeat loops

2014-06-20 Thread Geoff Canyon
It's hard to say without context, but one way to handle things like this is to fold it all into a function/handler. Then if you want to exit you can exit/return. On Fri, Jun 20, 2014 at 8:55 PM, J. Landman Gay wrote: > I've needed that too occasionally but I've always had to set a flag like > y

Re: Nested Repeat loops

2014-06-20 Thread Warren Samples
On 06/20/2014 08:18 PM, Peter Haworth wrote: Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: repeat for... repeat for... repeat for repeat for if . then end repeat end

Re: Nested Repeat loops

2014-06-20 Thread Jerry Jensen
Its not always easy, or worth the trouble, but putting the whole nested structure in a separate handler lets you use the exit command. .Jerry On Jun 20, 2014, at 6:55 PM, J. Landman Gay wrote: > I've needed that too occasionally but I've always had to set a flag like you > do. We need an "exit

Re: Nested Repeat loops

2014-06-20 Thread J. Landman Gay
I've needed that too occasionally but I've always had to set a flag like you do. We need an "exit all repeats" command. On June 20, 2014 8:18:59 PM CDT, Peter Haworth wrote: >Wondering if anyone has an elegant way of exiting all the way out of a >set >of nested repeat loops. -- Jacqueline Land

Re: Nested Repeat loops

2014-06-20 Thread Dr. Hawkins
On Fri, Jun 20, 2014 at 6:18 PM, Peter Haworth wrote: > Wondering if anyone has an elegant way of exiting all the way out of a set > of nested repeat loops., e.g: > It's a badly needed language addition, and one of the things I want from Fortran. Then again, I actually used a GOTO in the softwa

Nested Repeat loops

2014-06-20 Thread Peter Haworth
Wondering if anyone has an elegant way of exiting all the way out of a set of nested repeat loops., e.g: repeat for... repeat for... repeat for repeat for if . then end repeat end repeat end repeat end repeat Right now,

Windows pathing question

2014-06-20 Thread Bill Vlahos
I want to sent a command line command to a Windows executable to pass information and a command to it so that the application dials the phone number I send it (it is a telephony application). The command works fine if I specify the complete path. Is there a way I can issue the command without e

Re: Image control in a Background

2014-06-20 Thread Vaughn Clement
Hi Thanks for the help, my dyslectic eyes are subject to misspelling and not even able to see the error. Great for scripting right! I've lived with it all my life? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/

Re: Compile IOS Externals

2014-06-20 Thread Mark Wilcox
Hi, This external is only a couple of lines of code - I very much doubt it doesn't compile, you probably have a linking problem. If you post the errors then maybe it'll be easy to solve and it might also provide valuable learning for other externals. -- Mark Wilcox m...@sorcery-ltd.co.uk O

Re: Image control in a Background

2014-06-20 Thread Simon
Hi Vaughn, Aside from a spelling mistake just add parentheses around all the folder paths e.g. put (specialFolderPath("documents") & "/photos/" & the short ID of this card) into thePath and then delete the current filename on mouseUp --/ the image from mobilePickPhoto uses the template image

Re: Image control in a Background

2014-06-20 Thread J. Landman Gay
On 6/20/2014, 10:23 AM, Vaughn Clement wrote: The image control is supposed load when the card opens and the last photo is to be displayed? > *on* openCard *set* the defaultfolder to specialFolderPath ("documents") & "/photos/" *--answer the files* *if* the number of this car

Re: Check for running application in Windows

2014-06-20 Thread Mark Wieder
Paul- Friday, June 20, 2014, 9:14:09 AM, you wrote: > Use the function below to return a cr delimited list of running programs > and then filter the list to see if the app you are interested is on it > or not. Nice. Note that the OSX shell command should actually be put shell("ps xcw") into myL

Re: Check for running application in Windows

2014-06-20 Thread Magicgate Software - Skip Kimpel
Paul, you are the BEST! Thank you... it works perfectly. SKIP On Fri, Jun 20, 2014 at 12:14 PM, Paul Dupuis wrote: > On 6/20/2014 12:09 PM, Magicgate Software - Skip Kimpel wrote: > > Good afternoon! > > > > Is there a way to check to see if there is a program currently running > on a > > Win

Re: Check for running application in Windows

2014-06-20 Thread Paul Dupuis
On 6/20/2014 12:09 PM, Magicgate Software - Skip Kimpel wrote: > Good afternoon! > > Is there a way to check to see if there is a program currently running on a > Windows machine? For instance, I want to verify that a 3rd party piece of > software is currently running (not just installed) before p

Check for running application in Windows

2014-06-20 Thread Magicgate Software - Skip Kimpel
Good afternoon! Is there a way to check to see if there is a program currently running on a Windows machine? For instance, I want to verify that a 3rd party piece of software is currently running (not just installed) before proceeding with my LC script. As usual, your comments and suggestions ar

Image control in a Background

2014-06-20 Thread Vaughn Clement
Hi All I asked this question recently and I did not get any responses. I have a substack with a background group where there is an Image Control is being populated using the mobilePickPhoto "library" The image is added to the control correctly and displays, but if I leave the card and return th

Re: Diagnosing server error 400

2014-06-20 Thread Trevor DeVore
On Thu, Jun 19, 2014 at 3:26 PM, J. Landman Gay wrote: > > I have to thank you for this, Trevor. You were absolutely right. The XML > told me that the request was rejected because it had expired. We're using > signed URLs set for 15 minutes duration, but this user must have the wrong > time zone

Achieving highest resolution output

2014-06-20 Thread dfepstein
I hope someone can help me understand printing resolution. If I use LiveCode to generate a PDF that will be printed at 300 dpi, how do I achieve the best output? For vectors, I assume that it makes no difference at what scale I compose the picture. (Is that true?) But suppose I want to print