Starg Posted August 29, 2013 Share Posted August 29, 2013 It does not make sense here. I've noticed Window Info Tool was able to capture the window - maybe without admin rights. So you're right in this very case. Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 It's not because the window is not visible that this one does not exists.Local $aWl = WinList("[REGEXPTITLE:Hello All - (.*?)]") For $i = 1 To $aWl[0][0] If BitAND(WinGetState($aWl[$i][1]), 2) = 0 Then ContinueLoop WinClose($aWl[$i][1]) ExitLoop Next Br, FireFox. Mat 1 Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 I've noticed Window Info Tool was able to capture the window - maybe without admin rights. So you're right in this very case. No, I don't know much about what is granted by admin rights but if he can get the handle/title etc of the window why can't he close it? Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 Even the more limited account can see a title of a window or close this one, that's what I meant... Link to comment Share on other sites More sharing options...
Starg Posted August 29, 2013 Share Posted August 29, 2013 (edited) @FireFox What is User Interface Privilege Isolation (UIPI) on Vista but this seems to be off-topic. @Automationuser Maybe the window does not handle the close message, try WinKill instead. Br, FireFox. Does WinKill work? Edited August 29, 2013 by Starg Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 What is User Interface Privilege Isolation (UIPI) on Vista Who uses vista? Link to comment Share on other sites More sharing options...
JohnOne Posted August 29, 2013 Share Posted August 29, 2013 Thousands of people. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 In the faraway villages of China maybe. Link to comment Share on other sites More sharing options...
JohnOne Posted August 29, 2013 Share Posted August 29, 2013 Nope, scores of thousands of people and businesses use is. It's quite short sighted to think otherwise, and to suggest a problem is laughable because of the OS they use. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 (edited) Nope, scores of thousands of people and businesses use is. It's quite short sighted to think otherwise, and to suggest a problem is laughable because of the OS they use. Of course a lot of people still use it, for financial or laziness-to-update reasons. It's fun to laugh about it. Edit: I'm wondering why it's NOT free. Edited August 29, 2013 by FireFox Link to comment Share on other sites More sharing options...
Automationuser Posted August 29, 2013 Author Share Posted August 29, 2013 I am using Win 7. Not sure why it is fetching the title of other window. ConsoleWrite(WinGetTitle(WinGetHandle("[REGEXPTITLE:Hello All - (.*?)]")) & @CrLf) is it bcoz of dash (-) in the regexp? Hello All - The same code works fine on window having title without dash (-) Link to comment Share on other sites More sharing options...
FireFox Posted August 29, 2013 Share Posted August 29, 2013 Please take a look at >this reply. Link to comment Share on other sites More sharing options...
Automationuser Posted August 29, 2013 Author Share Posted August 29, 2013 That works. Thanks a lot guys 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