Re: Messing with data types
Re: Messing with data types
- Subject: Re: Messing with data types
- From: Paul Skinner <email@hidden>
- Date: Mon, 3 Feb 2003 09:25:53 -0500
Sorry, that was probably a red herring. I'm working on a similar issue
with do shell script and thought I saw a link.
--
Paul Skinner
On Monday, February 3, 2003, at 06:50 AM, Paul Skinner wrote:
On Sunday, February 2, 2003, at 07:47 AM, Malcolm Fitzgerald wrote:
I've been using a bit of code that Arthur Knapp wrote that bends the
rules. His handler takes a string of hex characters and puts it
between chevrons. It works for strings less than 255 characters. This
is the handler:
on HexToStyle (hexString)
set s to run script "<<data styl" & hexstring & ">>"
return s
end HexToStyle
I'd like to hand it longer strings because most things that I want to
run through it have about eight style runs (8*40 + 4 = 324). The
alternative is to break the styled text into individual style runs
and concatenate the styled text.
--
--
Malcolm Fitzgerald
You could, alternately, write the data to a file and 'run script' the
file.
--
Paul Skinner
_______________________________________________
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.