Copy and Paste in Gforce Now Service to play Path of Exile

Ask gaming related questions (AHK v1.1 and older)
AC88
Posts: 5
Joined: 17 Jan 2021, 09:19

Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 09:35

Hi everyone,

In Gforce Now, it is not possible to copy and paste from my PC to the window on my PC running their service. I don't know why but I thought it would be possible to create a macro to type in something that was copied to my clipboard as a means to bypass this issue. Right now my code is

SetKeyDelay, 0
^v::
send %clipboard%

but it doesn't work properly. Is there something I'm missing?

A typical Path of exile trade message would look like
@Name Hi, I would like to buy your Shavronne's Wrappings Occultist's Vestment listed for 2 exalted in Ritual (stash tab "5"; position: left 9, top 5)
User avatar
mikeyww
Posts: 27072
Joined: 09 Sep 2014, 18:38

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 09:42

You can try the following, but some programs and Web sites can block pasted text.

Code: Select all

F3::SendInput {Text}%Clipboard%
You can also try SendPlay instead of SendInput.
AC88
Posts: 5
Joined: 17 Jan 2021, 09:19

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 10:00

I tried both

SendInput works only on windows on my PC but does not transfer info to GFN
SendPlay did not work either on my PC or on GFN

The other script I posted does send text to GFN but the text doesn't paste properly.
User avatar
mikeyww
Posts: 27072
Joined: 09 Sep 2014, 18:38

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 10:11

It's possible that the program is blocking the keys. Some games are increasingly doing this, presumably to prevent this sort of thing!
AC88
Posts: 5
Joined: 17 Jan 2021, 09:19

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 10:18

Ahh so while the program doesn't block everything, it blocks some characters to screw the user. I guess that's an easy way to get around things.
User avatar
mikeyww
Posts: 27072
Joined: 09 Sep 2014, 18:38

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 10:36

It's possible. You also want to ensure that your target window is active before you issue the Send command. You might want to try a simple plain-text Send that does not involve the clipboard.
AC88
Posts: 5
Joined: 17 Jan 2021, 09:19

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 10:50

I believe the window is active.

Sorry but this is literally my first time coding with AHK and I don't know the syntax. If I wanted to send

@Name Hi, I would like to buy your Shavronne's Wrappings Occultist's Vestment listed for 2 exalted in Ritual (stash tab "5"; position: left 9, top 5)

How would you script it properly.
User avatar
mikeyww
Posts: 27072
Joined: 09 Sep 2014, 18:38

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 11:17

Code: Select all

str := "@Name Hi, I would like to buy your Shavronne's Wrappings Occultist's Vestment listed "
     . "for 2 exalted in Ritual (stash tab ""5""; position: left 9, top 5)"
F3::SendInput {Text}%str%
You can test it in Notepad to see how it works.
AC88
Posts: 5
Joined: 17 Jan 2021, 09:19

Re: Copy and Paste in Gforce Now Service to play Path of Exile

17 Jan 2021, 12:15

Works on my PC
Nothing on GFN as in no text will even show up.

Looks like its blocked.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 39 guests