Jump to content
Sign in to follow this  
Guest chrwof8217

AutoIt & JavaKit

Recommended Posts

Guest chrwof8217

I am running a script that loads a file to javakit, taking about 1 minute to finish the load and then allows more input to the command line. The problem is that the script hangs after the load is complete. I tried using a Winwait("whatever", 90) command so that after 90 seconds the script will continue, giving the file load time to finish. I need to know if there is a better tool to use to make it so that the javakit file load will end and the script will continue shortly after. (preferably as soon as the file finshes loading)

New to :( AutoIT =)

Share this post

Link to post
Share on other sites

Not familiar with Javakit, could you provide a bit more information. I looked up javakit and saw a few screenshots.

Your Javakit has a window interface, correct?

Does anything change on the screen or a window popup when you are loading that file?

Are any buttons disabled or drop downs while loading?

My suggestion ( not knowing the program) would be to try and grab the text box in the middle (assuming it is the same as the pic I saw.)

You might be able to do it with a controlgettext() or possiblly with sending a ^c to it. I have an autocompiler script that does something like this.

I would set up a loop and look for a certain phrase, like "load complete"


while 1
if stringinstr($x,"load complete")>0 then exitloop
sleep(1000); wait a sec
; rest of script

with no idea of the program or the responce, the best I can do atm.

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...