Re: Kind Of Annoying Droplet Behavior
Re: Kind Of Annoying Droplet Behavior
- Subject: Re: Kind Of Annoying Droplet Behavior
- From: "S. J. Cunningham" <email@hidden>
- Date: Thu, 25 Feb 2016 04:23:37 -0500
On Feb 24, 2016, at 1:45 PM, S. J. Cunningham wrote:
> I have created a Droplet Application. When I try to drop a certain folder on it, the Finder first makes a copy of that folder and then opens the copy with the droplet. Other folders (at least those I have looked at) behave as expected. I have compared the ownership and permissions of the original folder and the copy and they are the same. The original, however, has the finderinfo attribute viz:
>
> com.apple.FinderInfo:
> 00000000 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 |................|
> 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> 00000020
>
> I have been unable to find any dictionary of the finderinfo bits. Google has not been my friend (nor was it ever. But that's another story)
>
> So my question is how do I avoid the Finder making a copy before dropping and where can I find the bit dictionary for the finderinfo attribute (or any other attribute in general?
>
> Thanks
>
> PS I know I can remove the attribute with xattr but I'd like to understand why it's there in the first place and what it is doing.
Well, it turns out that the bit in question is the "kIsStationery" flag, which isn't, of course, supposed to be set for a folder. And it doesn't show up as such in Get Info. I encountered this problem a year ago for multiple folders and promptly forgot about it. How it got set is a mystery.
I still can't find any dictionary of extended attribute bit assignments (other than in Finder.h), so if anyone is aware of one I'd appreciate it.
Steve
------------------
OS X 10.6.8, AppleScript 2.1.2
_______________________________________________
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