This UDF provides automation support for Java applications
来源:互联网 发布:yessat 知乎 编辑:程序博客网 时间:2024/06/03 10:28
This UDF currently automates standalone applications and browser-based applets, developed in either Swing or the Abstract Window Toolkit (AWT).
REQUIREMENTS:
- AutoIt3 3.2 or higher
- Java Runtime Environment (JRE) 1.4 or above
- Java Access Bridge for the Microsoft Windows Operating System
- Microsoft Visual C++ 2008 Redistributable
- AutoIT for Java Access dynamically linked library (DLL)
- Tesseract UDF 0.6
- Manual check and update of the Java Access Bridge
To install the latest Java Runtime Environment (JRE):
- Open the web page http://java.com/en/download/manual.jsp.
- Click Windows XP/Vista/2000/2003 Offline.
- Save the file to your computer and run it (ie. jre-6u11-windows-i586-p-s.exe).
- Follow the installation instructions.
- Restart your computer when prompted.
- Open the web page Java Access Bridge.
- Click Download Java Access Bridge 2.0.1.
- Click I agree to the Software License Agreement.
- Click Continue.
- Click accessbridge-2_0_1.exe.
- Save the file to a location on your computer.
- Run the file accessbridge-2_0_1.exe from your computer.
- Follow the installation instructions.
- Restart your computer when prompted.
- Open the web page http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en.
- Click Download.
- Save the file to a location on your computer.
- Run the file vcredist_x86.exe from your computer.
- Follow the installation instructions.
- Right-click on the link AutoITJavaAccess.dll below.
- Save the file to your Windows System32 folder (ie. C:\WINDOWS\system32).
- Open the link http://www.autoitscript.com/forum/index.php?showtopic=89542.
- Save the file to your AutoIT include folder (ie. C:\Program Files\AutoIT\Include).
Note:- This step should be performed in addition to the install of the Java Access Bridge above.
- Using Windows Explorer, go to your Java folder C:\Program Files\Java.
- Open the first subfolder (ie. j2re1.4.2_19).
- Go to the subfolder lib\ext.
- If the files access-bridge.jar and jaccess.jar already exist then go to step 9 below.
- Copy the file access-bridge.jar to this subfolder (ie. C:\Program Files\Java\jre1.4.2_19\lib\ext).
- If the subfolder in step 2 above starts with j2re1.2 or jre1.2, then copy the file jaccess-1_2.jar to this subfolder (ie. C:\Program Files\Java\jre1.4.2_19\lib\ext).
- If the subfolder in step 2 above starts with j2re1.3 or jre1.3, then copy the file jaccess-1_3.jar to this subfolder (ie. C:\Program Files\Java\jre1.4.2_19\lib\ext).
- If the subfolder in step 2 above starts with j2re1.4 or jre1.4, then copy the file jaccess-1_4.jar to this subfolder (ie. C:\Program Files\Java\jre1.4.2_19\lib\ext).
- Repeat steps 3 to 8 for every subfolder within the Java folder.
To confirm that the installation process was successful:
- Using Windows Explorer, go to C:\Program Files\Java Access Bridge and double-click JavaFerret.exe.
- In the Java Ferret window, select the menu item JavaEvents -> Track Mouse Events.
- Drag your mouse over any Java application, and the Java Ferret window should dynamically update with information about the Java objects as you drag your mouse over them.
DEMONSTRATION:Quote_JavaAttachAndWait($win_title)
_JavaObjValueGet($autoit_cntl_id, $javaferret_obj_name = "", $javaferret_obj_role = "", $instance_num = 1)
_JavaObjIndexGet($autoit_cntl_id, $javaferret_obj_name = "", $javaferret_obj_role = "", $instance_num = 1)
_JavaObjValueSet($autoit_cntl_id, $javaferret_obj_name, $javaferret_obj_role, $object_value, $instance_num = 1, $partial = 1, $get_last_capture = 0, $delimiter = "", $expand = 1, $scrolling = 1, $cleanup = 1, $max_scroll_times = 5, $scale = 2, $left_indent = 0, $top_indent = 0, $right_indent = 0, $bottom_indent = 0, $show_capture = 0)
_JavaObjSelect($autoit_cntl_id, $javaferret_obj_name = "", $javaferret_obj_role = "", $instance_num = 1)
_JavaObjValuesGet($autoit_cntl_id, $javaferret_obj_name = "", $javaferret_obj_role = "", $instance_num = 1, $get_last_capture = 0, $delimiter = "", $expand = 1, $scrolling = 1, $cleanup = 1, $max_scroll_times = 5, $scale = 2, $left_indent = 0, $top_indent = 0, $right_indent = 0, $bottom_indent = 0, $show_capture = 0)
_JavaObjDeselect($autoit_cntl_id, $javaferret_obj_name = "", $javaferret_obj_role = "", $instance_num = 1)
_JavaObjPropertyGet($autoit_cntl_id, $javaferret_obj_name = "", $javaferret_obj_role = "", $instance_num = 1, $property_name = "")
_JavaTableRowSelect($autoit_cntl_id, $javaferret_obj_name = "", $instance_num = 1, $javaferret_panel_name = "", $panel_instance_num = 1, $col_names = "", $col_values = "")
_JavaTableCellSelect($autoit_cntl_id, $javaferret_obj_name = "", $instance_num = 1, $javaferret_panel_name = "", $panel_instance_num = 1, $col_names = "", $col_values = "", $col_name_select = "")
_JavaTableCellValueGet($autoit_cntl_id, $javaferret_obj_name = "", $instance_num = 1, $javaferret_panel_name = "", $panel_instance_num = 1, $col_names = "", $col_values = "", $col_name_select = "")
_JavaTableCellValueSet($autoit_cntl_id, $javaferret_obj_name = "", $instance_num = 1, $javaferret_panel_name = "", $panel_instance_num = 1, $col_names = "", $col_values = "", $col_name_select = "", $object_value = "")
<Under Construction>
EXAMPLES:
_JavaObjValueGet.au3
_JavaObjValueSet.au3_JavaObjValueSelect.au3
_JavaObjValuesGet.au3_JavaObjPropertyGet.au3
DOWNLOAD:
Latest Version - v0.7 (17/03/09)
AutoITJavaAccess.dllJava.au3
Edited October 5, 2009 by seangriffin- This UDF provides automation support for Java applications
- Sony-Ericsson provides phone data for developers
- Tooling support for events and public render parameters for portal and portlet applications
- Java for Bioinformatics and Biomedical Applications
- Introduction to Ajax for Java Web Applications
- Encoding filter for Java web applications
- Creating a Unity Launcher for Java Applications
- Tuning-java-garbage-collection-for-spark-applications
- Automation Server with mfc support
- SAFS-Software Automation Framework Support
- Business Intelligence Roadmap: The Complete Project Lifecycle for Decision-Support Applications
- Automation for the people: Build Java projects with Raven
- udf for ie
- For Linux Mysql Udf
- louboutin this thing can do. Support and support for foreign developers to Chinese developers are t
- Java Support for Large Memory Pages
- Configuring Java CAPS for SSL Support - Index
- Configuring Java CAPS for SSL Support - Program
- C++学习笔记(三)
- 如何降低运放电路中的电源噪声
- Android端通过Usb建立Socket通讯(实时发送视频数据)
- 华为交换机con0,telnet,vlan,trunk,access配置案例
- js调试在控制台输出值
- This UDF provides automation support for Java applications
- 单独编译和使用webrtc音频增益模块(AGC)
- #OSG+VS#第十九周
- monkey的基本使用
- 纯CSS实现导航栏效果
- 转发Oracle 导出、导入某用户所有数据(包括表、视图、存储过程...)
- 序
- 力推一个php的框架,专门为API开发而生的
- git学习