Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 11, 2011, 05:10 AM   #1
Cojust
macrumors newbie
 
Join Date: Jan 2011
Cocoa-Applescript scripting

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

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
Cojust is offline   0 Reply With Quote
Old May 12, 2011, 02:53 AM   #2
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Quote:
Originally Posted by Cojust View Post
Hello, I am trying to understand ApplescriptObjC scripting(Is that what its called?).
Yes, it's AppleScriptObjC.

Quote:
Could anyone help me by telling me how to set(change) the contents of text fields and labels?
Code:
textField's setStringValue_("Hello World")
Quote:
And would appreciate if anyone has links to guides. Thanks
Some guides I found:
AppleScriptObjC : The new ASS
AppleScriptObjC in Xcode Part 1
AppleScriptObjC -Getting Started Part 1 [video]
kainjow is offline   0 Reply With Quote
Old May 12, 2011, 06:47 PM   #3
Billy Boo Bob
macrumors 6502
 
Join Date: Jun 2005
Location: Dark Side Of The Moon
Probably the best reference out there...

"AppleScriptObjC Explored" by Shane Stanley.

Also, a nice forum for discussion & Q/A.
__________________
My two favorite teams are Detroit and whoever's playing Chicago.

And it's none of your damn business what Apple gear I own.
Billy Boo Bob is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Programming 0 Oct 29, 2013 12:38 AM
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Applications and Mac App Store 0 Oct 29, 2013 12:32 AM
XCode - Cocoa-applescript question djjasonsa Mac Programming 3 Feb 21, 2013 04:50 PM
How to show/hide objects in Cocoa Applescript application sjmonty99 Mac Programming 3 Aug 6, 2012 12:02 PM
COMBOBOX populate from text file (cocoa applescript) nicoboss Mac Programming 4 Jun 29, 2012 02:36 PM

Forum Jump

All times are GMT -5. The time now is 03:11 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC