ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: Delete double lines (all but the first) in a text file

<< < (6/6)

mouser:
finally some perl on the site!  :Thmbsup:
it's about time.

welcome to the site DanD, glad to have you here.

fatjoe:
...My latest script doesn't remove blank lines because TW asked me for it not to remove them ;)
But now, the script works well for you, right? :)-jgpaiva (April 05, 2006, 04:43 AM)
--- End quote ---

yes, it works for me. :up: so i'm getting a bit ambitious but with my limited skill in AHK, i need your help...
i want to add a check-box that overwrites the output file (see screenshot) which i've managed but i can't implement in the code.

Gui, Add, Checkbox, x16 y115 CheckedGray vOverwrite_File, Overwrite output file?
...
;Refer check-box option, to overwrite existing output file?
If Overwrite_File
 IfExist,%filetowrite%
   {
    FileDelete,%filetowrite%
   }
--- End quote ---

now the above code doesn't overwrite the existing file, it only appends it. do you know why?
-lanux128 (April 05, 2006, 09:45 PM)
--- End quote ---

bro can you post an EXE version

Navigation

[0] Message Index

[*] Previous page

Go to full version