• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Asking User Input on First Run only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Asking User Input on First Run only
      • From: David Hood <email@hidden>
  • Prev by Date: Re: Propriety, class, and XL confusion
  • Next by Date: Re: Asking User Input on First Run only
  • Previous by thread: Re: Propriety, class, and XL confusion
  • Next by thread: Re: Asking User Input on First Run only
  • Index(es):
    • Date
    • Thread