• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
A script for AppleWorks (addendum)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: List Folder and OS X Finder Concerns (From: Mr Tea <email@hidden>)

  • Prev by Date: TIDs Tabs & Square Brackets (Script Debugger question)
  • Next by Date: Re: Receiving mails
  • Previous by thread: TIDs Tabs & Square Brackets (Script Debugger question)
  • Next by thread: A script for AppleWorks
  • Index(es):
    • Date
    • Thread