• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stepper confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On 1/4/12 5:50 PM, "Shane Stanley" <email@hidden> wrote:

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

  • Follow-Ups:
    • Re: Stepper confusion
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Stepper confusion (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Stepper confusion
  • Next by Date: Re: Stepper confusion
  • Previous by thread: Re: Stepper confusion
  • Next by thread: Re: Stepper confusion
  • Index(es):
    • Date
    • Thread