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