• 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: Applescript in the future
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript in the future


  • Subject: Re: Applescript in the future
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 23 May 2013 10:40:05 +1000

On 23/05/2013, at 10:28 AM, Alex Zavatone <email@hidden> wrote:

> What is failing is TextEdit and it appears to be a sandboxing issue.

It sounds more like you're using a path rather than a file in the save command. This saves a TextEdit file outside its sandbox here here:

set theDesk to path to desktop as text
tell application id "com.apple.TextEdit" -- TextEdit
	save document 1 in file (theDesk & "Some file.txt")
end tell


--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Applescript in the future
      • From: Christopher Stone <email@hidden>
    • Re: Applescript in the future
      • From: Alex Zavatone <email@hidden>
References: 
 >Applescript in the future (From: Chris Swain <email@hidden>)
 >Re: Applescript in the future (From: Alex Zavatone <email@hidden>)
 >Re: Applescript in the future (From: Shane Stanley <email@hidden>)
 >Re: Applescript in the future (From: Christopher Nebel <email@hidden>)
 >Re: Applescript in the future (From: Alex Zavatone <email@hidden>)
 >Re: Applescript in the future (From: Christopher Nebel <email@hidden>)
 >Re: Applescript in the future (From: Alex Zavatone <email@hidden>)
 >Re: Applescript in the future (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Applescript in the future
  • Next by Date: Re: Applescript in the future
  • Previous by thread: Re: Applescript in the future
  • Next by thread: Re: Applescript in the future
  • Index(es):
    • Date
    • Thread