Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving info (newbie)



Sorry for the long explanation, but I figured you would need to know what I'm trying to do in order to help me.
I have a one window (with a drawer) Applescript application. At the top of the main window there is a text field that shows the current date. Then there are several other text fields for insertion of numbers. When a button is pressed on the main window these numbers are added together and the total is put into a text field at the bottom of the main window. The drawer has 7 text fields corresponding to each day of the week and one for a total. When the total is calculated on the main window, the program then looks at the current date and if "Monday" is in the date it puts the total from the main window in the corresponding text field on the drawer. The text fields of the drawer are then added up and the total is put into the total text field of the drawer.
The problem I have, is that I don't know how to save each day. For example, I calculate a total in the main window and it is Monday so it puts the total in the Monday text field on the drawer. I need to be able to quit the app. and then when reopened on Tuesday, Monday's total is still in the drawer and I can calculate Tuesday's and so on. I'm stumped. Is it even possible to save an Applescript application if it just has a main.nib and isn't a document based app.?

Thanks in advance.

Twitch
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.