using FB 4.1.0.199:
Any carriage returns in the “New Content” text of the “Write to Text File” action (“append…” & “create file…” are selected) are converted to a “box” character when FB is shut down, restarted and the project is reloaded. This “box” character is written to the text file rather than a carriage return.
Patrick Burrell
Hi Patrick,
This is a bug in a new version of the memo control we are using. It’s been fixed for the next build.
In the meantime, the action should still just work - the “box” characters are actually CRLF newlines, it’s just that they’re not being displayed properly on the memo page.
Well, the actions still works, but the “box” character appears in the text file. It doesn’t behave like a CRLF - it’s a “box”.
Patrick
Hi Patrick,
How strange… when we saw this problem before, it was still treating the “unknown” characters as CRLFs in the action.
At any rate, this build has the fix:
https://www.finalbuilder.com/downloads/finalbuilder/410/FB410_207.exe
Please let us know if you experience any more problems.
I use this quite often. if you’re running an older build there is a “work around” for this. It only seems to do this if you load the control, not if you save it. Therefore, once you edit your “write to text file box” and hit save it should work fine. It’s only if you open it up again and save again that it messes things up.
Just a work around for those using the older builds.
I am experiencing this problem in v4.1.0.228. A sample is attached. If you open the sample in Wordpad it looks fine. If you open the sample in Notepad . . . a box appears between the lines instead of a carriage return / line feed. I wonder if FinalBuilder is replacing cr/lf with cr or lf. Two for one.
One of the text files I am creating is a bat file so the cr/lf problem is significant.
The problem started when I pasted text into FinalBuilder from a text editor. Manually hitting[enter] after each line in the text fixed the problem . . . until you close and re-open FinalBuilder. Then the box returns!
Any suggestions would be appreciated.
Thanks,
MattExclude.zip (142 B)
Hi Matt,
I can’t seem to reproduce the problem here. If you update to the latest 4.2 build, does it still happen?
If updating the build doesn’t resolve the issue, could you please send us the project file with the broken action (either attach it to a message or email it to support@finalbuilder.com). Thanks.
Regards,
Angus
Version 4.2.0.276 appears to have fixed the problem.
Thanks,
Matt