New to Logitech Script - Funcionality Problem
hi guys, iam new to this, so i was looking arround the interweb, and find something like this
function OnEvent(event, arg, family)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 3) then -- Press mouse button 3 to toggle ads
ads = not ads
end
if (event == "MOUSE_BUTTON_PRESSED" and arg == 2) and ads then
PressKey("j"); Sleep(10); ReleaseKey("j")
end
if (event == "MOUSE_BUTTON_RELEASED" and arg ==2) and ads then
PressKey("j"); Sleep(10); ReleaseKey("j")
end
end
From there on, i changed all three mainlines where it says ""MOUSE_BUTTON_RELEASED" - To "Rbutton"
Dident work, i trying to find out what iam doing, any sugetions ?
Sorry for my bad english, iam still learing it.