Jump to content

WinActivate : Obsolete function ?


Recommended Posts

This is a little bit of code :

Opt ("WinTitleMatchMode", 4)

Const $class_dial = "Tfrm40tdMain.UnicodeClass"

Run("C:\Documents and Settings\dialog.exe", "C:\Documents and Settings", @SW_MAXIMIZE)

WinWaitActive("classname=" & $class_dial, "", 10)

$hdial = "handle=" & WinGetHandle("classname=" & $class_dial, "")

;....

;

;

; GUI

;

;....

WinActivate($hdial) ;<--- here the problem

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...