Re: duplicating files and adding today's date
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.