A script for AppleWorks (addendum)
A script for AppleWorks (addendum)
- Subject: A script for AppleWorks (addendum)
- From: Mr Tea <email@hidden>
- Date: Tue, 30 Apr 2002 01:35:23 +0100
A short while ago I wrote:
>
when I tried removing the tabs by manipulating AppleScript's text item
>
delimiters I ended up with more tabs than I started with
My mistake. Of course you can remove tab characters from a block of text
this way. To add this function to the script I posted earlier, replace the
first line:
tell application "AppleWorks 6"
...with this:
tell application "AppleWorks 6" to set theText to text of document 1
set AppleScript's text item delimiters to tab
set theText to every text item of theText
set AppleScript's text item delimiters to ""
tell application "AppleWorks 6"
set text of document 1 to theText as string
Cordially
Mr Tea
_______________________________________________
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.