• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Requesting help with sandboxing questions please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Requesting help with sandboxing questions please
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: Requesting help with sandboxing questions please
  • Next by Date: Re: Requesting help with sandboxing questions please
  • Previous by thread: Re: Requesting help with sandboxing questions please
  • Next by thread: Re: Requesting help with sandboxing questions please
  • Index(es):
    • Date
    • Thread