Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Warhaven

macrumors newbie
Original poster
Mar 3, 2010
19
1
Hey All,

I see wikis for python appscript and ruby appscript, but nothing for obj-c appscript. Is there something more in depth than what comes with the trunk? I'm having a dickens of a time getting this to do what I want it to do, chiefly, request Pages to save every open document and then verify if said documents were saved or not.

Was simple enough in AppleScript, but for the life of me I can't figure it out with what little bits are provided in the included docs.

Thanks
 
I posted everything I know/had found out some time back...

Thanks. I'm brand new to the forums, but MacRumors came up often when I was searching for appscript-related things.

[edit]

Oh, wrong "appscript." I'm looking specifically for info pertaining to objc-appscript, not Apple's ObjC-AppleScript. I'm trying to keep things in Objective-C, as I've found that writing things in AppleScript Studio have been less than... what's the word. Consistent. I get erroneous quirks and controls in the past haven't behaved as expected. For me, anyway.
 
Hey All,

I see wikis for python appscript and ruby appscript, but nothing for obj-c appscript. Is there something more in depth than what comes with the trunk? I'm having a dickens of a time getting this to do what I want it to do, chiefly, request Pages to save every open document and then verify if said documents were saved or not.

Documentation and examples in the trunk are your starting point. However, appscript, like AppleScript, is just a modest layer of syntactic sugar over Apple events. So if you know how to write a command in AppleScript, try running it through ASTranslate to view the resulting Apple event in appscript syntax. And if you're still not sure, post some AppleScript code.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.