• 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: InDesign CS6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign CS6


  • Subject: Re: InDesign CS6
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 15 Jan 2015 11:28:58 +1100

On 15 Jan 2015, at 11:21 am, Stockly, Ed <email@hidden> wrote:
>
> Any idea why this very simple script won¹t compile in an InDesign tell
> block?
> tell application "Adobe InDesign CS6"
> 	 set myHello to myHello as text
> end tell
> -- Expected end of line but found application constant or consideration.
>
> I¹m making the jump from CS2 to CS6, and 10.4 to 10.10.1, so I was
> expecting a few gotchas, but a simple coersion to text seems pretty basic
> appleScript.

InDesign has redefined the text class. The workaround is to use "as string" instead.


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


References: 
 >InDesign CS6 (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: InDesign CS6
  • Next by Date: Re: InDesign CS6
  • Previous by thread: InDesign CS6
  • Next by thread: Re: InDesign CS6
  • Index(es):
    • Date
    • Thread