Splash viewer
Posts: 20
Joined: Wed Oct 06, 2010 2:01 pm
PC Specification: hp quad win 7 ultimate

Action leaking hotkeys solution.

Tue Oct 28, 2014 12:59 pm

I have noticed that action leaking hot keys to the active program. If you press F9 to start recording the game also received F9.
In the registry i have disabled all action hotkeys.
I made a autohotkey script to remote control action with no leaking hotkeys.
Press ~ for start/stop recording, Left Control ~ for game mode, Right Control ~ for Desktop mode, Left Alt ~ for rectangular mode.
Rwin ~ Start/stop audio record.
The script must be run with admin rights.
SC029 is the tilde key
;----------------------Start AHK Script-------------------------------------------------
#SingleInstance Force
#InstallKeybdHook
#InstallMouseHook
#UseHook On
SetTitleMatchMode, 2
SetTitleMatchMode, Slow
DetectHiddenWindows, on

SendInput {LCtrl Up}
SendInput {RCtrl Up}
SendInput {LAlt Up}
SendInput {Ralt Up}
SendInput {LShift Up}
SendInput {RShift Up}
SendInput {LWin Up}
SendInput {LRwin Up}
SetNumLockState off
SetCapsLockState off
SetScrollLockState off
SetTimer,Updatedscript,5000
SplashTextOn,400,22,AutoHotkey,action.ahk loaded
Sleep,3500
SplashTextOff
GroupAdd Action, ahk_class region_bounds
GroupAdd Action, ahk_class Action_WndClass
Return

Updatedscript:
FileGetAttrib,attribs,%A_ScriptFullPath%
IfInString,attribs,A
{
FileSetAttrib,-A,%A_ScriptFullPath%
SplashTextOn,400,22,AutoHotkey,Your script has been updated.
Sleep,3500
SplashTextOff
Reload
}
Return

SC029:: ; Start Record
Postmessage 0x111,0x2345,0x0,, ahk_group Action ; Start Video Record 1
Postmessage 0x111,0x72345,0x0,, ahk_group Action ; Start Video Record 2
Return

Lctrl & SC029::
Postmessage 0x111,0x1C2345,0x0,, ahk_group Action ; Record mode Game
Return

Rctrl & SC029::
Postmessage 0x111,0x1D2345,0x0,, ahk_group Action ; Record mode Desktop
Return

Lalt & SC029::
Postmessage 0x111,0x1E2345,0x0,, ahk_group Action ; Record mode Region
Return

RWin & SC029::
Postmessage 0x111,0x22345,0x0,, ahk_group Action ; Start Audio Record
Postmessage 0x111,0x72345,0x0,, ahk_group Action
Return

Return to “Action! Screen and Game Recorder”

Who is online

Users browsing this forum: No registered users and 7 guests