Posted By

lildemon on 09/15/09


Tagged


Versions (?)

Conditional code


 / Published in: AppleScript
 

  1. tell application "Finder"
  2. if (folder "My Folder" of desktop exists) = false then
  3. make new folder at desktop with properties {name:"My Folder"}
  4. else
  5. tell me to display dialog "The floder already exists."
  6. end if
  7. end tell

Report this snippet  

You need to login to post a comment.