Re: A code style question

2015-01-23 Thread René Micout
Thank you Bob ! :-) René > Le 23 janv. 2015 à 23:22, Bob Sneidar a écrit : > > Shorter still: > > switch (the platform) > case “MacOS” ; put "Finder" into tReference ; break > case “Win32” ; put "Explorer" into tReference ; break > default ; put "Desktop" into tReference > en

Re: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-23 Thread Paul Hibbert
Ray, I tried this a couple of times and realised that it is definitely a serious bug so I decided to report it, hope you don't mind, the number is http://quality.runrev.com/show_bug.cgi?id=14437 if you would like to add to it. Regards Paul > On Jan 23, 2015, at 9:09 PM, Paul Hibbert wrote:

Re: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-23 Thread Paul Hibbert
Just tried this on OS X 10.10.1 (Yosemite) and only managed to get to step 3, then LC crashed! Have you filed a bug report yet? If you have I can add to it, if not I'll file one and you can add to it. Paul > On Jan 23, 2015, at 4:29 PM, Ray wrote: > > On my Windows 8.1 system I do the follow

Re: 7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-23 Thread Bob Sneidar
Check if there is a file at the same location as you original with a tilde in the file name (~). If the crash happened during the save, this file is your old file before you saved it. Bob S On Jan 23, 2015, at 16:29 , Ray mailto:r...@linkit.com>> wrote: On my Windows 8.1 system I do the follo

Re: Getting the scroll and clickloc of a browser object

2015-01-23 Thread Bob Sneidar
But the browser object will not generate LC mouseUp messages when the user clicks objects in the browser will it? And how is he going to get the scroll of the PDF in the browser as opposed to the browser object scroll? Maybe I’m not getting it, but I envision the PDF plugin having it’s own scrol

7.0.2 RC1 Crashes and Corrupts Stack Files

2015-01-23 Thread Ray
On my Windows 8.1 system I do the following: 1) create a new main stack 2) drag a player object onto it 3) remove the default fileName (source) 4) save the stack file At this point I get "Livecode has stopped working". With no other options I close the program and find my entir

Re: Getting the scroll and clickloc of a browser object

2015-01-23 Thread Scott Rossi
If you’re using a browser object, I believe this is what you want: put revBrowserGet(theBrowserId, “vscroll") into theVScrollAmount Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Jan 21, 2015, at 10:05 PM, Michael Julian Lew wrote: > I'm playing with displaying pdf

Re: Duplicate simultaneous calls to same handler

2015-01-23 Thread Bob Sneidar
OK this got me going so I put this script in a button: on mouseUp global theCount add 1 to theCount put theCount wait 5 seconds with messages subtract 1 from theCount put theCount end mouseUp Each time I click the button the counter increments, then after the SUM TOTAL of time

Re: Duplicate simultaneous calls to same handler

2015-01-23 Thread Peter Haworth
On Thu, Jan 22, 2015 at 9:58 PM, Mark Wieder wrote: > Script local variables are in a shared common pool. ...except in behavior scripts where each object using the behavior has its own set of script locals. Pete lcSQL Software Home of lcStackBrowser

Re: Duplicate simultaneous calls to same handler

2015-01-23 Thread Bob Sneidar
It would be easy to tell. Start a counter in a local variable before one of the wait with messages statements, increment the counter by one, then after the wait with messages command put the counter into the message box, then subtract one from the counter. If it queues you should see counters go

Re: A code style question

2015-01-23 Thread Bob Sneidar
Shorter still: switch (the platform) case “MacOS” ; put "Finder" into tReference ; break case “Win32” ; put "Explorer" into tReference ; break default ; put "Desktop" into tReference end switch You don’t need a break after default. :-) Bob S On Jan 22, 2015, at 24:08 ,

Offset and Binary Data

2015-01-23 Thread Michael Doub
Can someone explain to me why the offset function is returning the same offset when the search criteria is different? Put this into a button: on mouseUp put numtochar(255) & numtochar(216) into tStart -- in Hexadecimal: FFD8 = SOI(Start of jpeg image) put numtochar(255) & numtochar(217

Re: Duplicate simultaneous calls to same handler

2015-01-23 Thread J. Landman Gay
On 1/22/2015 11:58 PM, Mark Wieder wrote: Each invocation of a function gets its own set of local variables. Script local variables are in a shared common pool. Thanks everybody for all the responses, it was what I needed to know. So basically it acts just like a recursive handler, with the sa

Re: Getting the scroll and clickloc of a browser object

2015-01-23 Thread Bob Sneidar
There is nothing in the LC code repository for getting that kind of information from any browser control. There may be a way to post a URL that can give you that information but it will have nothing to do with Livecode. I would google what you are trying to do and see if you get any hits. Bob

Re: new Revolution account

2015-01-23 Thread Richard Gaskin
Muaadh Salih wrote: > I have received six copies of the following email . > I did not create such account and I know nothing about this . > Is this a genuine email ? any info ?! > many thanks Some time ago I noted here that the team at RunRev was working on restoring RevOnline. It looks like

new Revolution account

2015-01-23 Thread Muaadh Salih
I have received six copies of the following email . I did not create such account and I know nothing about this . Is this a genuine email ? any info ?! many thanks Muaadh Dear Revolution customer Thank you for creating a

Re: A Got-Ya

2015-01-23 Thread Peter M. Brigham
On Jan 20, 2015, at 9:14 PM, Geoff Canyon wrote: > 2. It's a feature that custom property names can be stored/referenced using > variables. For example: > > repeat for each item P in "left,top" > -- not custom properties, but the same principle applies >set the P of button "example

RELEASE: LiveCode 6.7.2 RC2

2015-01-23 Thread Michael McCreary
Dear List Members, We're pleased to announce the release of LiveCode 6.7.2 RC2. This is a maintenance release focusing on product robustness and quality. We've also added support for iOS 64 bit apps. Release Contents This release contains 11 bug fixes: * 14421 Text breaking can lead to hang

RELEASE: LiveCode 6.7.2 RC2

2015-01-23 Thread Michael McCreary
Dear List Members, We're pleased to announce the release of LiveCode 6.7.2 RC2. This is a maintenance release focusing on product robustness and quality. We've also added support for iOS 64 bit apps. Release Contents This release contains 11 bug fixes: * 14421 Text breaking can lead to hang

Re: Duplicate simultaneous calls to same handler

2015-01-23 Thread Dave Cragg
> On 23 Jan 2015, at 03:26, J. Landman Gay wrote: > > Suppose I have a long handler that includes a few "wait with messages" so > that users can continue interacting with the stack while it runs. The user > does something that calls the long handler while it is still running from a > previous

Re: Duplicate simultaneous calls to same handler

2015-01-23 Thread Phil Jimmieson
On 23 Jan 2015, at 04:42, Peter W A Wood wrote: > > I found out that you don’t even need two buttons. Hitting one button twice > quickly will give the same effect. > I see this problem with one of my large LiveCode projects, but particularly on Windows systems. Some users double-click ever