"path to resource" in a tell Finder statement doesn't work
"path to resource" in a tell Finder statement doesn't work
- Subject: "path to resource" in a tell Finder statement doesn't work
- From: Andrea -XFox- Govoni <email@hidden>
- Date: Mon, 09 Jan 2006 11:57:25 +0100
StandardAdditions dictionary says that the "path to resource" command
return the full path to the specified resource, searching by default in
the current application/script bundle.
Save this script as an application bundle:
--start copy here
tell application "Finder" to set iconToUse to path to resource "applet.icns"
--end copy here
Launch the saved application bundle with a double click in the Finder.
The Finder will display a "Resource not found." dialog.
If you don't include the "path to resource" command in a tell Finder
statement, it works as documented.
Is think this is a bug.
Am I wrong?
--
Andrea "XFox" Govoni
AIM/iChat/ICQ: email@hidden
Yahoo! ID: xfox82
Skype Name: draykan
PGP
KeyID: 0x212E69C1
Fingerprint: FBE1 CA7D 34BE 4A53 9639 5C36 B7A0 605F 212E 69C1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden