wangzhengbo Posted December 26, 2013 Posted December 26, 2013 I add autoitx binding for java. It's free and open source. you can download it from http://code.google.com/p/jautoitx/downloads/list.
orbs Posted December 26, 2013 Posted December 26, 2013 maybe i'm missing the obvious, but what exactly does it do? enable AutoIt scripts to be run by JRE? or expose Java capabilities to be used by AutoIt? Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff
Moderators Melba23 Posted December 26, 2013 Moderators Posted December 26, 2013 wangzhengbo,If you want to post about AutoItX, then please do so in the correct section of the forum. I have moved 2 of your threads this morning - I would rather not have to move a third. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
wangzhengbo Posted December 26, 2013 Author Posted December 26, 2013 maybe i'm missing the obvious, but what exactly does it do? enable AutoIt scripts to be run by JRE? or expose Java capabilities to be used by AutoIt? You can use Win.activate(title) or Win.activate(title, text) to active window in java, and also Win.getProcess(title) or Win.getProcess(title, text) to retrieve the process of the window, Win.move(title), or Win.move(title, text) to move a window. Control.setText(title, controlId, controlText) to sets text of a control, etc.
orbs Posted December 26, 2013 Posted December 26, 2013 so my script is able to handle Java app as any normal window? that looks pretty cool! i tried in the past to automate a Java app, and practically spit sweat over it... is it too bold of me to ask for a brief how-to setup? what file(s) to download and where do they go, what needs to be installed (if at all), etc. Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff
wangzhengbo Posted December 26, 2013 Author Posted December 26, 2013 so my script is able to handle Java app as any normal window? that looks pretty cool! i tried in the past to automate a Java app, and practically spit sweat over it... is it too bold of me to ask for a brief how-to setup? what file(s) to download and where do they go, what needs to be installed (if at all), etc. Download JAutoItX-3.3.8.1-1.0.0-alpha.jar from http://code.google.com/p/jautoitx/downloads/list and add all dependent libs: commons-collections-3.2.1.jar commons-io-2.4.jar commons-lang3-3.1.jar log4j-1.2.17.jar jna-4.0.0.jar jna-platform-4.0.0.jar to your classpath. They are included in JAutoItX-3.3.8.1-1.0.0-alpha-all.jar.
Richard Robertson Posted December 26, 2013 Posted December 26, 2013 Orbs, this is just a wrapper for AutoItX, which is a COM/dll wrapper for a small handful of AutoIt functions. It does not add the ability to run scripts and it doesn't allow you to automate windows you couldn't before.
orbs Posted December 27, 2013 Posted December 27, 2013 Orbs, this is just a wrapper for AutoItX, which is a COM/dll wrapper for a small handful of AutoIt functions. It does not add the ability to run scripts and it doesn't allow you to automate windows you couldn't before. thanks, i just now realized that. still i hope it would be useful at some point. Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now