- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Scripting: G13 + G11. How to get 2 difrent scripts on G13 & G11's G buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-29-2009 05:46 PM
Hey all
What I would like to see is the following:
G13 button G1: Runs script X
G15 button G1: Runs script Y.
What i've made so far but sadly not working:
function OnEvent(event, arg, family)
if(family=="lhc") then
if (event == "G_PRESSED" and arg == 1) then
MoveMouseTo(1179, 8136)
PressMouseButton(1)
end
if (event == "G_RELEASED" and arg == 1) then
ReleaseMouseButton(1)
end
end
if(family=="kbd") then
if (event == "G_PRESSED" and arg == 1) then
MoveMouseTo(5555, 5555)
PressMouseButton(1)
end
if (event == "G_RELEASED" and arg == 1) then
ReleaseMouseButton(1)
end
end
end
Could somebody tell me what I am doing wrong please?
Thanks in advance,
Djo
It doesn't always has to be used for gaming!
http://img15.imageshack.us/gal.php?g=pic699j.jpg
Solved! Go to Solution.
Re: Scripting: G13 + G11. How to get 2 difrent scripts on G13 & G11's G buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-29-2009 07:33 PM
just looking at it (I didn't try to run it on my own system), it looks fine to me. what does it do or not do for you?
and you are using v3.02 or later of the software, right?
-ken
I do not work for Logitech. I'm just a user.
Re: Scripting: G13 + G11. How to get 2 difrent scripts on G13 & G11's G buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-30-2009 03:01 AM
Re: Scripting: G13 + G11. How to get 2 difrent scripts on G13 & G11's G buttons
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-30-2009 04:02 AM
I can continue scripting wth a happy face
thanks.
It doesn't always has to be used for gaming!
http://img15.imageshack.us/gal.php?g=pic699j.jpg
