Re: InDesign CS6
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>) |