Hello everyone
Is it possible? I have thousands of string lines that resemble IP numbers and I want them to turn into their assigned category after pasting them, instead of typing. The ahk file with the hotstrings is already made.
Pasting a hotstring instead of typing it
-
- Posts: 16
- Joined: 31 Mar 2017, 04:11
Re: Pasting a hotstring instead of typing it
Yes, you could create a function that would be called by the hotstring like this: Paste("paste this text"). Then the function would take the text passed to it and assign it to the clipboard, then Send ^v.
Re: Pasting a hotstring instead of typing it
It is possible, but as far I did it it was messy. You can paste your contents into ClipBoard and ClipWait till it changes, then simulate CTRL+V to paste it.
Use
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
Re: Pasting a hotstring instead of typing it
Look at Clip() https://autohotkey.com/board/topic/7040 ... clipboard/(scroll down for how to by faqbot if you don't know how to use it)
Who is online
Users browsing this forum: Google [Bot], inseption86 and 438 guests