• 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: Calling a handler from another script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

-- 
Shane Stanley <email@hidden>
<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: Calling a handler from another script
      • From: Brian Christmas <email@hidden>
References: 
 >Re: Calling a handler from another script (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Calling a handler from another script
  • Next by Date: Re: Calling a handler from another script
  • Previous by thread: Re: Calling a handler from another script
  • Next by thread: Re: Calling a handler from another script
  • Index(es):
    • Date
    • Thread