Page 1 of 1

How to save multiline select to a file using Tools Option

Posted: Sat Mar 01, 2003 6:03 am
by Isaac
I am trying to capture the part of my document using highlighting the text and save that multiselect line as dos file.

1. Write a batch file (mytest.bat) which contains the one line:
more %1 > test.txt

2. In textpad:Configure:Preferences:Tools:Add...
Command: c:\mytest.bat
Parameters: $SelLine
Initial Folder: $FileDir
Capture Output ON

I tried to configure my tools with parameter setting like $SelLine , $Clip etc.
But it is not working as desired.

Your help will be greatly appreciated.

Thanks,

Isaac

Re:How to save multiline select to a file using Tools Option

Posted: Mon Mar 03, 2003 6:51 am
by berend
You can't do it the way you describe.

Select lines, Copy selection to clipboard.
Open New file with Ctrl-N.
Paste and then save the file.

Berend

Re:How to save multiline select to a file using Tools Option

Posted: Mon Mar 03, 2003 11:43 am
by isaac
Thank you berend for your reply