Sign in to follow this  
Followers 0
ieeejohn

window handle sharing by file

3 posts in this topic

This is my first post. I am using AutoIt to manage windows in a multi app environment.

I am trying to send an array of window handles between scripts by writing an array to a file in one script and recognizing the FileExists in the other script.

The array content seems to cross over but I cannot seem to use the values as window handles in the other script.

Is this method problematic or may I be missing something obvious. In other words, should this work?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

It should work, so long as there is no change in the format of the information in the transfer. I know I can put a handle to an input box, or a listview cell and read it out and still use it as a handle, so to and from a file should be no different. Can you post the code you are using so that it can be examined?

Also, welcome to the forums!

Edited by maqleod

[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites

Now I realize that I probably need to use HWnd to convert the content back to an HWND handle before using it to access the window.

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