Jump to content

MarcoIppo

Members
  • Posts

    4
  • Joined

  • Last visited

About MarcoIppo

  • Birthday 11/29/1967

Profile Information

  • Location
    Genova (Italy)

MarcoIppo's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I need a little help !!! I need to create a little script to interact with a Java window. I read about 'Java Access Bridge' but I don't Know how to use it: I looked for some exemple, but I did't found anything. I my script I need to use some button, some menu and read some message in the Java Window and I know that it is like a BlackBox... Someone can halp me? Marco. PS. Sorry for my bad english
  2. Hi, someone has used WindowsAccessBridge? I try to use isJavaWindow in dllCall but it doesn't work. My code is: $dll = DllOpen("windowsaccessbridge.dll") if $dll <> -1 Then $prev_titMatchMode=AutoItSetOption ( "WinTitleMatchMode", 2) WinWait("Software Download") $hwnd = WinGetHandle("Software Download") if NOT WinActive($hwnd) Then WinActivate($hwnd) EndIf msgbox(32, "Information Window [1]", "Pausa") $result=DllCall($dll, "int:cdecl", "isJavaWindow", "int", $hwnd) $error=@error if $error==0 Then if($result[0] == True) Then $message="Windows Selected ID: " & @TAB & $hwnd & @CRLF $result = DllCall($dll, "int:cdecl", "getAccessibleContextFromHWND", "int", $hwnd, "ptr", -1, "ptr", -1) $error=@error If Not $error Then $message = $message & "Esito Call Dll: " & @TAB & @TAB & $result[0] & @CRLF $message = $message & "HWND Target: " & @TAB & @TAB & $result[1] & @CRLF $message = $message & "Long *vmID: " & @TAB & @TAB & $result[2] & @CRLF $message = $message & "AccessibleContext *ac: " & @TAB & $result[3] msgbox(32, "Information Window [1]", $message) Else MsgBox(64, "Alert Windows", "Errore nell'accesso Dll: " & $error) EndIf Else MsgBox(64, "Alert Windows", "Non e` stata riconosciuta come finestra Java: " & $result[0] & ", " & $result[1]) EndIf Else MsgBox(64, "Alert Windows", "Problemi nella chiamata Dll: " & $error) EndIf There is something wrong?
  3. Hi, I've tried to use 'WindowsAccessBridge.dll' but my code doen't work !! First of all I've Opened dll file and it was opened (I sow it in loaded dll in Windows system) $dll = DllOpen("windowsaccessbridge.dll") MsgBox(0, "Debug Window", "Dll Handle: " & $dll ) than I try to initialize access bridge, but I receive error n° 3 (@error = 3 "function" not found in the DLL file.) DllCall($dll, "int:cdecl", "initializeAccessBridge()") $error=@error MsgBox(0, "Debug Window", "DllCall error: " & $error ) What's the problem? Thank you
  4. Hello, first of all excuse me for my poor English!! I hope you can understand my problem... I want to develop an AutoIt macro to explore and select object into a JAVA window application. I know that a JAVA window is like a black-box: it's possible, with some add-on, to see JAVA object. Could you give me some examples? Thank you Marco Ippolito
×
×
  • Create New...