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

InDesign CS6


  • Subject: InDesign CS6
  • From: "Stockly, Ed" <email@hidden>
  • Date: Thu, 15 Jan 2015 00:21:10 +0000
  • Thread-topic: InDesign CS6

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.



I¹ve got hundreds of scripts that probably have some form of text coercion
inside and ID tell block, rather than totally rewrite, this would work:

tell application "Adobe InDesign CS6"
	tell application "Finder" to set myHello to myHello as text
end tell

But for some reason this doesn¹t work:

tell application "Adobe InDesign CS6"
	tell me to set myHello to myHello as text
end tell

What am I missing?

ES




 _______________________________________________
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: InDesign CS6
      • From: Stan Cleveland <email@hidden>
    • Re: InDesign CS6
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: ASObjCExtras.framework documentation
  • Next by Date: Re: InDesign CS6
  • Previous by thread: Re: ASObjCExtras.framework documentation
  • Next by thread: Re: InDesign CS6
  • Index(es):
    • Date
    • Thread