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 Feb 12, 2009, 06:24 PM   #1
jaikob
macrumors 6502
 
Join Date: Jul 2008
Location: Freeland, MI
Applescript Set Text of Label

I am trying to make a counter, and I am trying to do something like this:

on clicked theObject
delay 1
set contents of label "count" of window "step1" to "1" as text
delay 1
set contents of label "count" of window "step1" to "2" as text
delay 1
set contents of label "count" of window "step1" to "3" as text
end clicked

But it errors out.

Any ideas?
__________________
iPad 2 64GB White , Mid 2011 iMac 3.4GHz i7 12GB Ram ATI 6970M 2GB Apple SSD + 1TB
jaikob 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
Append Text to Text File in Applescript BobRon Mac Programming 2 Mar 23, 2014 02:52 PM
Set label title from mouseEntered: on a NSButton Val K Mac Programming 1 Jun 19, 2013 03:39 AM
Applescript trouble - testing against Label Index Terminal Frost Mac Programming 2 Jan 16, 2013 08:28 PM
What's the diff between text field and label ? iNeedAnsurs iPhone/iPad Programming 6 Nov 19, 2012 03:40 AM
ios label.text null wordgeist iPhone/iPad Programming 3 Sep 15, 2012 08:01 AM

Forum Jump

All times are GMT -5. The time now is 07:30 AM.

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

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