Coder Social home page Coder Social logo

autoitx4java's People

Contributors

accessrichard avatar

autoitx4java's Issues

send("{DOWN}") or send("{ENTER}") not working

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

notepad GUI does not launch

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

java.lang.IllegalStateException: getInt() only legal on Variants of type VariantInt, not 8

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.