Re: Stack files on Mobile How to open an external Behavior Stack
Sannyasin Brahmanathaswami wrote: > 4) some day we need a "map" for the IDE and then one could study it > to better advantage but opening the files that open when it runs, one > after another.. .I could not quit determine Who's On First" with the > IDE, in terms of loading order.. "There's no place like home..." Everything in LiveCode begins with a startup message. The development engine looks for a home stack and attempts to load that. From there Home's startup handler takes over. To begin the journey, in the Message Box run: edit script of stack "home" -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stack files on Mobile How to open an external Behavior Stack
RALPH: I include all stacks(all library stacks and my "Main stack") in the "copy files" pane of the standalone settings. My main stack is just a stub. I then open the "main" stack from the stub and "start using" the library stacks. BR: yes, I was about to do that, since adding stack files was dimmed (I reported it) but someone on my team explained that, for behaviors, then all the lib stacks are in the message hierarchy, so if you wanted to get them in memory, just ask if they exist, then they are in memory, but "private" to the "parent" objects that use them as behaviors. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stack files on Mobile How to open an external Behavior Stack
Richard writes: There are many ways to solve most problems in LC. Everything in the LC IDE is made with LC. Everything is scriptable. Let nothing hold you back. Indeed… we are going in that direction on several counts 1) Start Using works… but clutters the message hierarchy 2) apparently, merely asking about the existence of a stack will put it into memory, without putting it into the message path…but it is now available for behaviors. 3) setting behaviors in the IDE works of course, but leaves you blind. So let's set them all dynamically in the pre0penstack handler(s) that's how the IDE seems to do it if you go sleuthing through the IDE files. Then you can see quickly in your stacks script all the behaviors and external files that may be in play.. (otherwise you have mystery set of objects with behaviors, could be anywhere) and you get the extra benefit of assuring your framework that paths are good. 4) some day we need a "map" for the IDE and then one could study it to better advantage but opening the files that open when it runs, one after another.. .I could not quit determine Who's On First" with the IDE, in terms of loading order.. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stack files on Mobile How to open an external Behavior Stack
Sannyasin Brahmanathaswami wrote: > related bug report from April here: > > http://quality.livecode.com/show_bug.cgi?id=17409 > > still unresolved… my next attempt will be the "start using " method. > We know where the script only stack is… so we can get the local path > and get it into memory … hopefully the behavior will fire. You could load it yourself. One of the benefits of having spent years with the spartan MC IDE is that I learned that as long as the engine will let me do something I needn't ever be held back by limitations in other people's tools. The stackfiles is a scriptable property, and as we've discussed at length months ago a stack can be loaded into memory as simply as accessing a property within it, or as Ralph suggested perhaps it could be a library loaded with "start using". There are many ways to solve most problems in LC. Everything in the LC IDE is made with LC. Everything is scriptable. Let nothing hold you back. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Stack files on Mobile How to open an external Behavior Stack
I include all stacks(all library stacks and my "Main stack") in the "copy files" pane of the standalone settings. My main stack is just a stub. I then open the "main" stack from the stub and "start using" the library stacks. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Sannyasin Brahmanathaswami Sent: Wednesday, July 06, 2016 3:12 PM To: How to use LiveCode Subject: Re: Stack files on Mobile How to open an external Behavior Stack Related post on the forums: http://forums.livecode.com/phpBB2/viewtopic.php?f=8&t=25730 We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stack files on Mobile How to open an external Behavior Stack
related bug report from April here: http://quality.livecode.com/show_bug.cgi?id=17409 still unresolved… my next attempt will be the "start using " method. We know where the script only stack is… so we can get the local path and get it into memory … hopefully the behavior will fire. From: use-livecode on behalf of Brahmanathaswami Reply-To: How LiveCode Date: Wednesday, July 6, 2016 at 9:12 AM To: How LiveCode Subject: Re: Stack files on Mobile How to open an external Behavior Stack Related post on the forums: http://forums.livecode.com/phpBB2/viewtopic.php?f=8&t=25730 We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stack files on Mobile How to open an external Behavior Stack
Related post on the forums: http://forums.livecode.com/phpBB2/viewtopic.php?f=8&t=25730 We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Stack files on Mobile How to open an external Behavior Stack
We've been around this barn before. 1) create an external script only stack. e.g. mobileControls.livecode 2) set that as behavior for other stacks 3) add to stack files 4) go stack "movileControls.livecode" when starting the app. # dictionary says it will be found if it is in the stackfiles property 5) the behavior is now in the message path BUT: the stack files property is dimmed in the standalone settings for mobile. 8.1 DP2 yet the dictionary indicates StackFiles is a valid property for all platforms including mobile ?? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode