WDVariableAppendLineToFile not creating new line

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

WDVariableAppendLineToFile not creating new line

Postby olision » Sat Apr 13, 2019 2:52 am

Hi,

I'm currently working on a script creating a log file but I can't make WDVariableAppendLineToFile to create a new line in the txt file. I'm using Notepad++ to view the generated .txt file. The command WDVariableAppendTimelogLineToFile does create a new line but I would like not to have the timestamp on that one.

Is there any other way to create a new line in the .txt file?

Thank you!

WD version 6.0.6 running on a Windows 10 machine.
olision
 
Posts: 3
Joined: Mon Feb 20, 2017 1:44 am

Re: WDVariableAppendLineToFile not creating new line

Postby Yvonne Groetzschel » Tue Apr 23, 2019 11:26 am

Hello,

There is no command available, but as workaround you can create a line by the following:

var x = "

"

WDVariableAppendLineToFile(x,"C:\Temp\newline.txt")

Cheers,
Yvonne
Yvonne Groetzschel
 
Posts: 65
Joined: Mon Dec 01, 2014 2:10 pm


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 14 guests

cron