Re: Requesting help with sandboxing questions please
Re: Requesting help with sandboxing questions please
- Subject: Re: Requesting help with sandboxing questions please
- From: Robert DuToit <email@hidden>
- Date: Sat, 30 Aug 2014 07:25:42 -0400
Woops,
hit send button by mistake… meant to finish that:
set DocFoldPath top path to Documents folder ( >> Macintosh HD:Users:Rob:Library:Containers:com.robdutoit.testApp:Data:Documents:
set DocList to list folder DocFoldPath
set posPath to ((posix path of DocFoldPath)&”/test.txt”) as string
do shell script (“Date > “& quoted form of posPath)
So you can use applescript commands within your container without throwing sandbox error. Reviewers should be ok with that.
As long as you don’t go through apple events to other apps like “finder”
You may still need to use an OBJc class for writing to a plist or at least use the applescriptObjectiveC bridge to it.
Cheers, Rob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden