Re: Write underlined text to a file
Re: Write underlined text to a file
- Subject: Re: Write underlined text to a file
- From: Tom Robinson <email@hidden>
- Date: Tue, 07 Oct 2003 18:41:06 +1300
>
I have a script that cleans out folders of old files and writes each
>
file name to a text file before deleting it.
>
>
I'd like to underline or bold the root path of each folder in the text
>
file.
You canbt have underline and bold in a plain text file. You could use AppleScript to create an RTF file though.
Create a mockup of what youbd like in TextEdit. Save it as an RTF file. Have a look inside with a text editor like BBEdit; youbll see a start like:
{\rtf1\mac\ansicpg10000\cocoartf102
Then write an AppleScript using the standard bopen for accessb and bwriteb commands to recreate the mockup.
You could use this same method to create an HTML document of the files.
Cheers
--
If you went to BMW and asked them why they donbt outsell the Ford Taurus, they would say they donbt want to make that sort of carbSteve Jobs on Apples vs PeeCees, 2003-09
_______________________________________________
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.