newb2007 Posted September 20, 2007 Posted September 20, 2007 (edited) Hello If i want to write something, let's say qwda10000...How can i make next thing i type qwda10001?Thanks in advance Sorry for not being clear and thx for helping I want the script to change the site adress automatic and go into diffrent directories based on the end numbers.The adress to see this topic is http://www.autoitscript.com/forum/index.php?showtopic=53680I want the script to keep http://www.autoitscript.com/forum/index.php?showtopic=and replace 53680 with 53681 and up. Edited September 20, 2007 by newb2007
peter123 Posted September 20, 2007 Posted September 20, 2007 (edited) Like this?? for $i = 10000 to 10010 Step 1 MsgBox(0, "Test", "qwda" & $i) Next Edited September 20, 2007 by peter123
AlmarM Posted September 20, 2007 Posted September 20, 2007 Mayby this ? $str = "" For $i = 1 to 10010 $str &= "qwda" & $i & @CRLF Next FileWrite("qeda.txt", $str) Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.
peter123 Posted September 20, 2007 Posted September 20, 2007 http://www.autoitscript.com/forum/index.php?showtopic= count 54 letters.you can usestring midthe link like so$link = http://www.autoitscript.com/forum/index.php?showtopic=1234$var = StringMid($link, 54)For $i = $var to 10010msgbox(0, "test", $link & $i)Next
peter123 Posted September 20, 2007 Posted September 20, 2007 if you want to go to this site you can do this #include <IE.au3> $link = "http://www.autoitscript.com/forum/index.php?showtopic=1234" $var = StringMid($link, 54) For $i = $var to 10010 $oIE = _IECreate ($link & $i, 1) sleep(60000) Next It goes every minute to the next page
newb2007 Posted September 20, 2007 Author Posted September 20, 2007 if you want to go to this site you can do this#include <IE.au3>$link = "http://www.autoitscript.com/forum/index.php?showtopic=1234"$var = StringMid($link, 54)For $i = $var to 10010$oIE = _IECreate ($link & $i, 1)sleep(60000)NextIt goes every minute to the next page I want to use the same window but this is alot better than nothing, thx One thing tho :& How can i close the previous window?
newb2007 Posted September 20, 2007 Author Posted September 20, 2007 _IEQuit ($oIE)works now thanks :====)
newb2007 Posted January 30, 2008 Author Posted January 30, 2008 anyone know how i can do this without opening a new window all time :S? been searching but i dont fin dany useful info
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