blender Posted November 7, 2007 Posted November 7, 2007 (edited) Hi, All Here's my situation: I wrote a script to deal with a pop up dialog. Part of my code to activate the pop-up is below: (I wrote in ruby with Watir library) AutoIt is implemented in Watir library. exit = @autoit.WinExists("Manager") puts("exit: #{exit}") active = @autoit.WinActive("Manager") puts("active: #{active}") activate = @autoit.WinActivate("Manager") puts("activate: #{activate}") The result I got is: exit: 1 active: 0 activate: I checked the function reference. WinActivate will return either 1 or 0. In my case, I got nothing from WinActivate. Any ideas? Edited November 7, 2007 by blender
Zedna Posted November 7, 2007 Posted November 7, 2007 (edited) It's probably AutoItX, isn't it? If yes then it's in wrong forum here. Edited November 7, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
blender Posted November 7, 2007 Author Posted November 7, 2007 honestly I am not sure I am new to both Watir and AutoIt.
DW1 Posted November 7, 2007 Posted November 7, 2007 try the same script in pure autoit... AutoIt3 Online Help
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