Re: Stepper confusion
Re: Stepper confusion
- Subject: Re: Stepper confusion
- From: "John C. Welch" <email@hidden>
- Date: Wed, 04 Jan 2012 21:38:33 -0500
- Thread-topic: Stepper confusion
Your property starts out as an integer, but when you click on the stepper, bindings change it to an NSNumber. So you need to change this:
set my hostTimeouts to hostTimeouts - 1 --decrement remaining timeouts
to:
set my hostTimeouts to hostTimeouts as integer - 1 --decrement remaining timeouts
Nope, no change, either that way or as
set my hostTimeouts to ((hostTimeouts as integer) - 1)
Or
set my hostTimeouts to (hostTimeouts as integer) - 1
Or
set my hostTimeouts to (hostTimeouts as integer – 1)
I did look up the stepper documentation, but nothing on what stepper is doing to the label.
The actual error message, which I stupidly forgot to include on my first email is:
2012-01-04 21:30:44.789 Derby Score[2068:707] *** -[Derby_ScoreAppDelegate homeTeamTimeOut:]: Can’t make «class ocid» id «data kptr000000008019280004000000» into type number, date or text. (error -1700)
-- "There is only one tactical principle which is not subject to change. It is to use the means at hand to inflict the maximum amount of wound, death, and destruction on the enemy in the minimum amount of time." - General George S. Patton, Jr.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden