Are you using the File functions or exporting from the field?

— E

> On Dec 11, 2021, at 5:37 PM, Charles Hartley <[email protected]> wrote:
> 
> Hi.
> 
> I've created a script that writes the contents of a field to a .js file. The 
> field contains 100 records, and the script correctly writes what it should. 
> However, I would like for the script to prepend a certain line of text to the 
> file before writing the field contents.
> 
> Is that possible, or am I stuck with doing it manually?
> 
> The FMP file contains 1000 records which are written, 100 at a time, to ten 
> different .js files, and I need the same line of text to begin each .js file.
> 
> Thanks,
> Charlie
> 

Reply via email to