Re: How to tell when IDE is done loading

2014-12-28 Thread Michael Doub
Jacqueline gave me a really slick solution to my problem off list. He is what I am going to use in the next release of the MasterLibrary: on preopenstack send "Mark_IDE_done" to me in 2 ticks go to cd "Splash" end preopenstack on Mark_IDE_done try get revloadedstacks() c

Re: problems with 5.5, 6.6, 6.7. 7.0

2014-12-28 Thread EED-wp Email
Bernard Don't know if this will help, but when I get this kind of inexplicable failure sequence, I start by rebuilding, testing the system disc drive. I'm on OS X and. LOVE Disk Warrior. It fixes disc corruption problems the the Disk Utility reports as unfixable. Don't know about Windows os's.

Re: How to tell when IDE is done loading

2014-12-28 Thread Mike Bonner
No suggestions really, because i'm not sure whats going on (he says, as he gets ready to make suggestions anyway). It seems that since all the plugins are a part of the sequence in that handler I mentioned, and that plugins are loaded before the allowinterupts is set, it seems that you'd end up wit

problems with 5.5, 6.6, 6.7. 7.0

2014-12-28 Thread Bernard Devlin
I'm having problems with every version of Livecode I've tried using in the past month or so. On 5.5 I get a crash with an image when I use the inspector to look at the colors/patterns. So I started to use 7.0 a few weeks ago, but went down to 6.6 and 6.7 when I got a corrupted stack with 7.0. On

Re: How to tell when IDE is done loading

2014-12-28 Thread J. Landman Gay
On 12/28/2014 12:44 PM, Michael Doub wrote: Note that the OpenStack message is received before the initialization of the IDE has completed so when the revloadedstack function was called, it was not found. if you look at the IDE home stack, you will see the interrupts are blocked until all of t

Re: How to tell when IDE is done loading

2014-12-28 Thread Michael Doub
This should help you see the problem I was trying to solve: Consider the following code: local ctr on openstack put "OpenStack" & cr put the allowinterrupts & cr after msg try put revloadedstacks() & cr after msg catch err put "revloadedstack not found" & cr & err & cr

Re: How to tell when IDE is done loading

2014-12-28 Thread J. Landman Gay
I'm still not sure you need to mess with any of this. What does your script need to do when the IDE finishes loading? On December 28, 2014 10:29:36 AM CST, Michael Doub wrote: > >It does seem that allowinterupts is the correct vehicle to tell when >the >livecode part of the IDE has been fully

Re: How to tell when IDE is done loading

2014-12-28 Thread Michael Doub
Mike, Your plugin suggestion was a good one. When I removed them all I am now getting the expected behavior. I now need to add them back in one at a time to find the one that is not setting allowinterrupts to true. It does seem that allowinterupts is the correct vehicle to tell when the li

Re: How to tell when IDE is done loading

2014-12-28 Thread Richard Gaskin
Mike Bonner wrote: Unless there is a "wait with messages" somewhere along the line in that big startup handler I mentioned in the previous post, the send that you do should be dumped at the end of the queue and not fire until things are done. I had thought so myself, but apparently it varies b

Re: How to tell when IDE is done loading

2014-12-28 Thread Mike Bonner
Things are working correctly for me. 7.0.0, (since 7.0.1 still won't install) When starting up the stack and IDE by opening the stack,false is first. After the IDE is fully open, allowinterupts seems to always be true for me. Not managing to duplicate the problem so far. I did adjust things so th

Re: How to tell when IDE is done loading

2014-12-28 Thread Michael Doub
Jacqueline, I do think that there is a timeing issue that you have to be aware of if you a calling revloadedstacks. But something strange _IS_ going on. Please create a stack and enter the script below into the stack script and save the stack and quit livecode. Doubleclick on the stack icon.

Re: I didn't know this...

2014-12-28 Thread Peter Haworth
Expanding the use of each would be great! delete item 2 of each line of tVar, for example Pete lcSQL Software On Dec 27, 2014 10:44 PM, "Geoff Canyon" wrote: > It's too bad this won't work: > >put "bob carol ted alice" into S >replace "c" with "x" in char 1 of each word of S >put S

Re: Your installer is broken

2014-12-28 Thread Roger Eller
I launched 6.7 and the updater offered to install 7.0.1 for OS X. I allowed it to download, but then the wording on screen scared me. It said this will replace your current installation of 6.7, so I bailed. ~Roger On Dec 28, 2014 3:17 AM, "J. Landman Gay" wrote: > On Windows the installer will

Re: I didn't know this...

2014-12-28 Thread Peter M. Brigham
On Dec 27, 2014, at 1:54 PM, dunb...@aol.com wrote: > The beauty of xTalk chunking expressions is that they do just this sort of > thing. So if you had: > > > "ABCDEFG" in a field 1, you can just as easily: > > > -- replace "D" with empty in fld 1 > -- delete char 4 of fld 1 Yeah, that stuff

Re: I didn't know this...

2014-12-28 Thread Mike Bonner
I too would prefer this way because its the livecode readable way. While this particular one is a pretty simple regex-- put replacetext(tNames,"(\bc)","x") it would get complicated way too fast depending on need. A for each loop would be fine and work fast also, but I personally wouldn't mind you

Re: Your installer is broken

2014-12-28 Thread J. Landman Gay
On Windows the installer will create a folder inside the location you select, so that's why you saw two LiveCode folders (the one you made and the one the installer made.) Also, all file paths use forward slashes in LiveCode so that's why those were there. I'm not sure why you'd get the first