I need a script that would send something from the clipboard Topic is solved

Ask gaming related questions
Capersky
Posts: 2
Joined: 23 Dec 2019, 08:26

I need a script that would send something from the clipboard

23 Dec 2019, 08:34

Could someone help a newbie with a script that sends something from the clipboard over to a game's chat and paste and enter it in the chat. The game is PoE, maybe some of you may know it. Thanks in advance! :D
mshafer1
Posts: 49
Joined: 16 Jul 2017, 14:49
GitHub: mshafer1
Contact:

Re: I need a script that would send something from the clipboard  Topic is solved

23 Dec 2019, 10:57

Sending from the clipboard is fairly simple:


Send, ^v ; type control v to use standard paste



Send, %CLIPBOARD% ; type the contents of the clipboard out


For making it wind up in the chat region, consider triggering this off of a hot string or key that you press/type when the cursor is in the window, or if it it's own window, look at ControlSend to cause the input to go to that window.
Capersky
Posts: 2
Joined: 23 Dec 2019, 08:26

Re: I need a script that would send something from the clipboard

23 Dec 2019, 11:34

mshafer1 wrote:
23 Dec 2019, 10:57
Sending from the clipboard is fairly simple:


Send, ^v ; type control v to use standard paste



Send, %CLIPBOARD% ; type the contents of the clipboard out


For making it wind up in the chat region, consider triggering this off of a hot string or key that you press/type when the cursor is in the window, or if it it's own window, look at ControlSend to cause the input to go to that window.
Gotcha, thanks a lot for the help! :)

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 14 guests