How would you do that manually? Maybe with following steps:
- Select the word.
- Copy it to clipboard.
- Open the file with the list of words.
- Go to bottom of the file.
- Paste the word.
- Insert a line break.
- Close the list file with save.
Exactly this can be done also with a macro:
IfSel
Clipboard 9
Copy
Open "
name of list file with full path"
Bottom
IfColNum 1
Else
"
"
EndIf
Paste
"
"
CloseFile Save
ClearClipboard
Clipboard 0
EndIf
What you want to do could be also done faster without a macro by using a user tool.
Open
Advanced - Tool Configuration and create a new tool with following settings:
Tab CommandMenu Item Name:
Add selection to list fileCommand Line:
echo %sel% >>"
name of list file with full path"
Working Directory:
select with the Browse button the direcotry of the list file - please really use the Browse buttonToolbar bitmap/icon (file path):
whatever you like and haveTab OptionsProgram Type:
Dos ProgramSave Active File:
uncheckedSave all files first:
uncheckedTab OutputCommand Output:
Append to ExistingShow DOS Box:
uncheckedCapture Output:
uncheckedReplace selected text with:
No ReplaceOkay, now you have a tool which you can run whenever you want to append to your list file a line with the current selection.
You can assign a hotkey for the user tool and you can customize the toolbar and add the user tool to the toolbar.
Note: I have both methods not tested.