Jump to content

How to run count?


flip2405
 Share

Recommended Posts

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?


            
        

        

        
    

    

    




    Link to comment
    
        
    
    
    

    
    Share on other sites
    

    
        
            

    

        
            

    

        
            

    

        
            

    

        
    


    
    More sharing options...

    


    

                    
                    
                    
                

                    

                    
                    





    

    

    
        
            
                


    
        
    

                
                
                    
                        

                    
                
            
        
        
            
                


flip2405
            
            
                Posted 
                
            
        
    
    
        


flip2405
            
        
        
            
                
                    


    
        
    

                    
                    
                        

                    
                
            
            
                Active Members
                
            
            
                
                    
                        
                            
                                
                            
                                 71
                            
                                
                            
                        
                        
                    
                
            
            
                

            
        
    
    
        



    
        
            
                
                    
                        Author
                    
                    
                    
                    
                    
                
            
            
                
                    
                    
                        
                        
                            Share
                        
                        
                        
                        
                        
                            
                                
                            
                            
                            
                            
                            
                            
                        
                    
                
                
            
        

        
            Posted 
            
            
                
                
            
        
    

    

    

    
        
        
            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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...