Liv Posted September 27, 2004 Share Posted September 27, 2004 In a VBScript I use the following: WinSetState("Untitled -", "", @SW_HIDE) When trying to run this script, WSH says "Compilation Error Microsoft VBScript - illegal chariacter. Error code 800A0408". So, @ is an illegal character ... How can I then Hide, Minimize, Maximize .... Any clues? THX in advance, Liv Link to comment Share on other sites More sharing options...
this-is-me Posted September 27, 2004 Share Posted September 27, 2004 It would be something like oAutoit.SW_HIDE and oAutoit.WinSetState Who else would I be? Link to comment Share on other sites More sharing options...
Liv Posted September 27, 2004 Author Share Posted September 27, 2004 It would be something like oAutoit.SW_HIDE and oAutoit.WinSetState <{POST_SNAPBACK}>Thank you ... Thank you .... so much. Yes - it works. The syntax is: ret = ax.WinSetState ("MingDeMong","",ax.SW_Minimize) so.Popup ret so ... don't use @-character as suggested in the online tutorial ... 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