As an experiment I wrapped NSAppleScript in a very simple way.
It's only one command
Code: Select all
COCOA_AppleScript("beep 3")
Debug COCOA_AppleScript("tell application " + Chr(34) + "Finder" + Chr(34) + " to get the name of every item in the desktop")
Link to userlib : http://www.w73.nl/pb/libPBCocoa.zip