Re: What on Earth????
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.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden