flip2405 Posted September 28, 2008 Share Posted September 28, 2008 bassically im hiding windows what i need it to do is 1-5 for example i have 5 notepads up with names 1 NPs 2 NPs 3NPs 4NPs 5 NPs so im going to do expandcollapse popup $Count = 1-5 winsetstate($count[0] & " NPs","",@SW_Hide) ;notepad 1 winsetstate($count[1] & " NPs","",@SW_Hide) ;notepad 2 winsetstate($count[2] & " NPs","",@SW_Hide) ;notepad 3 etc [code=auto:0] how to do this? Link to comment Share on other sites More sharing options... flip2405 Posted September 28, 2008 flip2405 Active Members 71 Author Share Posted September 28, 2008 bassically im hiding windows what i need it to do is 1-5 for example i have 5 notepads up with names 1 NPs 2 NPs 3NPs 4NPs 5 NPs so im going to do $Count = 1-5 winsetstate($count[0] & " NPs","",@SW_Hide) ;notepad 1 winsetstate($count[1] & " NPs","",@SW_Hide) ;notepad 2 winsetstate($count[2] & " NPs","",@SW_Hide) ;notepad 3 etc [code=auto:0] how to do this? btw not really hiding notepad its a different window but same basic thing iv tryed handles and classes etc all else failed Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 28, 2008 Share Posted September 28, 2008 For/Next loop? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
PsaltyDS
For/Next loop?
Link to comment
Share on other sites