• 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: What on Earth????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What on Earth????


  • Subject: Re: What on Earth????
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 20 Sep 2016 16:27:17 +1000

On 20 Sep 2016, at 3:06 PM, Brian Christmas <email@hidden> wrote:
>
> 	setUpModulusCount error Can’t make «class ocid» id «data optr000000005737000000000000» into type number. error -1700 p = 0.2

That's telling you you're trying to convert a Cocoa object to a number, which you know doesn't work. Your code gives no idea where maxBarcodeCharacters comes from, but by its name we can probably guess that it's an NSNumber representing an integer. So replace "as number" with "as integer".


--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>



 _______________________________________________
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: What on Earth????
      • From: Brian Christmas <email@hidden>
References: 
 >What on Earth???? (From: Brian Christmas <email@hidden>)

  • Prev by Date: What on Earth????
  • Next by Date: Re: What on Earth????
  • Previous by thread: What on Earth????
  • Next by thread: Re: What on Earth????
  • Index(es):
    • Date
    • Thread