Herausfinden, wie oft mit Mausrad gescrollt worden ist

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Herausfinden, wie oft mit Mausrad gescrollt worden ist

Re: Herausfinden, wie oft mit Mausrad gescrollt worden ist

Post by KHA » 15 Oct 2018, 12:26

Dankeschön, hat super geholfen.

Re: Herausfinden, wie oft mit Mausrad gescrollt worden ist

Post by wolf_II » 14 Oct 2018, 23:42

Versuchs mal so:

Code: Select all

; define two separate counters
Up_Counter := Dn_Counter := 0

~WheelDown:: show_WheelCounters(Up_Counter, Dn_Counter++)   ; increment counter
~WheelUp:: show_WheelCounters(Up_Counter++,Dn_Counter)      ; increment counter

show_WheelCounters(Up, Down) {
    ToolTip, Up:`t%Up%`nDown:`t%Down%
}
Ich hoffe das hilft.

Herausfinden, wie oft mit Mausrad gescrollt worden ist

Post by KHA » 14 Oct 2018, 17:33

Hallo,
mit MouseGetPos, x,y kann man x und y Positionen des Maus herausfinden, gibt es ein Funktion, mit dem man herausfinden kann, wie oft ich mit der Mausrad gescrollt habe?
LG

Top