Jump to content
Sign in to follow this  
rakarna

need help to auto restart my script

Recommended Posts

rakarna

hi I need some help please with my script. my problem is that i dont know how to get it to restart when it is done. if you know how i can do it please help me :)

i post a screen shot on my script so you can see what i have done and tell me how i can do to chance it so it will restart by it self. i want the all script to restart.

Posted Image

Share this post


Link to post
Share on other sites
Melba23

rakarna,

If you want the whole script to run forever, put While 1 at the start and WEnd at the end - it will then loop eternally (or until you stop it somehow!)

By the way, why not use a For...Next loop in place of the Do...Until . It looks neater - and saves 2 lines of code :-)

For $i = 1 To 24
...
Next

If that is not what you meant, please explain more clearly.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
jvanegmond

Please just post the code next time, posting a screenshot is just dumb.

While ( True )oÝ÷ Ú) Ûiÿø¸ÖاÊr¿ß~7µªc¦â®¶­setVæ@

Share this post


Link to post
Share on other sites
rakarna

Please just post the code next time, posting a screenshot is just dumb.

ok thanks for the help and to answere your question it that i dont know how to post the script so i postet a screen shot :)

but thanks agen for the help all :)

Share this post


Link to post
Share on other sites
Melba23

rakarna,

Use the tags [ code ] and [ /code ] around your code. Or [ codebox ] and [ /codebox ] if it is very long.

You have to remove the spaces between the [] and the text inside - they are there so you can see the example tags!

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Manjish

there are many ways to loop ur script.. as mentioned above.. for loop and while (1)..

U can also use, the do while loop.. to keep on executing untill cerain condition becomes true..

N still u aren't quite specific on what u want to do.. Please state ur query properly so that we can help u specifically.

Edited by Manjish

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com

Share this post


Link to post
Share on other sites
rakarna

hi it is working for me know :) it doing exactly what i want it do to thanks for the help. ^^

**love this forum** :)

Share this post


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
Sign in to follow this  

×