• 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: Can't re-name file with time stamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't re-name file with time stamp


  • Subject: Re: Can't re-name file with time stamp
  • From: JollyRoger <email@hidden>
  • Date: Wed, 20 Feb 2002 18:37:41 -0600

On 2/20/2002 3:14 PM, "Graham Fielder" <email@hidden> wrote:

> The time dialog is displayed correctly but I get an error message saying :-
>
> "Can't set name of "TEST " to "Time 21:04:20.".
>
> What am I doing wrong?. (Using OS 9.2.2/AS 1.7)

The colon character ( : ) is used to delimit paths on Mac OS. For example,
the path to the System folder is something like: "Macintosh HD:System
Folder:". Therefore you cannot use that character in file names. You need
to format the text without the colon character.

Note: This issue comes up at least once every couple of months on this list.
Point your web browser to
<http://www.lists.apple.com/mailman/listinfo/applescript-users> and do a
search for "date" and "time". You should find plenty of example scripts
that will help you get what you want.

HTH

JR
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Can't re-name file with time stamp (From: Graham Fielder <email@hidden>)

  • Prev by Date: Re: PhotoScripter and Trim
  • Next by Date: Re: Can't re-name file with time stamp
  • Previous by thread: Re: Can't re-name file with time stamp
  • Next by thread: Re: Can't re-name file with time stamp
  • Index(es):
    • Date
    • Thread