Re: Renaming Picture 1
Re: Renaming Picture 1
- Subject: Re: Renaming Picture 1
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 22 Jan 2002 00:22:19 -0500
- Organization: [very little]
>
Date: Mon, 21 Jan 2002 17:03:13 -0500
>
Subject: Renaming Picture 1
>
From: Graham Fielder <email@hidden>
>
To: <email@hidden>
>
>
I'm new to AS.
>
>
I want to rename a file and add the date, in YY-MM-DD format. The filename
>
gets altered correctly but the date isn't added!
>
>
Here's what I wrote:-
>
>
tell application "Finder"
>
set the date_slug to my format_date_using(the current date, ".", {"YY",
>
"MM", "DD"})
>
set filename to filename & " " & date_slug
>
end tell
Unless you post the handler ("on format_date_using...end
format_date_using") you're calling in the above code there's no way that
anyone can help you with your problem.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/22/02 12:21:08 AM]