Re: Finder Scripting
Re: Finder Scripting
- Subject: Re: Finder Scripting
- From: Shane Stanley <email@hidden>
- Date: Tue, 23 Aug 2005 21:00:24 +1000
- Thread-topic: Finder Scripting
On 23/8/05 1:29 PM, "Dave Lyons" <email@hidden> wrote:
> On Aug 20, 2005, at 5:17 AM, Shane Stanley wrote:
>> According to the dictionary, one command is "(NOT AVAILABLE) add to
>> favorites". But now I try it, I see it doesn't actually compile
>> like that. Then again, "add to favorites" alone won't compile
>> either. (If I enter "«event fndrffav»" it compiles to "(NOT
>> AVAILABLE) add to favorites" once, but from then on refuses to
>> compile.)
>
> I'll try to get this cleaned up for the next big release. If "add to
> favorites" has never even compiled right, then that one wasn't doing
> it's "compatibility" job anyway, and it can just be removed.
It compiled in 10.3.9; it looks like it got mangled in the dictionary for
Tiger.
>> In Tiger, [...] you can move but not (always) duplicate. The
>> problem doesn't happen always, but when it does you see an error
>> dialog quickly flash up ("Sorry, the operation could not be
>> completed because an unexpected error occurred, (Error code 0)").
>> The script editor's log records no error; in fact, the command
>> returns what would be the result of correct operation. (This makes
>> trapping it a nightmare.)
>
> And the item has not actually been duplicated? (The return value
> refers to a nonexistent item?) -- Have anyone seen this happen with a
> "manual" Duplicate, or is it only from a script?
I've only seen it from a script. Details off-list.
--
Shane Stanley <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:
This email sent to email@hidden