AnarchOi Posted April 3, 2009 Posted April 3, 2009 how can i repeat 10 times the same loop? i usually use "While 1" and "Wend" but it will loop endlessly http://www.anarcho-punk.net
Developers Jos Posted April 3, 2009 Developers Posted April 3, 2009 read the help files.Great second post .... .. but indeed the helpfile will be of help here. Look for "For ... Next"Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
AnarchOi Posted April 3, 2009 Author Posted April 3, 2009 can't you just answer the question please.... it is a simple question... the help files are really BIG, i don't even know where to start, nor do i know what to look for... c'mon guys it will take 2 seconds to answer http://www.anarcho-punk.net
reb Posted April 3, 2009 Posted April 3, 2009 type for in your SiTec editor click in the midle of the word press F1 There you go. MEASURE TWICE - CUT ONCE
Developers Jos Posted April 3, 2009 Developers Posted April 3, 2009 type for in your SiTec editorA new variation of SciTE? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted April 3, 2009 Developers Posted April 3, 2009 can't you just answer the question please.... it is a simple question...the help files are really BIG, i don't even know where to start, nor do i know what to look for...c'mon guys it will take 2 seconds to answerI have answered your question... did you read it? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Fi0da Posted April 3, 2009 Posted April 3, 2009 expandcollapse popup ......;after your script.... Refresh Refresh=Refresh+1 If Refresh=10 Then .;here what you want to doet....... Maybe help you... That help files sometimes dont show all we need to know. People should have more patience with beginners. It costs nothing and is very well to help Reggards Fi0da I read ... I update ... I learn ... Developers Jos Posted April 3, 2009 Jos Developers 34.7k 169 Je maintiendrai Developers Posted April 3, 2009 (edited) That help files sometimes dont show all we need to know.People should have more patience with beginners. It costs nothing and is very well to help The Helpfile does show all you need to know but it is hard to find when you don't know what you are looking for.Now as to being more patient with beginners: The initial reply was from a beginner and I did point the OP to the right Function as I would always use a For-Next loop for looping a given number of cycles. Edited April 3, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. spudw2k Posted April 3, 2009 spudw2k Active Members 2.4k 15 My wolf name is Moon Moon Posted April 3, 2009 Even searching for Loop in the help file, I could find something reasonable very quickly. You knew about While, so read about While in the helpfile for examples or Similar funcs. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF reb Posted April 3, 2009 reb Active Members 218 2 Posted April 3, 2009 A new variation of SciTE? Did I say something wrong? MEASURE TWICE - CUT ONCE (adsbygoogle = window.adsbygoogle || []).push({}); Fi0da Posted April 3, 2009 Fi0da Active Members 45 Posted April 3, 2009 I agree butMy reply was not for you ... but for those who say only : "read the help files"not simply say: look at help files, you said the way I read ... I update ... I learn ... Exit Posted April 3, 2009 Exit Active Members 1.3k 19 Exit Posted April 3, 2009 Even searching for Loop in the help file, I could find something reasonable very quickly. You knew about While, so read about While in the helpfile for examples or Similar funcs.Unfortunately, the While help entry has no related link to For...Next. Only to the Do...Until entry. In the Do...Until entry, there is a link to For...Next. Might be an enhancement to add For...Next link in the While...Wend help file related entry. App: Au3toCmd UDF: _SingleScript() meokey Posted April 3, 2009 meokey Members 14 Posted April 3, 2009 will this help? dim $i for $i=1 to 10 ........... next or dim $i=1 while $i<=10 ..... $i=$i+1 wend
Exit Posted April 3, 2009 Posted April 3, 2009 orDim $i Do $i += 1 ;...... Until $i = 10 App: Au3toCmd UDF: _SingleScript()
spudw2k Posted April 3, 2009 Posted April 3, 2009 Unfortunately, the While help entry has no related link to For...Next. Only to the Do...Until entry. In the Do...Until entry, there is a link to For...Next. Might be an enhancement to add For...Next link in the While...Wend help file related entry.I never said you'll find For info on the While page, just similar funcs. Seems you found it though. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Exit Posted April 3, 2009 Posted April 3, 2009 I never said you'll find For info on the While page, just similar funcs. Seems you found it though.You mixed me up. I'm not the OP. I just wanted to point out that there is no direct link in while to for. App: Au3toCmd UDF: _SingleScript()
AnarchOi Posted April 4, 2009 Author Posted April 4, 2009 Thanks a lot to all of you guys, this helped me a lot. Now i understand what functions to use, and how to use it! This works perfectly! http://www.anarcho-punk.net
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