DineshPawar Posted September 7, 2017 Posted September 7, 2017 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.
Miloud Posted September 7, 2017 Posted September 7, 2017 In your function, you wrote WinActivated ... WinActivate works fine on my x64. Try this: opt("WinTitleMatchMode",2) WinActivate ( "[TITLE:كتب الشاملة]" ,"" ) ;كتب الشاملة is only a subscript of the full title!
DineshPawar Posted September 12, 2017 Author Posted September 12, 2017 @Miloud Thanks for Help My Problem solve with #RequreAdmin
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