Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mr_Questor

macrumors newbie
Original poster
Jan 17, 2018
2
0
I am trying to use AppleScript to create a new folder on an external drive. Here is the code that I am trying:

tell application "Finder"
set x to POSIX path of file "LaCie::Dash Cam"
make new folder at x with properties {name:"New Folder"}
end tell

When I try to run the script, I get "error "Finder got an error: AppleEvent handler failed." number -10000"

I have attached a screen shot of my attempt.

Please advise.....
Screen Shot 2018-01-27 at 3.08.55 PM.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.