blender Posted November 7, 2007 Share 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 Link to comment Share on other sites More sharing options...
Ozi Posted November 7, 2007 Share Posted November 7, 2007 might be able to help you if that was autoit. Link to comment Share on other sites More sharing options...
Zedna Posted November 7, 2007 Share 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 Link to comment Share on other sites More sharing options...
blender Posted November 7, 2007 Author Share Posted November 7, 2007 honestly I am not sure I am new to both Watir and AutoIt. Link to comment Share on other sites More sharing options...
DW1 Posted November 7, 2007 Share Posted November 7, 2007 try the same script in pure autoit... AutoIt3 Online Help 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