Sign in to follow this  
Followers 0

Winactivate not work for apllication in 64 bit

3 posts in this topic

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



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

 WinActivated("Out Application Title","")


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


;do somthing




;;;script end here


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

Share this post

Link to post
Share on other sites

In your function, you wrote WinActivated ...

WinActivate works fine on my x64.

Try this:

WinActivate ( "[TITLE:كتب الشاملة]" ,"" ) 
;كتب الشاملة is only a subscript of the full title!


Share this post

Link to post
Share on other sites

@Miloud Thanks for Help

My Problem solve with #RequreAdmin


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  
Followers 0

  • Similar Content

    • RoundChecker
      By RoundChecker
      Hi everyone,

      Is there a way to determine whether the script that is running, is already running, without using;
      If WinExists ?

      Or is there a way to use "If WinExists" to determine the script itself?

      The reason I am asking this is because if I want someone to run the .Exe I have and they rename it to whatever they want, how could I then determine in the script to check if there's already an .Exe open, or the script itself is already open?

      Should I use Class, or how do I achieve this?

      Thanks in advance.
    • svenjatzu
      By svenjatzu
      Id like to build a little helpertool for my boss in office but i dont know how to sart it.
      thats no complicated task. im working for an insurancecenter and have to search the customers in different orders and different tags.
      due to my boss is old and not really commen with pc he saves the customers without system.
      eg, customer andreas statham got an insurenca for his car then i got to search for
      andreas statham car, andreas car statham, car andreas statham, statham andreas car, statham car andreas, car statham andreass etc to find all the files from this customer in the harddrive.
      some customers also are fmiliarnamed in one file like andreas statam and monika rog are married an both got a carinsurance then i got to earch for
      andreas statham monika rog car, andreas statham monika car rog,.... this can take real long to find the right customer if i do it from hand.
      how can i realise this someone in here got an excamlple script or has any sugestion?
    • X_xkijux_x
      By X_xkijux_x
      Ok so im using this program. clarify for school. I would like to have a program that takes every word i type in microsoft word and searches on it in claryfi. is this possible. I would like to have the program not stopping me from typing more after that word. Like when i type a word it auto search it on clarify without making me stop typing and if i want to change i can do that and if im fine that word i can just keep typing and it will search after the next word. 
    • Miliardsto
      By Miliardsto
      Is this possible to make program works like in diagram? There is so much encryption methods and UDFs are they give security? If the $Address will be crypted with some encryption algorithm could be possible to get the value of $Address in easy way? Of course We know its easy too look into autoit code and get value of variable and so We dont want to anyone see $Address value - there are functions Could func1.au3, func2.au3.. be for example func1.php or other type of file? As we know .php files are unnable to see. For example func1 would be read by FileRead() and then Execute() Is this generally possible to do?
      Will it give secure?
      What do you think about? Maybe there is something wrong in this concept or missed.

    • JaredStroeb
      By JaredStroeb
      I need to open an application and send it keys in Session 0.  I have exe's working locally, I can see the application open in session 0 through interactive services, but my send commands do not go to the application.  The following article running-autoit-session-0, directs me to use ControlSend() however my application has no controls that can be identified by AutoIt v3 Window Info.  Get All Windows Controls also returned nothing for the application's handle.  
      What are my options?  
      Can this be done with AutoIt?
      Is there a different "relatively simple" library/tool to use? (I am familiar with C# if there is a viable library there )