• 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 files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming files


  • Subject: Re: Renaming files
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 6 Dec 2007 08:57:45 -0700

On Dec 5, 2007, at 1:29 PM, Peter Baxter wrote:

Does anyone else have the same problem?

Not me; this works:

tell application "Finder"
	set foo to (get the selection) as alias
	set name of foo to "renamed." & name extension of foo
end tell

-- Michelle

--
"Condoms encourage promiscuity
- in the same way that seat belts encourage automobile accidents."
O.C. Brown

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Renaming files (From: Peter Baxter <email@hidden>)

  • Prev by Date: Re: Problem with reading 4-byte floats from file on Intel
  • Next by Date: Re: What makes appleScript so easy
  • Previous by thread: Re: Renaming files
  • Next by thread: Calyx
  • Index(es):
    • Date
    • Thread