Applescript:Check folder exists
I'm having a problem getting this to work. I have found a working version using the finder
set msg to "Error"
tell application "Finder"
set displayappath to (path to home folder as text) & "music"
if existsdisplayappath then
set msg to "Check"
end if
end tell
display dialogmsg
I'm trying to use it in Xcode, but I get an error. Why will the work outside Xcode, but not inside
*I tried adding as Alias, but that only worked on a folder that exists, once I change it to test it I got another error
telling me it wasn't found.
would setting the
Hopefully Some know why
Thanks
PowerMac, Mac OS X (10.6.7)