nhatkhang17 Posted September 27, 2008 Share Posted September 27, 2008 (edited) I got a program with full screen when woking, if I try to change to another window or minimize it so it will be closed. I want to work another program beside him but I got that problem. I think if I can restore it will be better. So how, please help me. This id my code: (it make the program be closed after checked.) While (1) $wl = WinList() for $i = 1 to $wl[0][0] If $wl[#i][0] = "Maker tool" Then WinSetState($wl[$i][1], "", @SW_RESTORE) MsgBox(0, "Warning", "Already restore it") EndIf Exitloop Next WEnd *** Exitloop before Endif, mistake from typing... Edited September 28, 2008 by nhatkhang17 Link to comment Share on other sites More sharing options...
nhatkhang17 Posted September 28, 2008 Author Share Posted September 28, 2008 (edited) Exitloop must be before Endif >_< While (1) $wl = WinList() for $i = 1 to $wl[0][0] If $wl[#i][0] = "Maker tool" Then WinSetState($wl[$i][1], "", @SW_RESTORE) MsgBox(0, "Warning", "Already restore it") Exitloop EndIf Next WEnd I mean the script checked the program (I want to restore it) and restore it but the effect take the program be closed. My code just got wrong on typing... Maybe the program got some code for anti restore and minimize, so I need other way to take effect on it without closed. Please help me Edited September 28, 2008 by nhatkhang17 Link to comment Share on other sites More sharing options...
nhatkhang17 Posted September 28, 2008 Author Share Posted September 28, 2008 Did anyone knew about "window mode". I need a script with the same useful... Some games, programs working in full-screen(not a maximize window) and they not accept to change into window or they close. So how to restore them... my code was not useful cause it make programs be closed Anyone got other way? *** Any Ideas: Can we create a new window before the program working and then forge the program into that window when it start? Link to comment Share on other sites More sharing options...
d4rk Posted September 28, 2008 Share Posted September 28, 2008 *** Any Ideas: Can we create a new window before the program working and then forge the program into that window when it start?i don't know what you exactly mean but seem like you want to make a GUI ? [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys 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