Re: "a reference to"
Re: "a reference to"
- Subject: Re: "a reference to"
- From: Luther Fuller <email@hidden>
- Date: Mon, 7 Jan 2008 10:02:42 -0600
I wonder if my experience with references is applicable here. Once
upon a time, some years ago, I would often get errors of the form
"The Finder does not understand a reference ...". I soon noticed that
using an alias avoided the problem.
Whenever writing AppleScript for the Finder, I began using aliases
exclusively, avoiding using references, and I ceased getting those
pesky errors. I could write ...
set fileAlias to ( ... ) as alias
and use 'fileAlias' without any problem.
Recently, I have been getting errors again. There are some Finder
commands that now require a reference and error with an alias. I
don't recall an example at the moment, but I have encountered
situations where using 'fileAlias' would error and require use of the
reference 'folder fileAlias' or 'item fileAlias'.
Has something in AppleScript changed recently?
_______________________________________________
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