• 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: "Mark J. Reed" <email@hidden>
  • Date: Thu, 6 Dec 2007 09:04:22 -0500

You said "this_info" . . . are you expecting the name to change in an
already-obtained info record?  Because I don't think it will...

On Dec 5, 2007 7:03 PM, James Nierodzik <email@hidden> wrote:
> Well, figured I would ask.. Is there anything special or strange about the
> file in question?
>
> This is working for me
>
>
> set x to choose file
>
> tell application "Finder"
>  set current_name to name of x -- returns "Picture 1.png"
>  set name of x to "thepicture.png"
>  set new_name to name of x -- returns thepicture.png
> end tell
>
> ~
>
>
>
> James
> P Please consider the environment
> before printing this email.
>
>
>
>
>
>
> On Dec 5, 2007, at 5:55 PM, Peter Baxter wrote:
>
> Nothing clever,
>
>
> set the current_name to the name of this_info
>
>
>
>
>
> On 06/12/2007, at 10:47 AM, James Nierodzik wrote:
>
> No problems here, what are you doing exactly?
>
>
>
>
> ~
> James
> P Please consider the environment
> before printing this email.
>
> On Dec 5, 2007, at 2:29 PM, Peter Baxter wrote:
> Hi,
>
> While working on a script for someone on this list, I discovered that I can
> no longer rename files using "vanilla" applescript on my computer.  OS X
> 10.5.1.
> Shell scripts are OK.
> Does anyone else have the same problem?
>
>
> Peter Baxter
> email@hidden
>
> "Never ask a man what computer he uses. If it's a Mac, he'll tell  you. If
> it's not, why embarrass him?"  --Tom Clancy
>
>
>
> _______________________________________________
> 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
>
>
>
> Yours sincerely,
> Peter J Baxter
> mail:  email@hidden
>
> The aim and final end of all music should be none other than the glory of
> God and the refreshment of the soul.
> -- Johann Sebastian Bach
>
>
>
>  _______________________________________________
> 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
>
>  _______________________________________________
> 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
>



--
Mark J. Reed <email@hidden>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Renaming files
      • From: Peter Baxter <email@hidden>
References: 
 >Renaming files (From: Peter Baxter <email@hidden>)
 >Re: Renaming files (From: James Nierodzik <email@hidden>)
 >Re: Renaming files (From: Peter Baxter <email@hidden>)
 >Re: Renaming files (From: James Nierodzik <email@hidden>)

  • Prev by Date: Smile (Was: AppleScript4programmers)
  • Next by Date: Re: Smile (Was: AppleScript4programmers)
  • Previous by thread: Re: Renaming files
  • Next by thread: Re: Renaming files
  • Index(es):
    • Date
    • Thread