| View previous topic :: View next topic |
| Author |
Message |
tworim
Joined: 07 Aug 2008 Posts: 7 Location: Germany
Digg It |
Posted: Thu Aug 07, 2008 2:37 pm Post subject: Please Help, some Mouseclicking via GlovePIE is not working |
|
|
Hello guys,
I hope sombody can help me. I´m just trying easy things via GlovePIE,
but there is some mystery: ;D Because if i wanna try just to switch a
Mouseclicking from True to False in different times it doesn´t work. See my
code and just click to Run. So you will see that my help variable (set1) is switching
how i expected, but not the mouse button??? Why?
Is there anybody who can say what i did wrong. I think there is just some
missunderstanding im my thinking (I hope so ;D)
Thanks for any help
TWORIM
| Code: | // Switcher
//PIE.FrameRate = 120Hz
var.switchtime = 500ms
debug = mouse.MiddleButton + " Var =" + var.set1
wait var.switchtime
mouse.MiddleButton = true
var.set1 = true
debug = mouse.MiddleButton + " Var =" + var.set1
wait var.switchtime
mouse.MiddleButton = false
var.set1 = false
|
|
|
| Back to top |
|
 |
Maxadam5

Joined: 23 May 2008 Posts: 39
Digg It |
Posted: Thu Aug 14, 2008 8:47 pm Post subject: |
|
|
I think this is what you want
| Code: | // Switcher
//PIE.FrameRate = 120Hz
var.switchtime = 500ms
debug = var.set1
if mouse.MiddleButton = true then
wait var.switchtime
var.set1 = true
else var.set1 = false
endif
if mouse.MiddleButton = false then
wait var.switchtime
var.set1 = false
else var.set1 = true
endif |
|
|
| Back to top |
|
 |
tworim
Joined: 07 Aug 2008 Posts: 7 Location: Germany
Digg It |
Posted: Mon Sep 08, 2008 9:15 am Post subject: |
|
|
Hi Maxadam5,
now is it working. I just wanna say THANK YOU for your help!!!
;D I´m happy now:
greetings from tworim |
|
| Back to top |
|
 |
|