Help! Making a Home Stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Help! Making a Home Stack
I recently made a "home stack" with a button for each additional stack that i have made. but the only way the buttons for the stacks will work is if i open the stack first. if i just open the home stack only and press the button it wont respond like it should. Any suggestions i could really use the help thank you
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Help! Making a Home Stack
What does the code in those buttons look like, and where are the stacks you want that code to open?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Help! Making a Home Stack
all of the stacks i want to open are on my computer. in the script i just say go stack "hall books" or something like that. it always will go to the stack but only if i open it first and it will still go to stack once i close the stack i opened but i always just have to open it first
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Help! Making a Home Stack
Are the other stack files in the same folder as the one with the buttons? Do they need to be separate files, or could you make them substacks of your "Home" stack?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Help! Making a Home Stack
i could try making all my stacks, substacks of the home stack, and yes all of my stacks are in the same folder
Re: Help! Making a Home Stack
can you make stacks that are already main stacks into substacks of another stack?
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Help! Making a Home Stack
Yep:
set the mainstack of stack "SomeStackName" to "NameOfYourOtherMainstack"
set the mainstack of stack "SomeStackName" to "NameOfYourOtherMainstack"
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Help! Making a Home Stack
Hi Hands16,
you might want to work through these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
you might want to work through these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html
Best
Klaus
Re: Help! Making a Home Stack
The script will look for the stacks in the current default folder. You can either set the default folder before trying to go to a stack, or you can just refer to the stack with a full file path like this:
go stack "/Users/me/folder/hall books.livecode"
Unless you change it, the default folder is the same one containing the LiveCode app. I'm pretty sure your stacks aren't located there.
go stack "/Users/me/folder/hall books.livecode"
Unless you change it, the default folder is the same one containing the LiveCode app. I'm pretty sure your stacks aren't located there.

Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com