Guest jeremyts Posted April 6, 2005 Share Posted April 6, 2005 Hi, Does the BitAND function exist in the AutoITX library? The Help file sort of refers to it in the WinGetState Function, but I can't seem to use it as per the following example. ; Check if a new notepad window is minimized $state = WinGetState("Untitled", "") ; Is the "minimized" value set? If BitAnd($state, 16) Then MsgBox(0, "Example", "Window is minimized") EndIf Cheers, Jeremy. Link to comment Share on other sites More sharing options...
Guest jeremyts Posted April 6, 2005 Share Posted April 6, 2005 And of course a follow up question is, how does one use the WinGetState function without the ability to extact the part I am interested in. Cheers, Jeremy. Link to comment Share on other sites More sharing options...
SlimShady Posted April 6, 2005 Share Posted April 6, 2005 In what language do you use it? Link to comment Share on other sites More sharing options...
Guest jeremyts Posted April 6, 2005 Share Posted April 6, 2005 vbscript 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