AppleScript: Our Friend. My (sometimes) Enemy. Why you should learn it.

Nathan Walls nwalls at ismedia.org
Thu Feb 20 21:59:01 PST 2003


On Thursday, February 20, 2003, at 03:39  AM, Brian C. wrote:

> I wish I didn't need to rely on you guys as some sort of AppleScript 
> rapid-response prototyping team; I wish I had armies of trained 
> code-generating and feature-testing attack monkeys, but I don't. =)

While I'm not complaining, since this is the most responsive I've seen 
any company about their product, I wonder, do you *really* want an army 
of feature-testing attack monkeys? Or, do you want the 
surgical-striking squad of scripters?

Incidentally, I posted earlier about a problem another user (Bruce, I 
think) about changing fonts. I found in BBEdit where I can change the 
default font (at least in 2.1.1 (v46))

There's a block of XML in the Styles area, near the bottom. In it, is a 
block that looks like this...

			<key>TextFont</key>
			<dict>
				<key>name</key>
				<string>Helvetica</string>
				<key>size</key>
				<real>1.200000e+01</real>
			</dict>

change the size value to 1.100000e+01 to make an 11 pt. font default 
when the outline was already created. I suspect the active AS people 
could automate this. It could also be converted through Perl using 
something like XML::Simple or XML::Writer and XML::Parser (I'd write 
the script, but, just haven't, yet).

Cheers,

Nathan
-- 
nathan l. walls
e-mail:                     nwalls at ismedia.org
articles and such:          http://ismedia.org
          "It's the 'Lorum Ipsum' of our time!"




More information about the OmniOutliner-Users mailing list