Jump to content

Is it possible?


Isma
 Share

Recommended Posts

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

Link to comment
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.
Link to comment
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??

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...