Re: Renaming Picture 1
Re: Renaming Picture 1
- Subject: Re: Renaming Picture 1
- From: Applescript User Lewis <email@hidden>
- Date: Tue, 22 Jan 2002 03:58:14 -0700
At 17:03 -0500 21/01/02, Graham Fielder wrote:
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
set the name of filename to filename & " " & date_string
--
___________________________________________________________________________
| applescript@ & "southgaylord.com"| Unix is very user friendly. It's just |
| I frankly do not believe Micro- | picky about who its friends are. |
| soft has the user's interests at | I want a party where all the women wear|
| heart, or even in mind. | new dresses and the men all drink beer.|
---------------------------------------------------------------------------