Re: use-livecode Digest, Vol 127, Issue 23

2014-04-13 Thread bernd . gottwald
Bis zum 22.4.2014 bin ich nicht verfügbar. Ich werde meine Emails nicht lesen. In dringenden Fällen erreichen Sie mich über mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile.

Re: Keydowner

2014-04-13 Thread Richmond
Smaller version: http://forums.runrev.com/viewtopic.php?f=6t=20003 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Do statement as Applescript in caller ?

2014-04-13 Thread Serge Brami
hello somebody knows what means the [caller] param in the command Do statement as Applescript in caller There is not any example in the livecode dictionnary Is it the name of the handler where the command is in ? I have tried but doesnt work I ask because statements as : do anything

500 ms to set a thumbpos??

2014-04-13 Thread Dr. Hawkins
While looking for the holdup in some code, put the milliseconds -strt into stp[4] set the thumbpos of sb dnaScroll to chrPos put the milliseconds -strt into stp[5] ck elapsed: stp[0] stp[0] stp[1] stp[2] stp[3] stp[4] stp[5] The output is elapsed: 0 0 38 38 38 542 1026

[OT] Virtualization?

2014-04-13 Thread Richmond
I have a Samsung 300E5A-S01 laptop, which tells me, in the BIOS, that virtualization is not supported (although it does list 'VT-x); however, the details of the processor: http://www.notebookcheck.net/Intel-Core-i3-2330M-Notebook-Processor.52200.0.html indicate that virtualization is supported.

Re: 500 ms to set a thumbpos??

2014-04-13 Thread J. Landman Gay
On 4/13/14, 11:42 AM, Dr. Hawkins wrote: While looking for the holdup in some code, put the milliseconds -strt into stp[4] set the thumbpos of sb dnaScroll to chrPos put the milliseconds -strt into stp[5] ck elapsed: stp[0] stp[0] stp[1] stp[2] stp[3] stp[4] stp[5] The

Debugging modal stacks

2014-04-13 Thread Peter Haworth
Any tips on how to debug a button script in a modal dialog? It seems that red dot breakpoints and breakpoint commands don't work in modal dialogs, at least not in the stack I'm testing right now. I can tell that the script is executing, just not producing the right results. I usually try to

Re: Debugging modal stacks

2014-04-13 Thread Mark Wieder
Pete- Sunday, April 13, 2014, 12:24:35 PM, you wrote: Any tips on how to debug a button script in a modal dialog? Yeah, that's always been broken. cough PowerDebug http://powerdebug.ahsoftware.net http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev -- -Mark Wieder ahsoftw...@gmail.com

Re: Debugging modal stacks

2014-04-13 Thread J. Landman Gay
On 4/13/14, 2:24 PM, Peter Haworth wrote: Any tips on how to debug a button script in a modal dialog? It seems that red dot breakpoints and breakpoint commands don't work in modal dialogs, at least not in the stack I'm testing right now. I can tell that the script is executing, just not

Re: 500 ms to set a thumbpos??

2014-04-13 Thread Alex Tweedly
It's good to get the computer to do any hard work for us, but we can still do some mental arithmetic 1026 - 542 gives just under 500ms, and should be accurate. In fact, you could (if you were in the mood) argue that this method is more accurate, since it doesn't carry an overhead for

go to not working as expected on Android

2014-04-13 Thread Michael Doub
I am observing some strangeness that maybe someone has an explanation for. I have main stack with several substacks in it. I am using a MobGUI carousel to select the correct substack to go to. That part works just fine but I can get the substacks to close. I am working on Android and have a

Re: 500 ms to set a thumbpos??

2014-04-13 Thread J. Landman Gay
Except we don't know how intensive the ck handler is. On 4/13/14, 4:28 PM, Alex Tweedly wrote: It's good to get the computer to do any hard work for us, but we can still do some mental arithmetic 1026 - 542 gives just under 500ms, and should be accurate. In fact, you could (if you were

Re: go to not working as expected on Android

2014-04-13 Thread Michael Doub
Ah yes it was a nuance. The message path got me. Each time one of the substacks was opened, the unhanded stack messages found their way back to the main stack. We were initializing like crazy. :-) -= Mike On Apr 13, 2014, at 5:33 PM, Michael Doub miked...@gmail.com wrote: I am

Re: Debugging modal stacks

2014-04-13 Thread Geoff Canyon
Debug it as a non-modal. On Sun, Apr 13, 2014 at 2:24 PM, Peter Haworth p...@lcsql.com wrote: Any tips on how to debug a button script in a modal dialog? It seems that red dot breakpoints and breakpoint commands don't work in modal dialogs, at least not in the stack I'm testing right now. I

Integer part of divide

2014-04-13 Thread Peter Haworth
I just know this has to be simple but I need to divide one number by another and get just the integer part of the result. So 20 / 7 would be 2 for example. I tried setting the number format to # but I still get decimals in the result (that's not right is it?). For now I'm setting the

Re: Do statement as Applescript in caller ?

2014-04-13 Thread Kay C Lan
On Mon, Apr 14, 2014 at 12:02 AM, Serge Brami brami.se...@gmail.com wrote: I ask because statements as : do anything as Applescript doesnt work on Livecode 6.6 and Maverick Any Idea ? Don't know anything about 'caller', but I notice for the Release Notes for LC 6.1.2 RC3 it states that

Re: Integer part of divide

2014-04-13 Thread Kay C Lan
Checkout div in the dictionary put 20 div 7 into msg On Mon, Apr 14, 2014 at 9:34 AM, Peter Haworth p...@lcsql.com wrote: I just know this has to be simple but I need to divide one number by another and get just the integer part of the result. So 20 / 7 would be 2 for example. I tried

[OT] free personality portraits

2014-04-13 Thread Robert Brenstein
This has nothing to do with LC but as varied as this group is in their tempers and attitudes, as we know well from lively discussions, I thought that some of you may find it interesting to get free personality portraits. If you are not interested, just press the delete key now. I work with

Re: Integer part of divide

2014-04-13 Thread dunbarx
Trunc. And I ain't talking about things in my pajamas. Craig -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Sun, Apr 13, 2014 9:35 pm Subject: Integer part of divide I just know this has to be simple but I need to

Re: 500 ms to set a thumbpos??

2014-04-13 Thread J. Landman Gay
I see, so he's only calling ck once at the end. I had thought it was part of a longer sequence where it was interspersed throughout. In that case you're quite right and the logging handler doesn't matter. But that leaves the question of what those 38s are doing in there with 0 milliseconds

Re: Debugging modal stacks

2014-04-13 Thread Phil Davis
It used to be that when you set the vis of a modal window to false, it would operate as a non-modal. You could try that, though I don't know if it still works that way. I suspect it was a bug and it may have been fixed long ago. Phil On 4/13/14, 12:24 PM, Peter Haworth wrote: Any tips on