unwanted fireworks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: unwanted fireworks
I'm not sure then, I've never seen it happen but I've seen others report it. Maybe the menu item actually does do something different. The fact that it appears to be time related is pretty odd, that doesn't make sense. It may be a red herring.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: unwanted fireworks
I keep this handler in my custom backscript and run it from the message box whenever I want to remove everything except the IDE and one of my own stacks that is always available. If you have a stack you don't want to remove, uncomment the filter line and add the stack name. Add a new filter line if you keep more than one stack open.
Also, if you see the problem again you could just run ideUserMainStacks() in the message box to see what wasn't closed properly.
Code: Select all
on clearStacks -- delete non-IDE mainstacks from memory without saving
put ideUserMainStacks() into tStacks -- LC function, internal loop
-- filter tStacks without "whatever you want to keep"
repeat for each line l in tStacks
delete stack l
end repeat
end clearStacks
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: unwanted fireworks
ideUserMainStacks(), go figure!
Cool, never heard of that before, thanks for the info.
Cool, never heard of that before, thanks for the info.
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: unwanted fireworks
Another one of those fabulous undocumented gadgets.
Faster than "the Stacks". More powerful than the "StacksInUse". ...
Who has a list of them? Scotland? Martians?
Craig
Faster than "the Stacks". More powerful than the "StacksInUse". ...
Who has a list of them? Scotland? Martians?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: unwanted fireworks
It's part of the IDE scripts, not intended for public use. I found it a long time ago by trolling through the scripts for something I can't recall. There are a lot of useful things in there but they're internal to LC. This one isn't a LC function, it refers to a handler within the IDE which is why it isn't documented.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com