Search found 16 matches
- 07 Apr 2020, 04:01
- Forum: Gaming Scripts (v1)
- Topic: Logitech Gaming Software F13-F24 enabler (Unused keys to trigger AHK actions)
- Replies: 12
- Views: 39757
Re: Logitech Gaming Software F13-F24 enabler (Unused keys to trigger AHK actions)
hi, i have a g502 , in the game i play, the mouse macro from the logitech software is not detected, but the macro ahk that i use in the keyboard, is detected, do you have any idea how to make some kind of BRIDGE? so i can use the mouse macro from a bind in my keyboard that calls this Mousebutton? i ...
- 11 Dec 2019, 06:07
- Forum: Pedir Ayuda
- Topic: Mover Mouse en X hasta x+300 en un tiempo determinado
- Replies: 1
- Views: 1006
Mover Mouse en X hasta x+300 en un tiempo determinado
Hola, soy nuevo en esto. encontre funciones para mover el raton y encontre funciones para trabajar con el tiempo, pero no consigo ponerlas juntas para que hagan lo que necesito. lo unico que consegui es que el raton se mueva en X "DURANTE" un determinado tiempo, lo que no es lo mismo que llegue a su...
- 11 Dec 2019, 06:01
- Forum: Ask for Help (v1)
- Topic: MouseMove an exact X axis, in a certain time
- Replies: 0
- Views: 420
MouseMove an exact X axis, in a certain time
Hello i was thinking to create one function that can move the MouseMove X from point A to B, in different time values(the time will be time that takes to arrive from one coord to other, this will be applyed in one game , so i dont know if with coords will be ok) for example MouseInTime("Distance","T...
- 09 Dec 2019, 06:31
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
i meant in any of the codes you shared, i tried to move the cursor , with different times but same exact position coord(x). what i try is to create one function that gives me the chance of pass 2 numbers, and first number will interprete the position, and second the speed. Turn(Amount, t){ start := ...
- 08 Dec 2019, 20:09
- Forum: Pedir Ayuda
- Topic: Una funcion con argumento dentro de otra funcion,
- Replies: 4
- Views: 1110
Re: Una funcion con argumento dentro de otra funcion,
claro lo que dices tiene logica y va a mover el raton hace esa direccion mientras el while llegue al "T", yo quiero hacer que llegue en un tiempo, tonto de mi pensar que eso iba a llegar ahora que he pensado mejor despues de decirmelo tu he caido que no:D jeje entonces tengo que mirar hacerlo de otr...
- 08 Dec 2019, 20:04
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
I tried in all of them, none of them respects the distance after i modify the time.
- 08 Dec 2019, 14:18
- Forum: Pedir Ayuda
- Topic: Una funcion con argumento dentro de otra funcion,
- Replies: 4
- Views: 1110
Re: Una funcion con argumento dentro de otra funcion,
muchas gracias, tienes idea por que cuando cambio el tiempo , la distancia varia tambien? por ejemplo si pongo
solo deberia cambiar la velocidad, pero se aleja mucho mas el que dura mas. a que se debe?
Code: Select all
if (Tog := !Tog)
TurnL1(100, 0, 100)
else
TurnL1(100, 0, 500)
- 08 Dec 2019, 14:13
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
Now i checked deeply, theres something wrong, when i change the speed, the distance is different too.
this line says , x should move -10. in 2 different times, but the second one moves further.
any idea?
Code: Select all
(Tog := !Tog) ? (x := -10 , t := 200) :( x:= -10 , t := 500)
any idea?
- 08 Dec 2019, 13:38
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
omg man, that was so stupid of me:D sorry and thanks!
- 08 Dec 2019, 13:15
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
ho cool, nice to know! i found another problem here. any idea why the sleep lines are not working? f2:: g:=1.1077, MouseClick, L sleep 1000, Turn(Func("Speed").Bind(-55/g), 67) sleep 50, Turn(Func("Speed").Bind(145/g), 83) sleep 1, Turn(Func("Speed").Bind(20/g), 50) sleep 1, Turn(Func("Speed").Bind(...
- 08 Dec 2019, 12:07
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
superr!!, what is that "Bind" for?
and Func, is that part of the authotkey? or you called it just func?
and Func, is that part of the authotkey? or you called it just func?
- 08 Dec 2019, 11:54
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
Re: how passing Functions with variables, to other functions.. Topic is solved
sorry, now i have such a mess I was more confortable working with function(even if im still a noob), but i dont know how to pass one number to the value MouseSpd(x), so when i use the function Turn( with a value, and second value), it will use the function.. Wat i need is to do one turn, then after ...
- 08 Dec 2019, 11:27
- Forum: Pedir Ayuda
- Topic: Una funcion con argumento dentro de otra funcion,
- Replies: 4
- Views: 1110
Una funcion con argumento dentro de otra funcion,
Hola como podría resolver esto? TurnL1( Speed(x),t, ){ start := a_tickcount while ((a_tickcount - start) < %t%){ %Speed%(x), sleep, 11 } } MouseSpd(x){ DllCall("mouse_event", uint, 1, int, x, int, y, uint, 0, int, 0) } f2:: if(Tog := !Tog) TurnL1("MouseSpd(-10)","200") else TurnL1("MouseSpd(100)","3...
- 08 Dec 2019, 11:25
- Forum: Ask for Help (v1)
- Topic: how passing Functions with variables, to other functions.. Topic is solved
- Replies: 13
- Views: 1408
how passing Functions with variables, to other functions.. Topic is solved
would like to make this work, but have no clue how to pass the variable X in the TurnL1 function. TurnL1( Speed(x),t, ){ start := a_tickcount while ((a_tickcount - start) < %t%){ %Speed%(x), sleep, 11 } } MouseSpd(x){ DllCall("mouse_event", uint, 1, int, x, int, y, uint, 0, int, 0) } f2:: if(Tog := ...
- 08 Dec 2019, 10:49
- Forum: Ask for Help (v1)
- Topic: MouseMove a certain distance in 300 ms Topic is solved
- Replies: 4
- Views: 953
Re: MouseMove a certain distance in 300 ms Topic is solved
for the moment the second one is the one working fine, it still loses the distance sometimes it turns in my character different, not always same rotation. but now i understood how you used the time.
I wanted to thank you guys for your help.
I wanted to thank you guys for your help.
- 08 Dec 2019, 00:06
- Forum: Ask for Help (v1)
- Topic: MouseMove a certain distance in 300 ms Topic is solved
- Replies: 4
- Views: 953
MouseMove a certain distance in 300 ms Topic is solved
hello i tried to make one simple mouse movement to move from my current position (relative to my pos) 500 pixels to the left in 300 miliseconds i tried in many ways and havent succeded. SADFACE i tried, with: Sendmode Event MouseMove 0,0,0,r this one moves not linear, starts slow and increases speed...