Sign in to follow this  
Followers 0
Isma

Is it possible?

3 posts in this topic

hello

I want make that my desktop video out conexion was activated with a script, but i have a problem becouse it is activated with Funcion key +F4 and I don't know how I send this combination.

With the au3recorder this key is not read and I don't know how detect.

Thank you

NOTE: Sorry if my english is bad

Share this post


Link to post
Share on other sites



hello

I want make that my desktop video out conexion was activated with a script, but i have a problem becouse it is activated with Funcion key +F4 and I don't know how I send this combination.

With the au3recorder this key is not read and I don't know how detect.

Thank you

NOTE: Sorry if my english is bad

Maybe try using _IsPressed() look at that. That might help you.


EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites

I have use this script and I don´t detect the all functions only the sound function AD, AE & AF, the video out nothing

$dll = DllOpen("user32.dll")
While _IsPressedMod($dll); clear buffer
WEnd

While 1
    Sleep(250)
    $typed = _IsPressedMod($dll)
    If $typed Then ExitLoop
WEnd
DllClose($dll)

MsgBox(0,'',$typed & @LF)

; http://msdn.microsoft.com/library/default....ualKeyCodes.asp
Func _IsPressedMod($dll = "user32.dll")
    Local $aR, $bRv, $hexKey, $i
    For $i = 1 To 256
        $hexKey = '0x' & Hex($i, 2)
        $aR = DllCall($dll, "int", "GetAsyncKeyState", "int", $hexKey)
        If $aR[0] <> 0 Then Return Hex($i,2)
    Next
    Return 0
EndFunc  ;==>_IsPressedMod

Other solution??

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0