• 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: path to as string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path to as string


  • Subject: Re: path to as string
  • From: jj <email@hidden>
  • Date: Tue, 28 Jun 2005 23:46:06 +0200

>> You can ask for the same text 'as
>> record', and then typeStyledText and typeIntlText will return style
>> information ´class kstyª as well as its plain text ´class ktxtª.
>
> Note: that's a bug, not a feature.

Why do you say this is a bug? Obviously, it is not a feature, but I'd call
it a "workaround": you must provide some kind of information (style) for
others usage. For instance, in Tiger you can copy a file name in the
clipboard, and the Finder will place lots of info in separate arrays:
UTF-16, styled text, etc. You can then later paste this thing into an app
(eg, TextEdit), and it will pick the data it needs to properly display the
thing you placed in the clipboard.

I think International text had a similar idea and behaviour. Depending on
its language and script code, the target application should choose different
font faces to display the related text (if needed). Otherwise, if you were
TextEdit, why would you choose Arial instead of a Chinese-based font, at
paste-time? So, "ksty" is here useful info, I think...


jj

--
http://www.macscripter.net/
http://www.osaxen.com/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: path to as string (From: has <email@hidden>)

  • Prev by Date: Re: path to as string
  • Next by Date: Re: maddening
  • Previous by thread: Re: path to as string
  • Next by thread: Re: path to as string
  • Index(es):
    • Date
    • Thread