Hello,
I’ve just switched from Windows to mac (and I’m happy with my decission!).
Now, I’m trying to write an apple script to make a folder on my external hard disk (NAS). My hard disk is mounted, I can see the following in Finder. The disk is called ‘Diskstation’ (As you can see, I’m dutch speaking)
I’ve looked on the internet, I’ve found a lot of solutions (and tried them), but none seems to work.
The last thing I tried is:
Can anyone say me what I’m doing wrong and give me an advice on how to do it?
Thanks in advance
I’ve just switched from Windows to mac (and I’m happy with my decission!).
Now, I’m trying to write an apple script to make a folder on my external hard disk (NAS). My hard disk is mounted, I can see the following in Finder. The disk is called ‘Diskstation’ (As you can see, I’m dutch speaking)
I’ve looked on the internet, I’ve found a lot of solutions (and tried them), but none seems to work.
The last thing I tried is:
Code:
set DiskName to "DiskStation"
set FolderName to "Heron"
tell application "Finder"
set DoelFolder to folder FolderName of disk DiskName
make new folder at DoelFolder with properties {name:"test"}
end tell
Can anyone say me what I’m doing wrong and give me an advice on how to do it?
Thanks in advance
Last edited: