Saving data with a Stand Alone

stephen barncard stephenREVOLUTION2 at barncard.com
Sun Jul 29 22:33:48 EDT 2012


standard practice is to create another stack to hold the settings of things
that change and save it to a preferences or documents directory. Then each
instance on different computers can have its own settings. You might have
to rewrite some of your code to accomodate this.

Apple has put forth new guidelines for where these pref files should go.

On Sun, Jul 29, 2012 at 7:08 PM, Mark Rauterkus <mark.rauterkus at gmail.com>wrote:

> Hi,
>
> How does a Developer write a stack so that the Stand Alone Application
> can save that updated version of the stack, really?
>
> So, I get that the Stand Alone is "Read Only." Or, I think I get it.????
>
> I want to write a LC application and have it passed to a "coach" on a
> Flash Drive as a stand alone. Then I want that person, "coach," to be
> able to add cards, input data and such about the kids. As of now in my
> newbie ways -- as that person quits the stand alone application,
> nothing is getting saved. No new file is made. No SAVING is happening.
>
> Of course, when I use the DEVELOPMENT environment, things get saved
> from session to session. But, not so in the Stand Alone environments.
>
> I get how to put "Save" into a pull-down menu. File --> Save, etc.
> seems to work. My navigation buttons work with the MenuPick.
>
>
> on menuPick itemPicked
>    switch itemPicked
>       case "Save"
>          Save this stack as "Kids4Flash"
>          break
>
>       case "Photo Maker"
>          go to stack "Photo Maker"
>          break
>       case "Navigate to Thumbs"
>          go to stack "Thumbnails for kids"
>          break
>       case "Quit"
>          -- do quit stuff here
>          break
>       case "List Squads"
>          go to stack "Squad Maker"
>          break
>       case "Remote Data"
>          go to stack "Sync from Web"
>          break
>    end switch
> end menuPick
>
> Thanks for your help.
>
>
>
>
>
> --
> Ta.
>
>
> Mark Rauterkus       Mark.Rauterkus at gmail.com
> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach with
> Neighborhood Learning Alliance
>
> http://NeighborhoodLearning.org
>
> http://Rauterkus.blogspot.com
> http://FixPA.wikia.com
> http://CLOH.wikia.com
> 412 298 3432 = cell
>
> _______________________________________________
> 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the Use-livecode mailing list