• 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
Rename Droplet Works in OS 9 But Not X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rename Droplet Works in OS 9 But Not X


  • Subject: Rename Droplet Works in OS 9 But Not X
  • From: "Alatorre, Michael" <email@hidden>
  • Date: Thu, 3 Jul 2003 10:41:23 -0700

Here is a simple rename droplet that works in OS 9:
on open theFile
tell application "Finder"
select theFile
set name of selection to "PEAC-SMG.xls"
end tell
end open
But, if I use the same code in OS X, I get this error:

Can't set name of selection of application "Finder" to "PEAC-SMG.xls".

If it's related to differences in the Finder, does anyone have a suggestion
on how to accomplish this in X?

TIA

Michael Alatorre (mailto:email@hidden)
EIS Liaison Analyst
Cedars-Sinai Health System (http://www.cedars-sinai.edu/)
Medical Affairs: 310.423.6237 310.423.0448 (fax)

"Good judgment comes from experience. Unfortunately, the experience usually
comes from bad judgment."
_______________________________________________
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.

  • Prev by Date: Re: Dialog boxes in Photoshop
  • Next by Date: Re: Newbie blues (was Remove spaces)
  • Previous by thread: Re: Dialog boxes in Photoshop
  • Next by thread: Re: Rename Droplet Works in OS 9 But Not X
  • Index(es):
    • Date
    • Thread