• 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: Passing app property names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing app property names


  • Subject: Re: Passing app property names
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 06 Aug 2015 10:19:23 +1000

On 6 Aug 2015, at 4:00 am, Steve Mills <email@hidden> wrote:

set change grep preferences to nothing
set changeProps to changeProps & (properties of change grep 
preferences)
 
InD pukes on that, probably because some readonly props are included in the list.

It may puke on that, but not for that reason: if you try to set a read-only property, or even provide an invalid value, InDesign will quietly ignore it (except if it's the only property you're setting).

I suspect you just need a "get" in there:

set changeProps to changeProps & (get properties of change grep preferences)

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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: Passing app property names
      • From: Steve Mills <email@hidden>
References: 
 >Re: Passing app property names (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: List of numbers for encoding in Microsoft Word?
  • Next by Date: Re: Passing app property names
  • Previous by thread: Re: Passing app property names
  • Next by thread: Re: Passing app property names
  • Index(es):
    • Date
    • Thread