About using call method:
I implemented an Objective-C function to be called in Applescript by call method command.
This method should return a boolean. And tried many options including the (BOOL) in the example of the doc but always get a sort of int sometimes just 0 or 1 sometimes an int but never true/false in Applescript. Ok I can do with that but it’s not cool.
I think that if I knew the true class of an Applescript boolean I will probably have the solution but I can’t put my hand on that.
Any idea?