Re: call method from objective c in an applescript class
Re: call method from objective c in an applescript class
- Subject: Re: call method from objective c in an applescript class
- From: Shane Stanley <email@hidden>
- Date: Thu, 15 Aug 2013 09:24:39 +1000
On 15/08/2013, at 5:37 AM, droom.dp <email@hidden> wrote:
on hLogger__(myLogList,myLogCounter)
[NSClassFromString(@"myAppLog") hNewLogger:myLogList:myLogCounter];
They don't match. If you're going to call it from Objective-C, you should probably make it a "proper" method name rather than using consecutive underscores.
Try changing the name to something like:
on hLogList_counter_(myLogList,myLogCounter)
And then use:
[NSClassFromString(@"myAppLog") hLogList:myLogList counter:myLogCounter];
|
_______________________________________________
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