Asking User Input on First Run only
Asking User Input on First Run only
- Subject: Asking User Input on First Run only
- From: Joseph Weaks <email@hidden>
- Date: Sun, 29 Dec 2002 23:19:38 -0600
What is a good method for asking for user input only the first time a
script is run, after which the info (file locations) is saved in the
script? Can I do this with properties?
Basically, I'm wanting to to write a simple synchronization utility for
the settings file of an application we use. The first time the script is
run, the user should specify the two locations of the files. After that,
it can default to those two locations, check for modification dates, and
overwrite the older file with the newer one.
Is there a way to then have the script store that modification date in the
script so that on the next run it can detect if both files have been
modified since the last script run?
Thanks in advance,
Joe Weaks
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.