• 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 scripting conundrum No 2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InDesign scripting conundrum No 2


  • Subject: Re: InDesign scripting conundrum No 2
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 14 Apr 2002 20:10:30 +1000

On 13/4/02 10:11 PM +1000, David Lloyd, email@hidden, wrote:

> Here is another InDesign/ OS X snippet that's holding me up:
>
> tell application "InDesign 2.0"
> tell document 1
> set theText to name of
> (info for (path to scripting additions folder))
> set contents of text frame 1 to theText
> end tell
> end tell
>
> -----
>
> This just doesn't work on OS X, it leaves the text frame empty.

Here, it puts "ScriptingAdditions" in the frame, as expected.

> But I if change the line to:
>
> set contents of text frame 1 to theText as Unicode Text
>
> ...it works, but...
>
> ...it also places visible 'square' characters at random after the text.

Again, I get a simple "ScriptingAdditions", no odd characters.

> These characters prove to be ascii number 13s, (or return characters).
> The oddity is that it appends 2, 3, 4, 5 or none of these characters after
> the text randomly, sometimes none at all.

That sounds very odd. Maybe deleting prefs and reinstalling is in order. Did
you install while 10.1.3 was running?

> Once again, it's a OS X issue, it's OK on OS 9.2.2, where the Unicode bit
> isn't required.

I fear your OS X installation of ID is hosed, somehow.

--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >InDesign scripting conundrum No 2 (From: David Lloyd <email@hidden>)

  • Prev by Date: Re: InDesign scripting conundrum No 1
  • Next by Date: InDesign 2.0 Questions
  • Previous by thread: InDesign scripting conundrum No 2
  • Next by thread: InDesign scripting conundrum No 1
  • Index(es):
    • Date
    • Thread