MacroGoblin Forum

MacroGoblin Public Forum => Public Forum => General Public Discussion => Topic started by: Nymphis on November 20, 2019, 08:33:39 PM

Title: Separation Text Constants
Post by: Nymphis on November 20, 2019, 08:33:39 PM
Hi Jack :)
I would like to Export a List to a Text file, with each entry on a new line.
I thought using "<ENTER>" as the Separation text would do this, but i can not get it to work.
Any advice?

FN_ToFile("C:\Modz_BMP\Friendslist","<ENTER>")

Cheers Nym
Title: Re: Separation Text Constants
Post by: Jack on November 21, 2019, 03:07:21 AM
You can try replacing <Enter> with these things in quotes

\n
\r\n


Title: Re: Separation Text Constants
Post by: Nymphis on November 21, 2019, 06:02:22 PM
Hi Jack
I tried this:
FN_ToFile("C:\Modz_BMP\Friendslist","\n")
FN_ToFile("C:\Modz_BMP\Friendslist","\r\n")

The text exported looked like this in the text file all on one line
Alivia\r\nMalcy\r\nJim\r\nKlee\r\nDallasL\r\nCarus\r\nHailsey\r\nJoleene
Title: Re: Separation Text Constants
Post by: Jack on November 22, 2019, 03:16:34 AM
Ya the text constants aren't working, sorry. Thanks for letting me know.