inclusions problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
inclusions problem
Hi, i have a problem with the 'inclusions' pane in the standalone settings, it's like there is a gray rectangular covering the options
any ideas on how to fix it? Thanks!Samuele.
-
- Posts: 40
- Joined: Sun Dec 13, 2015 6:05 pm
Re: inclusions problem
Have you installed a widget or library extension recently?
Maybe there is a widget generating an error and breaking the list
Does extension manager shows all widgets correctly?
It would be helpful if you specify which LC version are you running
Maybe there is a widget generating an error and breaking the list
Does extension manager shows all widgets correctly?
It would be helpful if you specify which LC version are you running
Re: inclusions problem
yes, the extension manager is showing allright,
i'm running livecode community 9.6.3Samuele.
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: inclusions problem
Make sure you ONLY have the extensions you need for your stack.
Then try things.
Then try things.
Re: inclusions problem
but as you can see hererichmond62 wrote: ↑Mon Jan 24, 2022 12:57 pmMake sure you ONLY have the extensions you need for your stack.
Then try things.
i can't choose, that's my problem...
Samuele.
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: inclusions problem
Unselect everything: make a standalone and see what it looks like.
Certainly you do not need a LineGraph for your game.
Certainly you do not need a LineGraph for your game.

-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: inclusions problem
This will make sure that the only inclusions are the ones your stack needs:
-
-
Re: inclusions problem
The automatic inclusions scan isn't always reliable.
Did you choose "Select inclusions" in the General pane?
Did you choose "Select inclusions" in the General pane?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: inclusions problem
yes i did, because i'm using a splash stack and that way it won't include the inclusions i need for the 'working' stack
Samuele.
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: inclusions problem
There is another way to make a Splash stack that is actually a substack . . .
-
-
- Attachments
-
- KINKY BOOTS.livecode.zip
- Here's the stack.
- (122.19 KiB) Downloaded 129 times
Re: inclusions problem
i tried like this and it didn't work i made the Mainstack a splash stack and the substack the "main" but none of them is shown (you can use the project browser to open them)richmond62 wrote: ↑Mon Jan 24, 2022 9:17 pmThere is another way to make a Splash stack that is actually a substack . . .
-
SShot 2022-01-24 at 22.28.32.png
so i still have this inclusions problem...
Samuele.
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: inclusions problem
I would make a Splash Screen that is NOT another stack; but an image that covers your main stack.
- Attachments
-
- Splasher.livecode.zip
- Here's the stack.
- (130.34 KiB) Downloaded 122 times
Re: inclusions problem
He doesn't want a splash screen, he wants a loader app that will open the working stack so that it can be saved to disk. This method is often called a "splash stack" because it's common to include a splash image while the loader app opens the working stack.I would make a Splash Screen that is NOT another stack; but an image that covers your main stack.
Samuele, you need to add inclusions manually. If you use the automatic inclusions, LC will scan the scripts of the splash stack, which doesn't have much code, and it won't find anything. There's no way to tell the standalone builder to scan a stack that isn't the one used for the app. So you need to do the Inclusions yourself.
Samuele, this won't work, you can't save a substack while it's attached to the app. It's easier to just include the working stack as a separate file. Either way you'll need to copy the working stack to the documents folder.There is another way to make a Splash stack that is actually a substack . . .
If your inclusions aren't working, it means they aren't seen by the working stack. Make sure they are all included in the standalone stack, the working stack doesn't need them. Then when your app opens, a preOpenStack handler or an openStack handler needs to start using the splash stack.
Code: Select all
start using stack "myAppStack"
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: inclusions problem
Hi friends,
please take a look at Samueles first posting with the screenshot!
I think that is the problem, that he cannot select any inclusion manually because they are just not shown.
Samuele, try this:
1. Delete the LC preferences
Enter this in the mesage box: put the filename of stack "revpreferences"
Then note the path to that file.
2. Quit LC and delete that file in #1.
3. Try again and see if you see more inclusions.
If that does not help, then delete the preferences and install LC again.
Best
Klaus
please take a look at Samueles first posting with the screenshot!

I think that is the problem, that he cannot select any inclusion manually because they are just not shown.
Samuele, try this:
1. Delete the LC preferences
Enter this in the mesage box: put the filename of stack "revpreferences"
Then note the path to that file.
2. Quit LC and delete that file in #1.
3. Try again and see if you see more inclusions.
If that does not help, then delete the preferences and install LC again.
Best
Klaus