appending filenames daily with applescript
appending filenames daily with applescript
- Subject: appending filenames daily with applescript
- From: Chris Chattom <email@hidden>
- Date: Tue, 28 Nov 2000 16:25:23 -0700
still having trouble with the file dating scripting -
here's what i have so far:
tell application "FileMaker Pro"
do script "Duplicate File"
end tell
tell application "Finder"
select file "date" of folder "FMPro database"
set name of selection to the date
string of (current date)
end tell
when i run this script everything works just how i want it to
except it renames the file "Idt" and gives me a message that says:
"Script Error: Finder got an error: Can't get date "Tuesday, November 28,
2000 4:09:11 PM"
so, obviuosly it is seeing the date, but the date when it is written all
of the way out like this is simply too long to fit into a filename...
if anyone has any ideas...
thanks -
chris