Re: reversing file names
Re: reversing file names
- Subject: Re: reversing file names
- From: Michelle Steiner <email@hidden>
- Date: Fri, 27 Dec 2002 13:54:58 -0700
On Friday, December 27, 2002, at 12:26 PM, Keith wrote:
Is there an easy way to take a filename, i.e. foo, and reverse it to
oof
with AppleScript.
If it weren't for the problem I asked about in my immediate prior
message, this would be a start:
set foo to (choose file)
tell application "Finder" to set foo_name to name of foo
set foo_name to (reverse of text items of foo_name) as text
tell application "Finder" to set the name of foo to foo_name
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.