Ben Posted September 8, 2006 Share Posted September 8, 2006 Hi, With AutoIt v3.2.0.1 I have this error message : ----------- C:\AutoIt3-script\NewsToBC2.au3 (74) : ==> Obsolete function/parameter.: WinActivate($hdial) Use directly Windows handle ---------- But nothing in help file ? Link to comment Share on other sites More sharing options...
MHz Posted September 8, 2006 Share Posted September 8, 2006 What code leading up yo the event may have triggered the error? Currently, only you have the code to debug. Link to comment Share on other sites More sharing options...
Ben Posted September 8, 2006 Author Share Posted September 8, 2006 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 comment Share on other sites More sharing options...
Developers Jos Posted September 8, 2006 Developers Share Posted September 8, 2006 Use: $hdial = WinGetHandle("classname=" & $class_dial, "") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Ben Posted September 8, 2006 Author Share Posted September 8, 2006 Yes it's good ! thanks a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now