• 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: Maximum list size [was Re: Sifting a list sans loop]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximum list size [was Re: Sifting a list sans loop]


  • Subject: Re: Maximum list size [was Re: Sifting a list sans loop]
  • From: Arthur J Knapp <email@hidden>
  • Date: Sat, 09 Feb 2002 14:56:18 -0500

> Date: Sat, 09 Feb 2002 11:21:52 +0100
> Subject: Re: Maximum list size [was Re: Sifting a list sans loop]
> From: Luc Naets <email@hidden>

> under applescript 1.6 it worked to coerce styled text to a clear string with
> the command
>
> set mClearString to string mStyledText
>
> under 1.8 or 1.7 it stopped working.
> Can somebody tell me how I can do this

I can't currently test under 1.7 or 1.8, but tell me how
this does:


-- Note: "<<" and ">>" are those, ya know, things. On a
-- U.S. keyboard, they are made by option-backslash
-- and shift-option-backslash.

-- DEBUG
set styled_text to the clipboard
--


styled_text --> STXT{ktxt:...,ksty:...}

set styled_text to styled_text as record
--
--> {<<class ktxt>>:"...",
-- <<class ksty>>:<<data styl00AAFF...>>}

set plain_text to <<class ktxt>> of styled_text
--
--> "...", the text



-- More simply put:
--
set plain_text to <<class ktxt>> of (styled_text as record)




{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
<mailto:email@hidden>
try
<http://www.seanet.com/~jonpugh/>
on error number -128
end try
}
_______________________________________________
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: Remote Access status
  • Next by Date: Re: Remote Access status
  • Previous by thread: Re: Maximum list size [was Re: Sifting a list sans loop]
  • Next by thread: Re: Maximum list size [was Re: Sifting a list sans loop]
  • Index(es):
    • Date
    • Thread