Re: Are folder actions in 10.8 completely broken?
Re: Are folder actions in 10.8 completely broken?
- Subject: Re: Are folder actions in 10.8 completely broken?
- From: Alex Zavatone <email@hidden>
- Date: Mon, 10 Jun 2013 11:01:01 -0400
Thanks Chris. It definitely was a Gatekeeper issue.
I made sure that the AppleScript would run by itself on the machine, disabled Gatekeeper,
Sadly, this wasted about 2 hours of time. If I knew it would have taken this long, I simply would have made the folder shared by apache and just parsed the return string of an http get in Objective-C. My approach here was to use AppleScript since it appeared to offer the events I wanted to trap and would be straightforward and easy. Thanks to Gatekeeper, it certainly wasn't the case.
If anyone wants this script to write out a plist of the visible files in a directory using Folder Actions, please let me know and I'll send it your way.
On Jun 10, 2013, at 10:16 AM, Alex Zavatone wrote:
>
> On Jun 7, 2013, at 7:57 PM, Alex Zavatone wrote:
>
>> I've got success with the script under VMWare on 10.8.3 when duplicating files in a folder the script is applied to ala the Finder.
>>
>> Also sharing that folder with AFP, logging on to it and deleting or adding/removing files properly creates the index.
>>
>> I'm outside the office now until tomorrow. I'll get the answers to the these tomorrow.
>> "xattr -p com.apple.quarantine path-to-your-script"?
>
> No such xattr: com.apple.quarantine
>
>> "spctl -a path-to-your-script"?
>
> rejected
>
>
> Any insight as to why something would be rejected?
>
> Oh, Jesus. I'm writing out a plist file to the directory the data is in without the user's permission that is outside. Is that it? Is this a sandboxing issue that's present on Mac OS X 10.8.x Server, but not on vanilla Mac OS X 10.8.x?
>
> Damn, I hate sandboxing with the burning passion of a thousand suns, for the simple reason that it gives us yet another thing to worry about when something simple goes wrong.
>
>
> Looking at Jürgen Schell's note on this, it sure looks like an annoying Gatekeeper issue.
>
> http://www.j-schell.de/node/598
>
> Working on trying to get this simple script working now based on his notes.
>
>
>
>
>
_______________________________________________
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