I am new to Applescript, but really enjoy it! I now have the need to call some existing C/C++ routines. Is this possible? If yes, how is this done? An example or a reference to some examples would be great. Thanks.
You can’t call C or C++ directly–there’s no bridge in the runtime–but you can call Obj-C methods. Wrap your existing C or C++ code inside Obj-C methods and use call method to invoke those.
There should be an example project called ‘Multi-Language’ in /Developer/Examples/AppleScript Studio/Multi-Language/ on your HD