Hi All,
I have an AppleScript helper app and call certain methods in the delegate from an OBJc class.
BOOL isVolume = [apDel checkIfDiskExists:destString];
in delegate apDel:
if diskName is not in listVolumesFolder then
my nLog:"The disk is not mounted" withArg:""
return false
else
return true
end if
This used to work, the returned AppleScript false would equate to the BOOL. Now it returns a large number and is read as YES. Trying different coercions but no luck so far. Something obvious I’m sure.
Thanks, Rob