Jake Guest
|
Posted: Mon Jul 07, 2008 1:52 am Post subject: F10 not Working |
|
|
| Code: | #SingleInstance, Force
#Persistent
#NoEnv
^1::WinGet, active_id, PID, A
WheelDown::
{
ControlSend, , {F9}, ahk_pid %active_id%
Sleep 500
ControlSend, , {F7}, ahk_pid %active_id%
return
}
+WheelUp::
{
ControlSend, , {F10}, ahk_pid %active_id%
Sleep 500
ControlSend, , {F7}, ahk_pid %active_id%
return
}
+^WheelUp::
{
ControlSend, , {F10}, ahk_pid %active_id%
Sleep 500
ControlSend, , {F7}, ahk_pid %active_id%
Sleep 15500
ControlSend, , {F7}, ahk_pid %active_id%
return
}
+^!WheelUp::
{
ControlSend, , {F10}, ahk_pid %active_id%
Sleep 500
ControlSend, , {F7}, ahk_pid %active_id%
Sleep 15500
ControlSend, , {F7}, ahk_pid %active_id%
Sleep 15500
ControlSend, , {F7}, ahk_pid %active_id%
return
}
+^!Z::
{
ControlSend, , {F10}, ahk_pid %active_id%
Sleep 500
ControlSend, , {F7}, ahk_pid %active_id%
Sleep 15500
ControlSend, , {F7}, ahk_pid %active_id%
Sleep 15500
ControlSend, , {F7}, ahk_pid %active_id%
Sleep 15500
ControlSend, , {F7}, ahk_pid %active_id%
return
}
WheelUp::ControlSend, , {F8}, ahk_pid %active_id%
PgDn::ControlSend, , {F10}, ahk_pid %active_id%
+WheelDown::
{
ControlSend, , {F10}, ahk_pid %active_id%
Sleep 500
ControlSend, , {F1}, ahk_pid %active_id%
Sleep 2000
ControlSend, , {F2}, ahk_pid %active_id%
Sleep 2000
ControlSend, , {F3}, ahk_pid %active_id%
Sleep 2000
ControlSend, , {F4}, ahk_pid %active_id%
Sleep 2000
ControlSend, , {F5}, ahk_pid %active_id%
Sleep 2000
ControlSend, , {F6}, ahk_pid %active_id%
Sleep 2000
ControlSend, , {F8}, ahk_pid %active_id%
Return
}
|
That is the code I am using. Basically what I am trying to do is:
Make it press buttons on a different window when i have multiple windows open. AND the Majority of that script works however it fails to send F10 and F11 to the alternate screen. All the others work however these are 2 key buttons that I need to work and I am unable to change what they do on the other program. |
|