Search found 26 matches

by standgale
Fri Feb 04, 2022 4:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does build a stand alone actually work
Replies: 7
Views: 4202

Re: How does build a stand alone actually work

I thought I had solved something, but it turns out I haven't. Firstly, I have the scripts in the Copy Files section of the Standalone Application settings. copy files.PNG And I have them listed in the stack files of the main stack, in the property inspector. stack files.PNG But they also show up in ...
by standgale
Fri Feb 04, 2022 2:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does build a stand alone actually work
Replies: 7
Views: 4202

Re: How does build a stand alone actually work

thanks for all the answers. So its not the standalone that is working differently from in the IDE, but the build process. It seems that when it builds the standalone, it runs the code? But it seems to run each file or stack separately rather than connecting them up properly. Like, it runs the behavi...
by standgale
Fri Feb 04, 2022 1:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Empty cards created for script-only stacks - why and is it a problem?
Replies: 3
Views: 2574

Re: Empty cards created for script-only stacks - why and is it a problem?

Thanks for the explanations.
Good to know what's going on and glad I can just ignore them.
by standgale
Fri Feb 04, 2022 1:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Who is "me" in this line?
Replies: 7
Views: 4910

Re: Who is "me" in this line?

You could insert code like this: answer the long name of me -- Dick thanks for that advice. Can't believe I forgot to do that simple thing! I tried it and when I run the program in the IDE then "me" is my main stack like its supposed to be, but when I try to "save as a standalone application" it po...
by standgale
Fri Jan 28, 2022 4:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Who is "me" in this line?
Replies: 7
Views: 4910

Who is "me" in this line?

I have the following line put "" into field "tableDiscrep" of card "cardCalculate" of me But it can't find the card. So I was wondering - who is "me" here? This line is in a stack-only script which is a behaviour of the main stack. The main stack has a card by this name. This Livecode wiki page http...
by standgale
Fri Jan 28, 2022 4:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does LiveCode decide which stack to build?
Replies: 2
Views: 1777

How does LiveCode decide which stack to build?

How does LiveCode decide what stack to build? Sometimes when I choose "Save as Standalone application" it will build one of the other stacks in my project rather than the main stack. How/why does it decide to do this? When I choose to build the standalone, the main card is open, the main stack scrip...
by standgale
Fri Jan 28, 2022 3:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does build a stand alone actually work
Replies: 7
Views: 4202

How does build a stand alone actually work

Hi, I am wondering how building a stand alone actually works. Is there any information on this? I find that my application works completely differently after trying to build a stand alone. e.g. I open up my live code project. Test it. It works perfectly. I try to build a stand alone. That fails beca...
by standgale
Fri Jan 28, 2022 3:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Empty cards created for script-only stacks - why and is it a problem?
Replies: 3
Views: 2574

Empty cards created for script-only stacks - why and is it a problem?

A new year, same problems. I'm still having issues building my projects as standalones if they incorporate script-only stacks. I thought it worked but it only does it sometimes. So I was wondering if this had anything to do with it. If I look at the stacks in the Project Browser, they all have cards...
by standgale
Fri Nov 19, 2021 4:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with behaviour scripts
Replies: 5
Views: 4322

Re: Working with behaviour scripts

Ok so I used this page to understand the error codes https://livecode.fandom.com/wiki/Error_codes and then changed the line it was having a problem with to refer to the card and stack set the visible of button "btnOne" of card "cardFront" of stack "ScriptOnlyTests" to true Although the line worked f...
by standgale
Fri Nov 19, 2021 4:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with behaviour scripts
Replies: 5
Views: 4322

Re: Working with behaviour scripts

Moving on from the previous example, I tried adding a script-only stack behaviour for the card.
When I try to create a standalone application however it has an error message
test 4 - error message.PNG
by standgale
Fri Nov 19, 2021 1:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with behaviour scripts
Replies: 5
Views: 4322

Re: Working with behaviour scripts

Good to check that the paths are correct in the stack files tab of the stack inspector though. That's something to remember to look at.
by standgale
Fri Nov 19, 2021 1:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with behaviour scripts
Replies: 5
Views: 4322

Re: Working with behaviour scripts

Thanks for trying it out. I originally had that file in the scripts folder but moved it out to produce an even simpler version for testing. However it didn't work for me consistently when it was in the Scripts folder either. I just cannot get this whole script only thing to work with any degree of r...
by standgale
Thu Nov 04, 2021 5:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Working with behaviour scripts
Replies: 5
Views: 4322

Working with behaviour scripts

Kia ora, Due to all the random problems with respect to my previous question about building standalone applications with script only stacks and behaviours, I'm just going to try building` it up bit by bit. My first question is why does this sample application sometimes work when run in livecode (not...
by standgale
Thu Nov 04, 2021 3:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to create stand alone application/use own script library
Replies: 9
Views: 5761

Re: How to create stand alone application/use own script library

Set up the behaviors in the property inspectors as usual. Then add all the script stacks to the stackfiles, and include them in the Copy Files pane of the standalone settings. That should be all you need to do. LC looks at the stackfiles when it sees a stack reference. What do you mean by "add all ...
by standgale
Thu Oct 28, 2021 1:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to create stand alone application/use own script library
Replies: 9
Views: 5761

Re: How to create stand alone application/use own script library

So, if I put the script-only stacks that are used as behaviours in the Files rather than in Stacks in the Standalone Application settings then it builds. However, when I run the exe it can't find any of the handlers that are in the behaviours. Since it is a behaviour, I didn't think you would need t...