If Anyone Can Help Me Out You Will Be A Legend Since 10.7 Applescript Studios Is No More And I Dont Know A Thing About Applescriptobjc But Im Trying To Understand It!!! Please Help!!! Im Begging Everybody On Macscripter!!! Every Little Bit Helps Me Out!!!..
If you really donât know anything, then you should start by buying Shaneâs book, âAppleScriptObjC Exploredâ, and reading it.
Ric
Best $30 youâll ever spend on AppleScriptObjC
I agree, Shaneâs book has been of tremendous help.
AppleScriptObjC is radically different than AppleScript Studio was, but you can do soooooooo much more, i keep being amazed by the possibilities even after more than a year. There is no direct conversion of the code from ASS to ASOC. It wonât be easy, but itâs well worth the time learning the new way.
I know it might seem very different and much more complex, I know I did think so, but actually it is not that bad. Itâs different, but not harder or more complex.
In my experience what was the hardest to understand was the creation of objects and applying methods to them to get the desired result. In ASS you told a predefined command (a very limited set of commands compared to what you have access in ASOC) what you wanted, but with ASOC you need to create an object with a class method first, like an NSArray or an NSImage, and then you use individual objectsâ instance methods (or inherited methods from inherited classes), and perform manipulations on them. Itâs the simple version of course, but itâs gives you a general idea. If you read Shaneâs book it will all become clear. And donât forget to download his myriad helpers Objective-C classes to ease your pain with the more complex aspects of ASOC, as well as circumvent some problems.
Play with it for a few weeks, then come back with your individual questions on these forums if you donât find answers to your questions in the earliest posts. I strongly suggest that you have look in the old posts before you create a new one as you will not be the first nor the last person to hit the same problems at the beginning, weâve all been there at first!
Good luck!
Browser: Safari 531.22.7
Operating System: Mac OS X (10.6)