use-livecode Digest, Vol 107, Issue 56

stgoldberg at aol.com stgoldberg at aol.com
Thu Aug 30 14:09:53 EDT 2012



Thanks for everyone's suggestions.  I found the following to resolve the problem:  Add
 wait 0 with messages 
prior to choosing the browse tool and closing stack "revTools" in the openStack script.
Stephen Goldberg


Date: Thu, 30 Aug 2012 11:53:00 -0400 (EDT)
From: "stgoldberg at aol.com" <stgoldberg at aol.com>
To: use-livecode at lists.runrev.com
Subject: Is it a LiveCode bug or a Lion bug?
Message-ID: <8CF54DEAA4709C4-1FDC-52A2F at webmail-m133.sysops.aol.com>
Content-Type: text/plain; charset="us-ascii"

I just upgraded from LiveCode 4.0.0, running on OS 10.6.8 to a new computer with  
LiveCode 5.5.1, running on OS 10.7.4, and noticed the following problem for the 
following script:

on openStack
   choose browse tool
   close stack "revTools"
end openStack

In the older versions of LiveCode and Mac, when the above script is placed in 
the mainstack's stack Script Editor and the stack is opened from scratch 
(LiveCode is not previously open), the script works fine; the browse tool 
becomes selected and the Tools Palette closes. However, in the newer setup, it 
doesn't work; the Tools Palette stays open and the browse tool is not selected.  
Interestingly, there is no problem if LiveCode is already open prior to opening 
the stack.  However, if the stack is opened when LiveCode is not already open, 
the script fails in the newer setup.

Does anyone have an idea as to the cause of the bug and how it might be 
circumvented?  Thanks.
Stephen Goldberg
www.medmaster.net


------------------------------


 



More information about the use-livecode mailing list