Sign in to follow this  
Followers 0
newb2007

generating numerics and keep letters?

9 posts in this topic

#1 ·  Posted (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 :P

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=53680

I want the script to keep http://www.autoitscript.com/forum/index.php?showtopic=

and replace 53680 with 53681 and up.

Edited by newb2007

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Like this??

for $i = 10000 to 10010 Step 1

MsgBox(0, "Test", "qwda" & $i)

Next

Edited by peter123

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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 :)

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?

Share this post


Link to post
Share on other sites

_IEQuit ($oIE)

Share this post


Link to post
Share on other sites

_IEQuit ($oIE)

works now thanks :====)

Share this post


Link to post
Share on other sites

anyone know how i can do this without opening a new window all time :S? been searching but i dont fin dany useful info

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  
Followers 0