dtrehas / autoitx4java Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/autoitx4java
Automatically exported from code.google.com/p/autoitx4java
What steps will reproduce the problem?
1. in my webpage there is download popup I need to handle.(you can try any
download popup)
2.I am using following code to handle
public class WindowsUtility{
private static void setJacoblibrary()
{
System.setProperty(LibraryLoader.JACOB_DLL_PATH, System.getProperty("user.dir")+"\\tools\\autoit\\jacob-1.18-M2-x64.dll");
}
public static boolean downloadfile(String strTitle)//,String filePath,String
browserName)
{
setJacoblibrary();
AutoItX x = new AutoItX();
x.winActivate(strTitle);
x.winWaitActive(strTitle);
x.sleep(1000);
x.
x.send("{DOWN}");
x.sleep(1000);
x.send("{ENTER}");
return false;
}
3. I am passing the popup name in string but it is not working
What is the expected output? What do you see instead?
It should press down then enter and file should get download but not happening
. but my test case is also not failing
What version of the product are you using? On what operating system?
2003-2014
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Jun 2015 at 9:32
change the class to use the static load feature ,so we can easily use the
autoitx .like this :
AutoItX.run("notepad.exe", "C://Windows//System32", AutoItX.SW_MAXIMIZE);
Original issue reported on code.google.com by [email protected]
on 26 May 2014 at 10:25
Attachments:
I tried your example. Notepad is started - I can see it in Task Manager - but
there is no GUI. The subsequent command x.winWaitActive(notepad); just hangs.
No stacktrace, no error, nothing.
This is running from Eclipse Kepler, JUnit4, all 64bit dlls, Windows7.
I can provide any other information you need.
Original issue reported on code.google.com by [email protected]
on 5 May 2014 at 4:12
cant use guitoolbar funcations to access system tray and other libraries
Original issue reported on code.google.com by [email protected]
on 27 Oct 2014 at 5:24
hi,
I am using Win7 64bit.
x=new AutoItX();
x.controlListViewGetItemCount("", "", "[CLASS:SysTreeView32; INSTANCE:1]");
i am getting :
java.lang.IllegalStateException: getInt() only legal on Variants of type
VariantInt, not 8
at com.jacob.com.Variant.getInt(Variant.java:650)
at demo.winstarter.AutoItX.controlListViewInt(AutoItX.java:1650)
at demo.winstarter.AutoItX.controlListViewGetItemCount(AutoItX.java:1678)
at demo.winstarter.Base.main(Base.java:61)
For every function of that return void, i don't have any problem to run ,
Other functions that return String / int the above error is appear.
Original issue reported on code.google.com by [email protected]
on 23 Jul 2014 at 1:10
In autoIt we can use File related functions and manuplated file and its related
actions, but after using this jar we have some limited autoit function
available with us.
Also we cannot include the Autoit library functions using AutoItx4java object
Original issue reported on code.google.com by [email protected]
on 21 May 2014 at 12:04
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.