Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.