Suppose I want to output the content of a bg fld to a TEXT file (Mac OS)
Or only the content of fields belonging to marked cards.
I am obtaining an empty file...
AS to explain myself, this is the script:
========
on mouseup
ask file "Fichier de sortie :" with "Sortie xNotes"
if it is empty then exit mouseup
put it into laSortie
open file laSortie
go next
put number of marked cds into cartes
write recuperation(cartes) to file laSortie
close file laSortie
#open laSortie with "Tex-Edit Plus F" -- doesn't work with MC
end mouseup
=======
and in the card script:
======
function recuperation x
put empty into larecup
put return & "--------------------" & return into sep1
put return &
"-------------------------------------------------------------------------------
-" & return into sep2
repeat x times
go next marked cd
put bg fld "letitre" & sep1 & bg fld "letexte" & sep2 after larecup
end repeat
end recuperation
=========
With HyperCard (HC) there were only script -- I was obliged to cut the
script in order to respect the 10 lines limit ;-)
Where is (are ;-)) the ERRORs ?
TIA, DD
PS: The 2.3 version is very appealing -- after a certain adaptation time ;-))
Above the rest, I do appreciate the COLOR treatment (compared to HC)
domi (-8
mailto:[EMAIL PROTECTED]
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.