Hi all,
i am new here and i am looking for hot key which can copy data on clip board to a notepad without opening it using some hot key.
i want to copy it to a existing notepad by just clicking on it. i even want to append text.
can some one help on on the same.
Thanks in advance,
sree161.
how to copy text into notepad without opening it using hotkey
Re: how to copy text into notepad without opening it using hotkey
Start with the Tutorial and learn how to set up a hotkey and how to Send keys.
You script would like this:
- a hotkey::
- Send key-combo to copy text to the clipboard (hint: what would you press now? Look up those keys)
- the FileAppend command to save the clipboard text to a text file (Clipboard is a special variable in AHK)
- close off with a Return
Try something, post code if you get stuck - and next time post in the Ask for Help section
You script would like this:
- a hotkey::
- Send key-combo to copy text to the clipboard (hint: what would you press now? Look up those keys)
- the FileAppend command to save the clipboard text to a text file (Clipboard is a special variable in AHK)
- close off with a Return
Try something, post code if you get stuck - and next time post in the Ask for Help section
Re: how to copy text into notepad without opening it using hotkey
Code: Select all
#SingleInstance, Force
F1::
FileAppend, % Clipboard "`n", MyTextFile.txt
return