Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COExcept ScriptingBridge doesn't work properly and often breaks on stuff that works perfectly in AS. The only supported way to speak Apple events correclty is AS, so being able to use ASOC instead of messing with NSAppleScript crap is a big benefit for ObjC users too. FWIW, I've been trying to figure out how ASOC's ObjC->AS argument mapping works, but haven't had much luck. For now, I think the least awful option might be to return an NSArray containing 2 values: the result (return value or 'missing value') and error info ('missing value' or NSError); but if I find a better way I'll post it.
      singulars
    2. COYep. As I said above, I initially tried to use Scripting Bridge and found it to be a nightmare for some applications. I like the idea of Scripting Bridge, but it doesn't work correctly in practice because the (good) idea is so poorly implemented. Just to get it to autogenerate headers that would compile took manual editing of the dictionary files, and some AppleScript events simply didn't work (while others did), for the exact same actions as normal AS code that worked fine. ASOC worked much better, although it's also not without its warts.
      singulars
    3. COYeah, Apple really screwed up SB. ObjC-Appscript worked (works?) an absolute treat and it's a huge shame Apple didn't learn from/copy/steal it, but it's no longer maintained or supported as a result of Apple legacying/deprecating the Carbon APIs it relies on without providing any Cocoa alternatives. For doing anything non-trivial from ObjC nowadays, AppleScript-ObjC is often the best option: AppleScript may be a PITA as a language but it knows how to speak Apple events properly, and the ASOC bridge takes most of the pain out of connecting the two.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload