Search found 89 matches
- Sun Dec 17, 2023 7:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
Got it, I think A problem using this method showed up' When my app stack is built, and I navigate to the data stack, it closes. The data stack is not a substack of the app stack. on openStack -- if the environment is "development" then --tried and commented it out until I find what I did wrong. -- c...
- Sun Dec 17, 2023 11:59 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
This is what I have at this time. It works consistently. As I couldn't check the state of the cgood cp until after the openstack handler, I tried send in time, and it works. Crude and inelegant maybe. I am going back through some of the advice given here and replacing this, as I would rather use bes...
- Sat Dec 16, 2023 2:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
Ok I did find the cause. I put a simple "put the good of this stack" into a preopenstack handler, and sure enough the cp was still "stop" which would cause it all.The customproperty does not get changed until after the openstack handler runs. My ignorance again. Klaus, thank you and I will give that...
- Sat Dec 16, 2023 1:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
I simplified this handler in the data stack (testgenerator) as I should have at first to: <on preopenstack if the good of me <> "go" then beep end preopenstack> And regardless of if the good of the stack equals "go" or "stop" I get a beep And yes, I do check the stack inspector to see what the cp ha...
- Sat Dec 16, 2023 12:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
It seems it works now, then does not work for a while. I seem to have gotten too optimistic.
- Sat Dec 16, 2023 11:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
Got it working! I diddled with that preopnenstack handler and now it works. I feel I can safely change the wait ten sec to "quit" now. on preopenstack if the good of this stack <> "go" then wait 10 secs -- now does not occur when cp is "go" else beep pass preopenstack end if end preopenstack Told yo...
- Sat Dec 16, 2023 11:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
Re: My preopenstack handler missing something
Firstly, I need to proclaim my ignorance in dealing with this scripting. Sometimes I may not state the issue I am having trouble with clearly. Two stacks. I will call one "app" and one "data"I am aware that one cannot save anything to an application stack The app stack is not built yet. I will build...
- Fri Dec 15, 2023 7:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My preopenstack handler missing something
- Replies: 16
- Views: 106629
My preopenstack handler missing something
I have two stacks one destined to be the application stack and the other for data. In the application stack, upon navigating to the data stack I set a custopmproperty of the data stack to "go" or "stop". When navigating from the app stack to the data stack, I set it to "go". Upon closing the data st...
- Fri Dec 08, 2023 6:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: The dreaded customproperties
- Replies: 6
- Views: 17136
Re: The dreaded customproperties
I do thank all again. I used to be a lot more comfortable with custom properties, and have written stacks using them, (one of which I use almost daily), I really do like to use them. I don't seem to be able to open those data stacks in my built application folderand examine how I did use them, as Li...
- Fri Dec 08, 2023 10:38 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: The dreaded customproperties
- Replies: 6
- Views: 17136
The dreaded customproperties
I have been reading through several posts concerning customproperties.Apparently I am too thickheaded to understand them as they are written. My problem is I still do not know what the differences are between custompropertysets,customproperties, and customkeys or how to handle them. It seems I need ...
- Thu Dec 07, 2023 4:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Unsure how to do this
- Replies: 10
- Views: 37181
Re: Unsure how to do this
Many thanks to all for your input! I did however get it to work. Not elegant, not ever a little bit pretty. As a mater of fact I will probably try several of your suggestions. I've been away from this for quite a while, and I was having trouble with my "if" statements. This is what I wound up with, ...
- Thu Dec 07, 2023 12:47 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Unsure how to do this
- Replies: 10
- Views: 37181
Unsure how to do this
I'm making a little password manager stack for myself. I have a button that generates a strong password. It is sent to a field. When I click the field, it asks for an account name, and then sets a customproperty by that name with the generated password and puts the account name into a field that wil...
- Sat Jun 19, 2021 8:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Object library
- Replies: 3
- Views: 2532
Object library
Hello folks. I am trying to store some button with their scripts in an object library. I created a library "Buttons" It seems to me that all I had to do in the past was select the button and click "add to Library". The "add selected to library" stays grayed out. I am quite certain now I will NEVER g...
- Sun Feb 28, 2021 12:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Recognizing character "-"
- Replies: 5
- Views: 3019
Re: Recognizing character "-"
Hence my userid
Thanks to all. I was thinking I may have posted a little too soon,
Thanks to all. I was thinking I may have posted a little too soon,
- Sun Feb 28, 2021 2:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Recognizing character "-"
- Replies: 5
- Views: 3019
Recognizing character "-"
I'm playing with a morse code stack just to renew some coding skills,few as they may be. I have an entry field where I put in some text, in this case "test". I have another button that(using cps) that translates the letters to "-" or "." and puts it into fld "bla". This works ok. I have audioclips f...