Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] act w for popup box keeps getting error
#1
Hi,

I've been trying to figure this out for the past hour.

I'm using a spreadsheet program.

I initialize a window, the find dialog box.
int+ w21=win("Find" "" "et")
act w21

So far so good, it initializes and it can activate it.

Later on, with that find window is STILL open....

act w21

will give an error "window not found".

The window is there, it was activated before, and I even did a find window to see if the name of the window had changed - no, still the same.

Confusedhock:

Please help.
#2
Is window handle the same? Maybe the window was closed and opened new such window so quickly that you did not notice. Then need to call win again to get its handle.
#3
Thanks Gintaras! That was exactly it.


Forum Jump:


Users browsing this thread: 3 Guest(s)