Saving data with a Stand Alone
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:
> 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"
> case "Photo Maker"
> go to stack "Photo Maker"
> case "Navigate to Thumbs"
> go to stack "Thumbnails for kids"
> case "Quit"
> -- do quit stuff here
> case "List Squads"
> go to stack "Squad Maker"
> case "Remote Data"
> go to stack "Sync from Web"
> end switch
> end menuPick
> Thanks for your help.
> Mark Rauterkus Mark.Rauterkus at gmail.com
> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach with
> Neighborhood Learning Alliance
> 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:
San Francisco Ca. USA
more about sqb <http://www.google.com/profiles/sbarncar>
More information about the Use-livecode