Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jaikob

macrumors 6502
Original poster
Jul 1, 2008
429
0
Freeland, MI
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.