Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 11, 2011, 04: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, 01: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, 05: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Run Script with Administrative Privileges during PackageMaker Installation rebello95 Mac Programming 0 Nov 7, 2011 11:27 PM
looking for a specific automation/script for itunes ... > eroxx OS X 0 Jun 4, 2011 07:17 PM
Anyone know where I can hire/commission a task to create script? Lifequest Mac Programming 2 May 23, 2011 12:52 PM
Applescript shell script won't run when display is sleeping BlueRevolution Mac Programming 6 Feb 19, 2011 03:11 AM
iTunes Script Help jason1989 Mac Programming 1 Jan 24, 2011 11:45 AM


All times are GMT -5. The time now is 12:04 PM.

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

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