Nahuel Posted September 22, 2007 Posted September 22, 2007 Nahuel, I've fixed it. You put the wrong class there. No need for WinClose("script_folder") anymore. Opt("WinTitleMatchMode",4) $WinList=WinList("classname=ExploreWClass") For $b=1 to $WinList[0][0] WinClose($WinList[$b][0]) Next This one is perfect now. I really wish I understood how to program not to just to fix some typos. I didn't even have to think. Many thanks. hehe, this is how we all learn! Glad you got it working
Dirk98 Posted September 22, 2007 Author Posted September 22, 2007 Nahuel, I've fixed it. You put the wrong class there. No need for WinClose("script_folder") anymore. Opt("WinTitleMatchMode",4) $WinList=WinList("classname=ExploreWClass") For $b=1 to $WinList[0][0] WinClose($WinList[$b][0]) Next This one is perfect now. I really wish I understood how to program not to just to fix some typos. I didn't even have to think. Many thanks. Hmm now, I need to add to the above one more class to close: CabinetWClass This one is in charge of the open folder pointing to the other PC in your LAN. So I need to have them both closed: classname=ExploreWClass and classname=CabinetWClass How? Thanks!
Dirk98 Posted September 22, 2007 Author Posted September 22, 2007 hehe, this is how we all learn! Glad you got it working Not quite yet (as you can see)! Please help again (see above). Many thanks.
Nahuel Posted September 22, 2007 Posted September 22, 2007 Well... Opt("WinTitleMatchMode",4) $WinList=WinList("classname=ExploreWClass") For $a=1 to $WinList[0][0] WinClose($WinList[$a][0]) Next $WinList1=WinList("classname=CabinetWClass") For $b=1 to $WinList1[0][0] WinClose($WinList1[$b][0]) Next
Dirk98 Posted September 22, 2007 Author Posted September 22, 2007 Well... Opt("WinTitleMatchMode",4) $WinList=WinList("classname=ExploreWClass") For $a=1 to $WinList[0][0] WinClose($WinList[$a][0]) Next $WinList1=WinList("classname=CabinetWClass") For $b=1 to $WinList1[0][0] WinClose($WinList1[$b][0]) Next Hehe, it finally has done the job. Wooof. Thank you.
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