/ Published in: AppleScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
tell application "Finder" if (folder "My Folder" of desktop exists) = false then make new folder at desktop with properties {name:"My Folder"} else tell me to display dialog "The floder already exists." end if end tell