Jump to content

Winactivate not work for apllication in 64 bit


Recommended Posts

Hello ,

I am start working before few day to automate my task using AutoIT.

I was wright AutoIT script for windows base  application (our own company application, "X"), My task is automate it so I decide to go with AutoIT

I wright code in my 32bit system and it work fine with our application "X"

But when I am going to run it with my colleagues computer on 64 bit it not activate window , so I was try to debug it, and found that problem start with Winactivate function.

(my script work fine up to interacting  with  our application "X", once script  start to interact with our application "X" the application not response to anything this happen in 64 bit system only)

but  when I test script on my other colleagues computer with 32 bit  system and it work very fine .

I stuck on this problem I was search on web too, but unable to find solution.

I have question that "is problem in  32/64 bit system or in our "X" application?"

my script is like below.

 

;;start script

;; Comment

;

;

; call function as per need

Runcp()

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Func Runcp();;;;;;create function to run application "x"

 WinActivated("Out Application Title","")

sleep(2000)

send("^N");create new controller window ctr + shift + n

;;

;do somthing

;;

EndFunc

 

;;;script end here

 

any help I appreciate it . thanks in advance , sorry if I did any mistake in my question. 

Link to comment
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
 Share

×
×
  • Create New...