• 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: Acrobat 6 "do script" problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Acrobat 6 "do script" problem...


  • Subject: Re: Acrobat 6 "do script" problem...
  • From: Nigel Smith <email@hidden>
  • Date: Wed, 12 Nov 2003 11:52:39 +0000

On 11/11/03 19:11, "Hanaan Rosenthal" <email@hidden> wrote:

> When you ask for posix path of the result you get is in styled text, and
> therefore the entire string is in styled text.
> Acrobat JAVASCRIPTT seems to choke on that.

And that did the trick...

One day I will remember that casting Unicode text to a string gives you
styled text. I thought I had checked but, of course:
log class of POSIX path of ":" = class of "/"
-->false
log class of (POSIX path of ":" as string) = class of "/"
-->true

Is there any way to check if a string is plain or styled, short of trying to
extract the the text portion of (the string as a record) and, if that fails,
it was plain text after all?

Thanks,

Nigel
_______________________________________________
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.

  • Prev by Date: Re: importing new video track with Quicktime
  • Next by Date: getting digests #2135 - 2148 - sorted, thanks
  • Previous by thread: Re: Acrobat 6 "do script" problem...
  • Next by thread: any chance of getting digests #2135 - 2148 from anyone?
  • Index(es):
    • Date
    • Thread