make standalone (was 2 quick questions)

Mark Smith Mark_Smith at cpe.umanitoba.ca
Fri Jun 18 23:05:12 EDT 2010


>Some have the main stack be a kind of splash screen that shows for a few seconds, then hides itself and opens the real stack which you would add as a file that gets included with the "main" app. > Make sense?

Thanks Bob, that makes perfect sense but... just mechanically I was not sure what hoops to jump through. Ok, let me try and see what I come up with..... 10 mins in, still see no solution. IS Notepad a substack of my new Startup stack or a stack file attached to Startup?

I guess I'll try both while I'm waiting... I think this is one area in the User Guide (Chapter 10) that could use a bit more explaining... something like: How to Create a Startup Stack? Also, can Startup be invisible so the user just sees my application stack?

-- Mark


________________________________________
From: use-revolution-bounces at lists.runrev.com [use-revolution-bounces at lists.runrev.com] On Behalf Of Bob Sneidar [bobs at twft.com]
Sent: Friday, June 18, 2010 9:10 PM
To: How to use Revolution
Subject: Re: make standalone (was 2 quick questions)

The caveat about saving anything in a compiled rev app is that no runtime app can be modified. Otherwise, anyone could interject their own malicious code and you would run that code simply by launching the app next time you ran it.

Normally this would not be a problem for apps that only used cards as forms as a front end to a database. But you want your app itself to contain the data as card, old HyperCard style.

So the way to write this for an app is to have the main stack that gets compiled launch the actual stack that is your app. Some have the main stack be a kind of splash screen that shows for a few seconds, then hides itself and opens the real stack which you would add as a file that gets included with the "main" app. Make sense?

Bob

Sent from my iPad

On Jun 18, 2010, at 5:37 PM, Mark Smith <Mark_Smith at cpe.umanitoba.ca> wrote:

> Funny you should mention that. My first app is something similar... a notepad (just for its simplicity and completeness). It has (appropriately) a text field, cards are numbered (so I know how many there are), and buttons for forwards, backwards, begin, end, create, delete and save notes. Now, I want to compile to a standalone but I don;t understand the instruction to split my stack so I can save the notes? I just have the one stack. Any suggestions?
>
> Mark Smith
>
> ________________________________________
> From: use-revolution-bounces at lists.runrev.com [use-revolution-bounces at lists.runrev.com] On Behalf Of Peter Brigham MD [pmbrig at gmail.com]
> Sent: Thursday, June 17, 2010 6:33 AM
> To: How to use Revolution
> Subject: Re: 2 quick questions
>
> On Jun 16, 2010, at 4:17 PM, Mark Smith wrote:
>
>> Hi Peter, no doubt the day will come. Thanks for the tip (I'm filing
>> these away in a word document. Mark Schonewille will undoubtedly
>> need something to base his FAQ on!)
>>
>> -- M
>
> I save my collected tips in a Rev stack. Searchable. And poetically
> appropriate.
>
> -- Peter
>
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig
>
>
>> -----Original Message-----
>> From: Peter Brigham MD
>> Sent: Wednesday, June 16, 2010 8:27 AM
>>
>> A useful nugget -- if you need to get the current card of a stack that
>> is not the frontmost stack, use the undocumented term
>> "currentcard" (note lack of space character) -- as in:
>> put the currentcard of stack "myStack" into cc
>> which gets you something like:
>> card id 1002
>>
>> "Currentcard" is equivalent to "this card" but works with any open
>> stack, returning the id of the card that is currently showing in that
>> stack. In your case this is unnecessary, as you are apparently needing
>> to deal only with the one stack, so "this card" will do fine.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list