• 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
Requesting help with sandboxing questions please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Requesting help with sandboxing questions please


  • Subject: Requesting help with sandboxing questions please
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 30 Aug 2014 09:21:17 +1000

G'day scripters

I've learnt that sandboxed apps cannot use the Finder, but in place of it, how can I specifically...

1. Check if a folder exists in the sandbox 'Documents' folder

2 Create a new folder in the sandboxed 'Documents' folder

3 Replace the Finder 'set everyFile to every file of documentsFolder whose name contains ".plist"

4 Get a file to run in place of this handler,

on openMyScriptFile_(sender)
try
set pathToApplescriptFile to path to current application as text
tell application "Finder"
set applescriptFile to pathToApplescriptFile & "Contents:Resources:ApplescriptObjC Wizard.scpt"
open applescriptFile
end tell
on error errmsg
display dialog errmsg
end try
end openMyScriptFile_

I've been googling for four hours, and cannot find the answers.

Regards

Santa
 _______________________________________________
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 assistance with sandboxing please.
  • Next by Date: Re: Requesting help with sandboxing questions please
  • Previous by thread: Re: Requesting assistance with sandboxing please.
  • Next by thread: Re: Requesting help with sandboxing questions please
  • Index(es):
    • Date
    • Thread