Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Paste from values variable


  • Please log in to reply
3 replies to this topic
help plz!
  • Guests
  • Last active:
  • Joined: --
Hi guys, i have some looong text saved into a variable with name:
MyValue
how can i "just paste" it into lets say, some field?

the command:
sendinput, %MyValue%

starts typing it word by word, i need some command to just paste it into it (just like you would paste wit with CTRL+V)


thanks a lot

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
clipboard:=var

send ^v
see clipboard docs for more

Help plz!
  • Guests
  • Last active:
  • Joined: --
thanks, I know you can transfer the value to clipboard and then just use CTRL+V.
I want to know, if there is a way to paste it directly from the %MyValue% variable, without using the clipboard for it.

is there any command that does it? Like:
Paste %MyValue%
or something?

SoLong&Thx4AllTheFish
  • Members
  • 4999 posts
  • Last active:
  • Joined: 27 May 2007
You can only paste the clipboard, if you want to preserve the clipboard contents read the docs as an example script there shows you how its done. It is very easy.

Edit: you could look into <!-- m -->http://www.autohotke... ... etText.htm<!-- m --> to see if your application and/or control accepts input that way.