copy lines from notepad and paste them on form's text boxes

October 14, 2012 at 22:24:58
Specs: Windows 7
I need a .bat file that copy lines of text from notepad and copies them to text boxes of a given form..

i googled a lot. all i am able to get is to copy lines of code from notepad and nothing more.

Please help me in this regard

See More: copy lines from notepad and paste them on forms text boxes

Report •

October 15, 2012 at 11:55:51
Only possible way i'm seeing this is, have the outline of the form set the lines of the .txt file to the variable and output them to some file. Having the form contain the contents of the .txt file. Still, unsure by what you mean, elaborate otherwise you won't be getting far.

Report •

October 15, 2012 at 16:58:15
what you're describing probably needs vbscript (appactivate+sendkeys). There may be other ways to achieve the result, but without knowing more background, I would not be able to accomplish this with batchscript. But that's just me. there are some very clever contributors in this forum.

Report •

October 15, 2012 at 21:56:08

Thanks for the way you are trying to make things easier for me.

I have an application in which we need to enter a few details that are used to proceed with the running of test cases in my application.

As of now i have written a batch script to copy the lines of code into an array.

All that i need is a way to copy the data that i have stored in the array into the Microsoft form of my application.

Please help me out in this regard.

Report •

Related Solutions

October 16, 2012 at 15:06:42
As nbrane said this is impossible with batch, you'd need to go with vbscript.

Report •

October 16, 2012 at 18:53:04
If you want help with vbscript, just post, and then we can go from there.

Report •

Ask Question