• 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
Re: duplicating files and adding today's date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicating files and adding today's date


  • Subject: Re: duplicating files and adding today's date
  • From: Yosemite <email@hidden>
  • Date: Mon, 27 Nov 2000 14:49:07 -0900

-- one possible solution ...

tell application "FileMaker Pro"
close database "Biz-Res db"
end tell

tell application "Finder"
duplicate file "machd0:desktop folder:Biz-Res dB"
-- requires Date/Time OSAX
set name of file "machd0:desktop folder:Biz-Res dB copy" to ,
("bizres" & (DateTime "%m%d%Y"))
open file "machd0:desktop folder:Biz-Res dB"
end tell

-- you might want to check into using "Nag" or "iDo" to schedule the running
-- of such AppleScripts


-- hcir
mailto:email@hidden


> 1 - temporarily close the open database at midnight every night.
> 2 - duplicate and copy it to a set folder.
> 3 - rename the document to the date of that day.
> 4 - open the database back up in FM Pro.


References: 
 >duplicating files and adding today's date (From: Chris Chattom <email@hidden>)

  • Prev by Date: Re: I didn't type that! What happened to my email?
  • Next by Date: Re: I didn't type that! What happened to my email?
  • Previous by thread: duplicating files and adding today's date
  • Next by thread: Re: duplicating files and adding today's date
  • Index(es):
    • Date
    • Thread