djasi78 wrote:
working pdf+web
I used ctrl + c instead of ctrl + v .
When using ctrl + v , it was pasting just the code in notepad.
Can copying OR pasting be automated ? So , that , i dont have to press ctrl + c / ctrl + b ?
I want to use Microsoft Word for saving. [
]
Thanks

Oops I meant Ctrl c not ctrl v.
Okay so what you want is that pressing one key does both copying and pasting? It's possible.
Wait let me clarify. You have to click ctrl+c and ctrl+b in the browser itself you don't have to open notepad.
Okay if you want word can you do one thing for me?
Run that script, then search for it in your tray and right click it and click window spy. Now open word, and open window spy and click somewhere on word. Can you take a screenshot of what window spy says?
Here is the refined version:-
Code: Select all
Number = 0
p::
Send, ^v
Number++
ControlSend, Edit1, {Enter} , Untitled - Notepad
ControlSend, Edit1, {Enter} , Untitled - Notepad
ControlSend, Edit1, %Number% , Untitled - Notepad
ControlSend, Edit1, {space} , Untitled - Notepad
ControlSend, Edit1, %clipboard% , Untitled - Notepad
return
esc:: ExitApp
To use this, go to your browser and select the text you want to copy and paste, and click 'p'. That should do what you asked for let me know if it works.
Also let me know what you want to trigger the script with. Right now 'p' triggers the script.