• 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: Shane Stanley <email@hidden>
  • Date: Thu, 05 Jan 2012 09:50:50 +1100

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


-- 
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: "John C. Welch" <email@hidden>
References: 
 >Stepper confusion (From: "John C. Welch" <email@hidden>)

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