Jump to content

devilyn

Active Members
  • Posts

    101
  • Joined

  • Last visited

devilyn's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. can you please add the source files again.
  2. Hello, Sorry for the lack of details. the IDL is a "Interface Description Language" file that i got with my "AJA Kona LHE" card (http://www.aja.com/en/support/legacy/kona-lhe/) it also came withe a directshow filter (http://db.tt/q4ynMXmy) that I'm trying to control using Autoit. This is from the documentation i attached (it supposed to return the current FourCC value.: HRESULT IAJACaptureFilter::GetFourCC ( [out] DWORD * value ) Get fourcc Parameters: [out] pFourCC FOURCC Thanks in advance for helping!
  3. I'm trying to figure out if there's any why to run the bellow. this is part of the IDL documentation. HRESULT IAJACaptureFilter::GetFourCC ( [out] DWORD * value ) Get fourcc Parameters: [out] pFourCC FOURCC Thanks in advance
  4. extern "C" __declspec(dllexport) char** test() { static char* myArray[3] = {"A1", "BB2", "CC3"}; return myArray; } im trying to get the array from the function above using dllcall this is what i got so far Global $sum = DllCall('DllExport.dll', 'str', 'test') If @error then MsgBox(0,"e",@error) _ArrayDisplay($sum) dll is attached. thx DllExport.7z
  5. i have a multi os system and i found out that when Mac is copying a file to an SMB share windows can delete it while its getting written and vice versa. i'm looking on how to read shared permissions from windows that i will be able to detect that the file is locked. any tip will help. thx!!!
  6. that what i have got till now Func OmPlrAttach($OM_HWND, $Pointer) ConsoleWrite($Pointer & @CRLF) $cResult = DllCall($hdll, "long:cdecl", "OmPlrAttach", "handle", $OM_HWND, "str", $Pointer, "UINT", 0, "UINT", 5) If $cResult[0] = 0 Then _ArrayDisplay($cResult) Return $cResult[2] Else ConsoleWrite("! Error Decimel Code = " & $cResult[0] & @CRLF) ConsoleWrite("! Error Verbal Description = " & OM_ReturnVerbalError($cResult[0]) & @CRLF) Return OM_ReturnVerbalError($cResult[0]) EndIf EndFunc ;==>OmPlrAttach Function Description: OmPlrAttach Description: Used to attach a clip to the timeline. Also used to create a new clip. OmPlrError OmPlrAttach( OmPlrHandle PlayerHandle, const TCHAR *pClipName, uint clipIn, uint clipOut, OmPlrClipHandle hPutBeforeThisClip, OmPlrShiftMode shift, OmPlrClipHandle *pClipAttachHandle); Parameters: Parameter Description: PlayerHandle: A numeric value used to reference this player. It was obtained using the function OmPlrOpen. pClipname: A pointer to anull-terminated string that gives the clip name. For non- Unicode builds, this is an 8-bit character string. For Unicode builds, this is a 16-bit character string. The clip name is case sensitive, so that “Harry” is not the same clip as “haRRy”. The argument can specify either a clip or the combination of an absolute path and a clip; see Clip Name as Function Argument for more details. The size of the argument is limited to 512. clipIn: A number that identifies the first frame of this clip to be shown (inclusive). The special value omPlrClipDefaultIn can be used; this value is defined in omplayerdefs.h. It means that the “Default In” frame value found in the stored version of the clip will be used for the clipIn value. clipOut: A number that identifies the frame after the last frame of this clip to be shown. The special value omPlrClipDefaultOut can be used; this value is defined in omplayerdefs.h. It means that the “Default Out” frame value found in the stored version of the clip will be used for the clipOut value. hPutBeforeThisClip: A numeric value that is 0 or is the OmPlrClipHandle of an already attached clip. Typically a clip will be attached at the end of the timeline after all clips that were previously attached. But you can also attach a clip in front of other clips that are already attached to the timeline. Use a value of 00 to attach at the end (i.e., to append). Use the OmPlrClipHandle value of the already attached clip if you want to attach this clip in front of the already attached clip. Thanks in advance
  7. BTW the number will always be after the last underscore.
  8. I have files that are named as follwing "FILENAME_MORETEXT_11111.rar" and i would like to get the number "11111" this value could be from 1 to 10 numbers thanks in advance
  9. Can someone please help me translate this javascript function to autoit? Code Snippet function ValidateAddrMac(addrMac) { var addMacReg = "^[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}$"; var regex = new RegExp(addMacReg); if (regex.test(addrMac)) { alert("MAC Address OK") } else { alert("MAC Address KO") } } Thanks in advance.
  10. Thank you!
  11. i'm working with Labels. the problem is that i cannot get the characters to display at all. according to the code page layout (http://en.wikipedia.org/wiki/Windows-1255) 224 should display - א
  12. Is it possible top use any other language except English as text in a GUI? Thanks in advance
  13. I'm trying to build a GUI for the attached exe but for some reason (that i don't know) StdoutRead/StderrRead are not outputting the info. my code: #include <array.au3> Global $EXEC = @ScriptDir & "uurename.exe" Manage() Func Manage() Local $lastreturn $CMD = $EXEC $foo = Run($CMD, @ScriptDir, @SW_show,0x8) While 1 $line = StdoutRead($foo) If @error Then ExitLoop If $line <> "" Then ConsoleWrite("STDOUT read: " & $line & @CRLF) WEnd While 1 $line = StderrRead($foo) If @error Then ExitLoop If $line <> "" Then ConsoleWrite("STDERR read: " & $line & @CRLF) WEnd EndFunc ;==>Manage EXE - > http://db.tt/S9A4ixq9 DLL - > http://db.tt/fhTLZbtb Thanks in advance Lior.
×
×
  • Create New...