Re: Help browser font size / Signature appPath / Larger font for Help etc.
Re: Help browser font size / Signature appPath / Larger font for Help etc.
- Subject: Re: Help browser font size / Signature appPath / Larger font for Help etc.
- From: Nigel Smith <email@hidden>
- Date: Fri, 9 Mar 2001 17:58:58 +0000
At 11:37 am -0500 9/3/2001, Paul Skinner wrote:
>
Cleaver and insightful though they were. You, unfortunately, can't
>
really use much of the help from the applescript sourcebook with any of
>
these solutions. Most of that help is based on anchors like...
>
<a href='help:runscript="script-to-run" string="optional parameter"'>Run a
>
script<a>
>
...which won't work in any environment other than the help browser.
So do it the other way round -- change all the SIZE="2" tags in the help
pages which are making the text too small for you to SIZE="3". Here's how I
did it...
Write a droplet (you may want to include some error checking :-) ):
_______________
on open of theFiles
set oldTIDs to AppleScript's text item delimiters
repeat with eachFile in theFiles
set myFile to open for access eachFile with write permission
set myString to (read myFile)
set AppleScript's text item delimiters to {"SIZE=\"2\""}
set myList to every text item of myString
set AppleScript's text item delimiters to {"SIZE=\"3\""}
set myString to myList as string
set eof of myFile to 0
write myString to myFile starting at eof
close access myFile
end repeat
set AppleScript's text item delimiters to oldTIDs
end open
______________
Then perform a search in Sherlock, looking for all files whose type is
"TEXT" and creator is "hbwr". Then drop one, some or all the found files
from the Found Files window onto the above droplet, and all those Help
Guide pagesa will have a 1 step bigger font.
Nigel