• 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: Double Tell - Tell by Variable Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double Tell - Tell by Variable Question


  • Subject: Re: Double Tell - Tell by Variable Question
  • From: Dave <email@hidden>
  • Date: Fri, 26 Jun 2015 12:00:37 +0100

> On 26 Jun 2015, at 10:41, Shane Stanley <email@hidden> wrote:
>
> On 26 Jun 2015, at 7:15 pm, Dave <email@hidden> wrote:
>>
>> I don’t want to use the name “calculator”, because I want the Script to be able to talk to whichever app is currently being targeted.
>
> The only way that can work is if your script uses the (relatively few) commands and classes common to all the potential targets. And if that's the case, wrapping it in a "using terms from" block targeting any of those apps will work fine -- it's sole purpose is to give the AppleScript compiler somewhere to look for terminology.

Thanks, the way I’d envisaged it is that the “targets” would be a suite of Apps - like CS6/5/4/3 or MS Office etc.

In this case, the script code is included in a XCode project as a .applescript file. So, I take XCode does the compilation of the Script?

If so, then if it were possible to specify in the build or other setting where to get the terms from, something like this perhaps:


script MyASClass
  property parent : class "NSObject"
  property usingTermsFrom : class  {"Adobe Illustrator”,"Adobe Photoshop”,"Adobe Indesign”}

What do you think?

Seems like a way to tie the Script in XCode to a set of terms would be a good/cool thing?

Thanks for your help.
All the Best
Dave


 _______________________________________________
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: Double Tell - Tell by Variable Question
      • From: Shane Stanley <email@hidden>
References: 
 >Double Tell - Tell by Variable Question (From: Dave <email@hidden>)
 >Re: Double Tell - Tell by Variable Question (From: Shane Stanley <email@hidden>)
 >Re: Double Tell - Tell by Variable Question (From: Dave <email@hidden>)
 >Re: Double Tell - Tell by Variable Question (From: Shane Stanley <email@hidden>)
 >Re: Double Tell - Tell by Variable Question (From: Dave <email@hidden>)
 >Re: Double Tell - Tell by Variable Question (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Mac InDesign CS5.5 & fonts
  • Next by Date: Re: Hide ribbon in Word
  • Previous by thread: Re: Double Tell - Tell by Variable Question
  • Next by thread: Re: Double Tell - Tell by Variable Question
  • Index(es):
    • Date
    • Thread