Jump to content
8 minutes ago, ShadowTechXTS said:

This isn't really coding I'm just messing around with a vbs file. Is there a way to repeat it?

 


 X=Msgbox("Message box text",0+16,"Message box title")

 

Depends on what you want to do

 

common loops are While, do while, for loop

 

yes you can loop it

Link to comment
https://linustechtips.com/topic/810662-can-you-loop-a-vbs-file/#findComment-10176854
Share on other sites

Link to post
Share on other sites

9 minutes ago, ShadowTechXTS said:

This isn't really coding I'm just messing around with a vbs file. Is there a way to repeat it?

 


 X=Msgbox("Message box text",0+16,"Message box title")

 


For count = 0 to 3
    document.write("<br />Loop #" & count)
Next

 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/810662-can-you-loop-a-vbs-file/#findComment-10176860
Share on other sites

Link to post
Share on other sites

9 minutes ago, ShadowTechXTS said:

Where do I put the original line?

in the middle where doc write is. 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/810662-can-you-loop-a-vbs-file/#findComment-10176916
Share on other sites

Link to post
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

×