• 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
Re: Applescript-users Digest, Vol 3, Issue 369
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript-users Digest, Vol 3, Issue 369


  • Subject: Re: Applescript-users Digest, Vol 3, Issue 369
  • From: Bernard Azancot <email@hidden>
  • Date: Fri, 21 Jul 2006 07:16:05 +0200

Thanks.

I was thinking of this kind of solution, but I do not know :
- how a script can "read" this kind of preference file
- what could be the preference file formating.

Any hint ?

Michael Ghilissen, kindly replying to me from the HOT french Riviera, suggests the use of TextCommands (osax):

tell application "TextCommands"
set news_text to theResult as Unicode text
...
set the news_text to (search news_text for "blah... blah..." replacing with "")
end tell


I have tried this script (Applescript menu) on a TextEdit text but nothing occured... ?
What did I miss ?


Thanks again.

Yours.
BA


Le 20 juil. 06 à 21:00, email@hidden a écrit :


Message: 4
Date: Thu, 20 Jul 2006 04:26:36 -0400
From: "J. Stewart" <email@hidden>
Subject: Re: Text cleaning script
To: email@hidden
Message-ID:
	<r02010500-1047-7618E9C417C911DBA641000A95D992BC@[10.0.1.254]>
Content-Type: text/plain; charset=US-ASCII

On 7/20/06 at +0200 Bernard Azancot said this

My problem:
How can I manage to easily add new entries to correct, each time I
find/think of one, without modifing the script itsef ?

Put them into a text (preference) file that your script reads when it starts up. Edit them with any text editor.


JBS

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Applescript-users Digest, Vol 3, Issue 369
      • From: "J. Stewart" <email@hidden>
  • Prev by Date: Re: Opening Documents in Excel with Applescript
  • Next by Date: Re: Applescript-users Digest, Vol 3, Issue 369
  • Previous by thread: Re: Applescript-users Digest, Vol 3, Issue 369
  • Next by thread: Re: Applescript-users Digest, Vol 3, Issue 369
  • Index(es):
    • Date
    • Thread