Re: Calling a handler from another script
Re: Calling a handler from another script
- Subject: Re: Calling a handler from another script
- From: Shane Stanley <email@hidden>
- Date: Sun, 27 Mar 2016 12:47:49 +1100
On 26 Mar 2016, at 4:41 PM, Brian Christmas <email@hidden> wrote:
I have a project that has a subscript object ('AttributedTextDrawer’)
Do you mean an ASObjC class named AttributedTextDrawer? Please try to get the terminology correct -- it makes things easier for everyone.
I’ve tried…
property attributedTextDrawerCaller : missing value
on applicationWillFinishLaunching:aNotification try set my attributedTextDrawerCaller to current application's AttributedTextDrawer's alloc()'s init() on error errmsg tell application "System Events" to display dialog "setting reference to textDrawer " & errmsg end try
but it errors with
setting reference to textDrawer AttributedTextDrawer doesn’t understand the “alloc” message.
If you do mean a class named AttributedTextDrawer, and you have such a thing, you should not see that error. Which suggests the problem is in the AttributedTextDrawer file.
|
_______________________________________________
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