BS-mouse-helperESC
begin:
Process, Priority, HD-Frontend.exe, A
Process, Priority, BS-Zoom-Without-Ctrl.exe, H
#WinActivateForce
#Persistent
SetTimer, WatchCursor, 100
WatchCursor:
MouseGetPos, , , id, control
WinGetTitle, title, ahk_id %id%
WinGetClass, class, ahk_id %id%
#IfWinActive, BlueStacks App Player
{
$RButton::
MouseGetPos,,, MouseWinID, MouseControl
WinActivate, ahk_id %MouseWinID%
if MouseControl > "Bluestacks"
Send, {Esc}
else
Send, {RButton}
Return
}
#IfWinExist, BlueStacks App Player
{
Process, Priority, HD-Frontend.exe, A
}
ZOOM
begin:
Process, Priority, HD-Frontend.exe, A
Process, Priority, BS-Zoom-Without-Ctrl.exe, H
#WinActivateForce
#Persistent
SetTimer, WatchCursor, 100
WatchCursor:
MouseGetPos, , , id, control
WinGetTitle, title, ahk_id %id%
WinGetClass, class, ahk_id %id%
#IfWinActive, BlueStacks App Player
{
$RButton::
MouseGetPos,,, MouseWinID, MouseControl
WinActivate, ahk_id %MouseWinID%
if MouseControl > "Bluestacks"
Send, {Esc}
else
Send, {RButton}
Return
}
#IfWinActive, BlueStacks App Player
{
WheelUp::
MouseGetPos,,, MouseWinID, MouseControl
WinActivate, ahk_id %MouseWinID%
if MouseControl > "Bluestacks"
Send ^{Click , , right}
else
Send, {WheelUp 5}
Return
}
#IfWinActive, BlueStacks App Player
{
WheelDown::
MouseGetPos,,, MouseWinID, MouseControl
WinActivate, ahk_id %MouseWinID%
if MouseControl > "Bluestacks"
Send ^{Click}
else
Send, {WheelDown 5}
Return
}
#IfWinExist, BlueStacks App Player
{
Process, Priority, HD-Frontend.exe, A
}
Правая кнопка мыши выполняет действие назад (ESC)
BS-mouse-helper-089.exe ( 795 КБ )
Зум без нажатия на Ctrl (Alt + колесо - обычная прокрутка)
BS-Zoom-Without-Ctrl-089.exe ( 795.5 КБ )
Сообщение отредактировал AJacobs - 13.05.14, 13:00Причина редактирования: тестирование окончено.