webdott
asked on
change text in .txt file with vbscript or .bat script with a radio button
i have a .txt file that has some true/false info in it.
i was wondering if there is a vbscript or .bat that allows a popup to change them on check of
the radio button.
example:
c:\client\client-jones.txt
click on script, opens popup with radio buttons as follows:
paid march [ ] true [ ] false
paid april [ ] true [ ] false
paid may [ ] true [ ] false
the text file is like this:
it would only change the true/false after each month=?
thanks
i was wondering if there is a vbscript or .bat that allows a popup to change them on check of
the radio button.
example:
c:\client\client-jones.txt
click on script, opens popup with radio buttons as follows:
paid march [ ] true [ ] false
paid april [ ] true [ ] false
paid may [ ] true [ ] false
the text file is like this:
clent=jones, jimmy
address=
city=
state=
zip=
phone=
paid invoices
march=true
april=true
may=false
it would only change the true/false after each month=?
thanks
ASKER
just all the months - examples:
january=true
february=false
etc. for each month thru to december.
thanks for your help!
what is a HTA? is it a script that is edited in notepad?
january=true
february=false
etc. for each month thru to december.
thanks for your help!
what is a HTA? is it a script that is edited in notepad?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
No problem. The HTML in the HTA I wrote is very basic (it was a quick and dirty build), and doesn't look very nice, but you can add whatever HTML code you like to spruce it up a bit. It supports CSS as well if you want to use it.
Rob.
Rob.
I can help with that, but I have a question first....is there anything else after the "paid invoices" section? I would write the HTA to read the file up to the "paid invoices" line, then read the rest of the options until the end of the file, and display them....
Rob.