Re: Write file command in Filemaker
Re: Write file command in Filemaker
- Subject: Re: Write file command in Filemaker
- From: Jay Louvion <email@hidden>
- Date: Tue, 03 Oct 2006 15:43:24 +0200
- Thread-topic: Write file command in Filemaker
Title: Re: Write file command in Filemaker
On 3.10.2006 15:18, "Yvan KOENIG" <email@hidden> spake thus:
>
> Le 3 oct. 2006 à 14:59, Jay Louvion a écrit :
>
>> write this_data to the open_target_file starting at eof as
>> «class
>> utf8»
>
>> -- at this stage, when compiling in FM, I have to add "tell app
>> "System Events" or "Finder" to..." otherwise the "write" sounds off
>> the
>> non-compilation alarm.
>
>
> Hello
>
> The culprit is this instruction.
>
> Rewrite it like that:
>
> write leTexte to refFich as «class utf8» starting at eof
>
> and it will work.
>
> Imay be wrong but it seems that the original is interpreted as:
>
>> write this_data to the open_target_file starting at (eof as «class
>> utf8»)
> which is meaningless
>
> Yvan KOENIG
It’s interpreted fine, even though the idea is not bad, since when run from the Script Editor it creates a file with all the right data in it. When run from FileMaker it creates a file with no data in it at all. The problem must be the write command in Filemaker. (the one that returns an error when adressed to FM)
Is it redundant with some other FileMaker command ? Would some ASwiz have an idea of a workaround ?
Cordialement,
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
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