Re: Adding to a text file
Re: Adding to a text file
- Subject: Re: Adding to a text file
- From: Gnarlodious <email@hidden>
- Date: Wed, 16 Mar 2005 15:54:20 -0700
This works here:
do shell script "du -ch /Volumes/francois.houle | col -b | sed
's/\\/.*\\/.*\\///' > ~/Desktop/Exchange.txt"
Shell escapes need double escaped backslashes when used inside Applescript.
Also, your command string was closed with a doublequote instead of a
singlequote.
-- Gnarlie
Entity francois.houle uttered this profundity:
> Ive found a way to do it in a shell script but it created another issue...
> AS doesn't take the command as it contains indentifiers used by AS as well
> do shell script "du -ch /Volumes/francois.houle | col -b | sed
> 's/\/.*\/.*\///" > ~/Desktop/Exchange.txt"
> That's the command... Obviously it finds identifiers as wont accept to
> compile it... Anyone know how to make sure that AS takes it straight up ?
> On 3/16/05 2:51 PM, "Michelle Steiner" <email@hidden> wrote:
>> On Mar 16, 2005, at 12:14 PM, Francois Houle wrote:
>>
>>> Thank you for your answer Michelle...
>>> However what you wrote made only some limited sense to me...
>>> Could you give me maybe a scripting dictionnary reference to look into
>>> to do waht your proposing ? Just that I've never dealt with playing
>>> with
>>> text with AS before.
>>
>> Check the File Read/Write suite in Standard Additions.
>>
>> -- M
_______________________________________________
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