Launcher Stack and Saving

Randy Hengst iowahengst at mac.com
Tue Mar 8 16:00:34 EST 2016


I spoke a bit too soon… the “answer” dialogue still doesn’t show. I did try “start using stack “launcher.livecode” but no answer dialogue.

Any thoughts on what I have missed?

be well,
randy

Randy Hengst
www.classroomFocusedSoftware.com


> On Mar 8, 2016, at 2:17 PM, Randy Hengst <iowahengst at mac.com> wrote:
> 
> Jacque and James,
> 
> Thank you for the tips… yes, I do want the main stack to be in the package… I placed it in the same folder simply because of the instructions in the lesson I referenced… when I first tried to include the main stack, I didn’t select “resources” as the destination folder… all is good on that front now.
> 
> And, yes, the shutdownrequest message what I was missing.
> 
> Thank you both for helping move forward.
> 
> be well,
> randy
> 
> Randy Hengst
> www.classroomFocusedSoftware.com
> 
> 
>> On Mar 8, 2016, at 7:41 AM, jameshale <james at thehales.id.au> wrote:
>> 
>> Randy Hengst wrote
>>> Second, when I “quit” the launcher the changes made to the “main” stack
>>> are not saved. However, when I close by clicking the “red” dot of the
>>> “main” stack, the changes are saved. 
>> 
>> I have not gone through the lesson but the launcher/mainstack structure
>> usually implies that once the "launcher" has done its bit, the "main" stack
>> is the one left open. Thus to quit, you are quitting the main stack, not the
>> launcher. If this is the case then the "closestack" message sitting in your
>> main stack is only sent when the user or a handler "closes" its window. Is
>> this what you are doing to "quit". 
>> If not, perhaps you want to act on the "shutdownrequest" message
>> (remembering to pass it)?
>> 
>> 
>>> Finally, is it possible to place the “main” stack in the OSX package
>>> rather than having the stack in the same folder as the launcher
>>> standalone?
>> 
>> When you build the standalone the launcher and the engine are combined into
>> the executable within MacOS folder within the app's package. The main stack
>> and other resources will also be in that folder, either as is or in any
>> folder structure you have constructed. Isn't that where you want them? 
>> They should all be in the 'package' else they won't be part of your app.
>> 
>> James
>> 
>> 
>> 
>> --
>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Launcher-Stack-and-Saving-tp4702096p4702110.html
>> Sent from the Revolution - User mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list