Cocoa-Applescript scripting

Discussion in 'Mac Programming' started by Cojust, May 11, 2011.

  1. macrumors newbie

    Jan 27, 2011
    Hello, I am trying to understand ApplescriptObjC scripting(Is that what its called?). Is there any guide out there that starts from the basics of referring to objects? I do know some applescript but am having problems manipulating the GUI. I know that to get the contents of a text field, its "set varName to varName's stringValue() as text" but thats ALL i know as nearly all the guides ive found refer to applescript studio :mad:

    Could anyone help me by telling me how to set(change) the contents of text fields and labels? And would appreciate if anyone has links to guides. Thanks :)
  2. Moderator emeritus


    Jun 15, 2000
    Yes, it's AppleScriptObjC.

    textField's setStringValue_("Hello World")
    Some guides I found:
    AppleScriptObjC : The new ASS
    AppleScriptObjC in Xcode Part 1
    AppleScriptObjC -Getting Started Part 1 [video]
  3. macrumors 6502

    Billy Boo Bob

    Jun 6, 2005
    Dark Side Of The Moon

Share This Page