Jump to content

WHY?! Can't we store $Handles in files?


Recommended Posts

How come when I save a window handle to a file and later retrieve it (5 sec later) commands no longer recognize the numbers? I have verified back and forth with the contents of the file with written handle and a msg-box of the handle and they are identical.

I've tried converting the text string to number() and vise versa.

I've tried converting the text to hextostring, stringtohex and all other ways.

Are window handles in some special format that must be preserved? If so, how can you save the handle to a file, retrieve it and still have commands be able to recognise it?

Any help is very appreciated.

Bobbey

Link to comment
Share on other sites

What is HWnd()? If you wouldn't mind a little explanation... I've read the help file it seems a gazzilion times and window controls don't mention it.

When I use it in Autoit v3 I get a "function not found" error.

much obliged,

Bobbey

after reading it cast it to HWnd()

$a = HWnd($a)

LAr.

Edited by Bobbeyreay
Link to comment
Share on other sites

  • Moderators

What is HWnd()? If you wouldn't mind a little explanation... I've read the help file it seems a gazzilion times and window controls don't mention it.

much obliged,

Bobbey

Are you using the newest release 3.2? It's there for sure... I use it all the time.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...