What is the connection between AppleScript and ObjC? I know you can use Xcode to write AppleScript, and it's ability is underrated. IS it possible to use AppleScript in place of ObjC, similiar to Lua or other languages?
What is the connection between AppleScript and ObjC? I know you can use Xcode to write AppleScript, and it's ability is underrated. IS it possible to use AppleScript in place of ObjC, similiar to Lua or other languages?
No. There is no connection between them.
No, you can't use AppleScript in place of ObjC.
What is the connection between AppleScript and ObjC? I know you can use Xcode to write AppleScript, and it's ability is underrated. IS it possible to use AppleScript in place of ObjC, similiar to Lua or other languages?
Inside Xcode, you can call Cocoa methods using "call method," which gives you quite a bit of functionality. It's not the same as Objective C, but it is a huge leap forward. Google Applescript and "call method" and you should see quite a bit, including entries in Apple lists that will help.
mt
The AppleScript bridge is not quite as good as the Ruby and Python bridges. It is a bit older, but there was some talk out of Apple engineers at WWDC a year ago about that bridge being brought in line with the others, but I did not make it to this years conference to hear the latest status on that.
It looks like they're going to make it happen with Snow Leopard. Right now AppleScript Studio is totally left out of SL's Dev Tools, and the AppleScript bridge appears to be there (at least partially?), but the docs are not accessible unless you're a qualified dev (to download them).
So I've been told.![]()