• 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: Renaming Picture 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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]


  • Prev by Date: Re: solutions to scripting addition terminology conflicts
  • Next by Date: Re: Save a text file
  • Previous by thread: Re: Renaming Picture 1
  • Next by thread: RE: Renaming Picture 1
  • Index(es):
    • Date
    • Thread