Eallam,
your script is wonderful. I've used it till yesterday.so a big Thanks!. Unfortunately I suspect the latest upgrade to Yosemite DP has broken something in the interpeter, it doesn't work anymore and I got weird errors in the Console Log:
23/11/14 17:46:47,689 bird[298]: Could not resolve bookmark. Error: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.bird was invalidated.) UserInfo=0x7fc602993ff0 {NSDebugDescription=The connection to service named com.apple.bird was invalidated.}
23/11/14 17:46:47,696 sandboxd[387]: ([298]) bird(298) deny mach-lookup com.apple.bird
23/11/14 17:46:47,729 CoreServicesUIAgent[322]: Error -60005 creating authorization
23/11/14 17:46:47,755 droplet[805]: Bundle (null) does not have an FileProviderModuleClass entry.
23/11/14 17:46:47,896 droplet[805]: warning: failed to get scripting definition from /Users/walter/RotateKeynoteDocument.app; it may not be scriptable.
23/11/14 17:46:47,897 bird[298]: Assertion failed: ![_xpcClients containsObject:client]
23/11/14 17:46:47,898 bird[298]: setting error: Error Domain=BRCloudDocsErrorDomain Code=10 "The operation couldn’t be completed. (BRCloudDocsErrorDomain error 10 - Invalid parameter 'entitlement': com.apple.private.librarian.container-proxy)" UserInfo=0x7fc602993ff0 {NSDescription=Invalid parameter 'entitlement': com.apple.private.librarian.container-proxy}
23/11/14 17:46:47,898 droplet[805]: Could not resolve bookmark. Error: Error Domain=BRCloudDocsErrorDomain Code=10 "The operation couldn’t be completed. (BRCloudDocsErrorDomain error 10 - Invalid parameter 'entitlement': com.apple.private.librarian.container-proxy)" UserInfo=0x7fb50244cf30 {NSDescription=Invalid parameter 'entitlement': com.apple.private.librarian.container-proxy}
23/11/14 17:46:47,899 droplet[805]: An uncaught exception was raised
23/11/14 17:46:47,899 droplet[805]: *** +[NSString stringWithUTF8String:]: NULL cString
Any idea by chance?
Thanks
W