jogae012 Posted April 10, 2020 Posted April 10, 2020 My company's program is made by VB6 (Which has ThunderRT6TextBox). I need to copy from randomly selected text in db and paste it to my company's program (target program). And each time i paste by ctrl+v, i want renew a clipboard another random text. My autoit code which has hotkey(Ctrl+v) can renew a clipboard, but cannot paste to target program. It is working right in other program (like a notepad). I used send() or controlsend(), but it's not working to target program. This is my question. 1. Is there any way of execute paste command without ctrl+v? 2. And Can autoit detect window's paste function execute?
Danp2 Posted April 10, 2020 Posted April 10, 2020 Just some random thoughts / suggestions -- Search the help file and the forum on the phrase WM_PASTE Have you tried using a different hotkey and then using Send("^v") to perform the paste function? Maybe you can trigger the paste event by using _SendMessage Latest Webdriver UDF Release Webdriver Wiki FAQs
therks Posted April 10, 2020 Posted April 10, 2020 (edited) 10 hours ago, jogae012 said: 1. Is there any way of execute paste command without ctrl+v? Shift+Insert will also paste. I believe it's a holdover from before Ctrl+C and Ctrl+V were a thing (just an assumption, my keyboarding class in high school used computers pre-Windows and Copy/Cut/Paste were Ctrl+Insert/Shift+Delete/Shift+Insert). Edited April 10, 2020 by therks My AutoIt Stuff | My Github
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now