There was other isses that seemed to be related to what you are seeing now, that is opening a stack to launch LC cause some kind of timing issue. Instead of LC waiting until all the plugins and whatnot were loaded before opening the stack, it seemed like LC was trying to run the stack scripts before it was ready. I thought this had been dealt with. I can only think that it may be possible to check some condition to see if LC was fully loaded before proceeding would be a good workaround. Have you tried to see if the revTools stack was open before proceeding and recalling the script in a few seconds if not?
Bob On Aug 30, 2012, at 8:53 AM, stgoldb...@aol.com wrote: > 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 > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode