Has anyone much experience with NSUserUnixTask to run scripts outside of the
sandbox?
Can one, for instance, use the script to execute a helper auxiliary from the
app bundle that would have been sand boxed if executed directly via NSTask?
Regards
Jonathan Mitchell
Mugginsoft LLP
To get outside the sandbox, the scripts have to be placed (by the end
user) in a special scripts folder which sandboxed apps can read from,
but cannot write to. It will (should) fail if you try to create a
script task from a URL that isn't inside the special folder. Apple
specifically says you
On 30 Nov 2012, at 08:39, Mark Munz unmar...@gmail.com wrote:
To get outside the sandbox, the scripts have to be placed (by the end
user) in a special scripts folder which sandboxed apps can read from,
but cannot write to. It will (should) fail if you try to create a
script task from a URL
Hi Kyle,
The subtype for the mouse event comes to be NSMouseEventSubtype(same as
that for a normal mouse event). The mouse events for the pen have the
subtype of NSTabletPointEventSubtype, but not touch.
On Wed, Nov 28, 2012 at 10:09 PM, Kyle Sluder k...@ksluder.com wrote:
On Nov 28, 2012,
On 30 Nov 2012, at 01:16, Sean McBride s...@rogue-research.com wrote:
On Fri, 30 Nov 2012 00:43:36 +, Mike Abdullah said:
With all the different features of the document system these days, it
can be pretty hard to slot them all in nicely with Core Data. People may
find
Thank you for your reply. It seems as though when you make a thorough
explanation in writing of what your problem is then the right solution is
found more easily. :) I struggled with this problem for a week and
couldn't, for the life of me, find out what the problem was; that is why I
posted my
In a sandboxed app I do the following for say com.mystuff.app and a folder
named com.mystuff.app is created in NSApplicationScriptsDirectory as expected.
NSError *error = nil;
NSURL *scriptsFolderURL = [[NSFileManager defaultManager]
I think that this question can be distilled down to :
Can a sandboxed app bundle helper tool use NSUserUnixTask to run a user script
in NSApplicationScriptsDirectory?
All my attempts have failed.
Regards
Jonathan Mitchell
On 30 Nov 2012, at 13:50, jonat...@mugginsoft.com wrote:
In a
The docs for NSPointerArray say, in a big bold box right at the top:
Important: NSPointerArray does not support weak references under Automatic
Reference Counting (ARC).
However, a [NSPointerArray weakObjectsPointerArray] does NULL an element that
has been released through ARC; I can test
On 2012-11-30, at 6:42 AM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
On 30 Nov 2012, at 01:16, Sean McBride s...@rogue-research.com wrote:
On Fri, 30 Nov 2012 00:43:36 +, Mike Abdullah said:
With all the different features of the document system these days, it
can be pretty
On 30 Nov 2012, at 18:59, Dave Fernandes dave.fernan...@utoronto.ca wrote:
On 2012-11-30, at 6:42 AM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
One way to look at it is that NSPersistentDocument pretty much painted
itself into a corner from day 1, and it's too messy for Apple to
On Fri, 30 Nov 2012 21:46:24 +, Mike Abdullah said:
Can you elaborate?
Well it makes the assumptions that your document:
- is comprised of a single Core Data store
- has a single managed object context
- works entirely on the main thread
- only ever saves on top of itself, or to a new
On 01/12/2012, at 9:01 AM, Sean McBride s...@rogue-research.com wrote:
Could be. But Apple could have provided a NSPersistentDocument2 class that
people could opt into. But they haven't.
Have you noticed that they never do this though? It must be some sort of policy
because there are
On Sat, 1 Dec 2012 09:49:23 +1100, Graham Cox said:
Could be. But Apple could have provided a NSPersistentDocument2 class
that people could opt into. But they haven't.
Have you noticed that they never do this though? It must be some sort of
policy because there are numerous examples where a
On 2012-11-30, at 4:46 PM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
On 30 Nov 2012, at 18:59, Dave Fernandes dave.fernan...@utoronto.ca wrote:
On 2012-11-30, at 6:42 AM, Mike Abdullah cocoa...@mikeabdullah.net wrote:
One way to look at it is that NSPersistentDocument pretty much
15 matches
Mail list logo