• 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: How can we include ASOC (on Xcode) code including AS Library terminology
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can we include ASOC (on Xcode) code including AS Library terminology


  • Subject: Re: How can we include ASOC (on Xcode) code including AS Library terminology
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 12 Apr 2018 07:07:55 +1000

On 12 Apr 2018, at 1:18 am, Takaaki Naganoya <email@hidden> wrote:
>
> We can use AppleScript Libraries terminology on Script Editor (ex.Shane’s
> “Myriad Tables Lib”).
> On the other hand, can we do it with AppleScriptObjC on Xcode?

This works fine here:

        on applicationDidFinishLaunching:aNotification
                tell script "Myriad Tables Lib"
                        display table with data {"One", "Two", "Three", "Four",
"Five"}
                end tell
        end applicationDidFinishLaunching:

It also works fine with a "use" statement.


> <AppleScriptObjC on Xcode>
>       on dispWeeklyScheduleTable:dispList
>               tell script "Myriad Tables Lib"
>                       —my Code
>               end tell
>       end dispWeeklyScheduleTable:
> </AppleScriptObjC on Xcode>
>
> This code pass the compile action but causes error in execution.

I'm not sure why. Feel free to send me an example project.

--
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

  • Follow-Ups:
    • Re: How can we include ASOC (on Xcode) code including AS Library terminology
      • From: Shane Stanley <email@hidden>
References: 
 >How can we include ASOC (on Xcode) code including AS Library terminology (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: How can we include ASOC (on Xcode) code including AS Library terminology
  • Next by Date: Re: How can we include ASOC (on Xcode) code including AS Library terminology
  • Previous by thread: How can we include ASOC (on Xcode) code including AS Library terminology
  • Next by thread: Re: How can we include ASOC (on Xcode) code including AS Library terminology
  • Index(es):
    • Date
    • Thread