Rename Droplet Works in OS 9 But Not X
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.