December 15, 201411 yr Newbies Hi, hoping someone can help. I had a couple of AppleScripts, set up to run on a button, that would create a folder in the Finder and a Mailbox in Mac Mail using data from fields in a given record. Since updating to Yosemite these scripts no longer work. I get error messages as per below; For the Finder folder: "Finder got an error: You don't have permission to create a folder here." "Unknown Error: -10000." For the Mailbox: "Mail got an error: AppleEvent handler failed." "Unknown Error: -10000." Here is the AppleScript that would create the Finder folder. set FolderName to cell "Docket Folder Name" of current record set FolderPath to cell "Docket Folder Path" of current record tell application "Finder" make new folder at FolderPath with properties {Name:FolderName} end tell Here is the AppleScript that would create the Mailbox. set MailboxName to cell "Docket Folder Name" of current record tell application "Mail" make new mailbox with properties {Name:MailboxName} end tell I hope i've explained this properly. Any help would be greatly appreciated!!
December 15, 201411 yr Hi Radius360 welcome to the FM Forum, I moved your topic from "FileMaker 13 General Discussion" to "AppleScript & Automator” because your are showing you’re using FileMaker 11 and Snow Leopard. This could have also been posted in Managing Scripts, but since your question had to do with AS. Lee Edited December 15, 201411 yr by Lee Smith Personalized
January 8, 201511 yr I think this is more of a Yosemite issue than an FM issue, since the errors are triggered on non-FM-related AS commands.
Create an account or sign in to comment