View Full Version : 0001-files
NewsArchive
09-01-2010, 01:21 AM
Hi Friedrich,
if I add a line at the end of a text file with the following script line
Text File: Insert Line "0" to "%[L]_LOGFILE%" -- %[L]_LOGMESSAGE%
then I see a *.0001 file for a few milliseconds. It seems to hold a copy
of the text file.
Please, could you tell me, what this file is good for?
Thanks in advance.
Markus
NewsArchive
09-01-2010, 01:22 AM
Hi Markus,
> if I add a line at the end of a text file with the following script line
>
> Text File: Insert Line "0" to "%[L]_LOGFILE%" -- %[L]_LOGMESSAGE%
>
> then I see a *.0001 file for a few milliseconds. It seems to hold a copy
> of the text file.
>
> Please, could you tell me, what this file is good for?
The function creates a copy of the original file, makes the appropriate
modifications (e.g. add line, replace line, etc.) and if this process
succeeds, it replaces the original file.
Friedrich
NewsArchive
10-15-2010, 12:56 AM
Hi Friedrich,
this is very secure, not to say paranoid. But it slows down things, if
you write big (40MB with 1.000.000 lines in my case) files with setup
builder (also known as tool builder).
I can see, that you need this for inserting or replacing lines. But
perhaps you can add a function "append line" which does not use this
double checked security.
What do you think?
Markus
NewsArchive
10-15-2010, 12:57 AM
Hi Markus,
> this is very secure, not to say paranoid. But it slows down things, if you
> write big (40MB with 1.000.000 lines in my case) files with setup builder
> (also known as tool builder).
>
> I can see, that you need this for inserting or replacing lines. But
> perhaps you can add a function "append line" which does not use this
> double checked security.
>
> What do you think?
Yes, we also noticed it while testing your utility script. It was
slooooooooow <g>. In fact, the "Handle Text Operation" feature was not
designed to handle this number of write actions (and files with 1.2+ million
lines).
But we'll check if it is possible to speed up this process (we'll use your
script as a reference project). It should be possible to optimize this
feature.
Thanks,
Friedrich
NewsArchive
10-15-2010, 12:57 AM
Thanks,
I will send you the corrected script, after we've solved the buffer
overrun issue.
Markus
NewsArchive
10-15-2010, 12:58 AM
Hi Markus,
> this is very secure, not to say paranoid. But it slows down things, if
> you write big (40MB with 1.000.000 lines in my case) files with setup
> builder (also known as tool builder).
Out of terminal curiosity<g>: Why do you need to write a file like that
with SB?
Best regards,
--
ArnĂ³r Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
10-15-2010, 01:03 AM
Because SetupBuilder is also a fantastic ToolBuilder, and I use it this way.
As someone else mentioned a few monthes ago, Friedrich could double his
income, if he would sell the same product two times: As SetupBuilder ans
as ToolBuilder.
Markus
NewsArchive
10-26-2010, 01:31 AM
Hi Friedrich,
I just send you a simplified "performance test script".
Markus
NewsArchive
10-26-2010, 01:31 AM
Hi Markus,
>
> I just send you a simplified "performance test script".
>
Received, thank you!!
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.