Thank you very much for the suggestions.
~LButton & MButton::Send ^x
~LButton & RButton::Send ^v
Does that work?
This has the same behavior (as in it doesn't work either) but is way more concise code.
yoru script right now is executing both mbutton and rbutton. so you are doing cut and paste.
check yoru clipboard.. its probably working you jsut forgot the return
I thought this as well and moved them into functions with returns a bit ago:
cutFunction()
{
GetKeyState, lstate, LButton, P
if lstate = D
{
Send ^x
} else
MouseClick,M
return
}
pasteFunction()
{
GetKeyState, lstate, LButton, P
if lstate = D
{
Send ^v
} else
MouseClick,R
return
}
MButton::cutFunction()
RButton::pasteFunction()
Still doesn't work...
What's really weird is that no solution will work in programs like notepad. But if I try using the paste function into the search bar in Internet explorer, it works. If I try to paste in the URL bar of IE, it doesn't work. The cut function does not work in any program, ever.
I am completely baffled as to why these don't work in the first place and why I'm seeing thes inconsistencies. Does anyone have an idea?