; Script Function: ; Tastenmapping for Targus Wireless Presenter ; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetTitleMatchMode 2 ;A window's title can contain WinTitle anywhere inside it to be a match. ;Acrobat #IfWinActive , ahk_class AcrobatSDIWindow { ;WheelUp:: ;(bleibt) ;WheelDown:: ;(bleibt) ;Left:: ;Vorherige Seite (bleibt) ;Right:: ;Nächste Seite (bleibt) F5:: Send ^l ;Vollbild Escape:: Send ^l ;Vollbild abbrechen b:: return ;deaktiviert ;!Tab:: return ;bleibt(nicht abfangen) } ;MediaPlayerClassic hat Fokus #IfWinActive , ahk_class MediaPlayerClassicW { WheelUp:: Send ^{Up} ;langsamer WheelDown:: Send ^{Down} ;schneller Left:: Send {PgUp} ;Vorheriger Titel Right:: Send {PgDn} ;Naechster Titel F5:: Send {Space} ;Start/Stop Escape:: Send {Space} ;Start/Stop b:: Send !{Enter} ;Fullscrren ;!Tab:: return ;bleibt(nicht abfangen) } ;Video Lan Client hat Fokus #IfWinActive , VLC { WheelUp:: Send - ;langsamer WheelDown:: Send {+} ;schneller Left:: Send !{Left} ;Kurzer Sprung zurueck Right:: Send !{Right} ;Kurzer Sprung vor F5:: Send {Space} ;Start/Stop Escape:: Send {Space} ;Start/Stop b:: Send a ;Aspect Ratio !Tab:: Send c ;crop } ;Sobald Winamp irgendwie offen ist. GlobalHotkeys wurden in Winamp entsprechend gesetzt #IfWinExist , ahk_class Winamp v1.x { WheelUp:: Send ^!{Left} ;5 sek zurueck WheelDown:: Send ^!{Right} ;5 sek vor Left:: Send {Media_Prev} ;previous Right:: Send {Media_Next} ;next F5:: Send {Media_Play_Pause} ;Start/Stop Escape:: Send {Media_Play_Pause} ;Start/Stop ;b:: return ;bleibt(nicht abfangen) ;!Tab:: return ;bleibt(nicht abfangen) } ;XnView hat Fokus #IfWinActive , XnView { ;WheelUp:: ;bleibt ;WheelDown:: ;bleibt Left:: Send {PgUp} ;Vorheriges Bild Right:: Send {PgDn} ;Naechstes Bild F5:: Send {Enter} ;Switch Viewer Escape:: Send {Enter} ;Switch Viewer b:: Send {+} ;Zoom in !Tab:: Send - ;Zoom out }