Copy/Paste Toggle

I'm trying to create a Copy/Paste Toggle for one of my Macro Buttons on my mouse, which is currently mapped to F1 (part of a work around because Logitech insists on forcing users to use their software)

The easiest way I could think to accomplish this is to create a variable that toggles between 1 and 2 and Copies if 1 and Pastes if 2:

image

Where am I going wrong?

As you reset the initial value of the variable to 1 every time the key is pressed, there can only ever be one outcome.

Perhaps something like this ?

image

1 Like

:raised_hands::raised_hands::raised_hands: THANK YOU

1 Like