vbscript - SEND clip as keystrokes -
i wondering if there way in manner of psh or vbs paste/send text clipboard separate keystrokes rather string????
it important, since have automatic search in web ui drop down lists , passing text ctrl+v not work. need send each letter unique keystrokes.
tried find way , searched on internet no luck.
thank in advance
there few ways interact clipboard in vbscript. here's 1 way read clipboard text:
strtext = createobject("htmlfile").parentwindow.clipboarddata.getdata("text")
once have text, send each letter in sequence:
for = 1 len(strtext) sendkeys mid(strtext, i, 1) next
Comments
Post a Comment