Jump to content

Zahid2013

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

About Zahid2013

  1. Zahid2013

    Mac Applescript

    Hi, I am new to this forum. Would appreciate any help. I am currently trying to execute the following Applescript: set strPrefs to "smb://ncc-sharedspace/Prefs" mount volumestrPrefs set strUserName to do shell script "whoami" tell application "Finder" if not (exists folder "& strUserName &" of disk "strPrefs") then do shell script "mkdir /Volumes/Prefs/" & strUserName & "" else do shell script "echo hello" end if end tell Everytime it keeps saying the files exists which is fine so it should execute the else part of the if statement but it just wont!!!!! Arrgggghhhhh Any pointers/help would be most welcome. Thanks Zahid
×
×
  • Create New...