Sign in to follow this  
Followers 0
Wolfshare

Open other .txt file if text exist

7 posts in this topic

#1 ·  Posted (edited)

Hello, i am wondering how can i make script open other txt file if text exist in FF browser.

 

 

Currently using this to open random txt file.. File names are 2.txt-30000.txt

 $failas = Random(2,30000)
  $failas = Round($failas)
  $file = "C:\Documents and Settings\Administrator\Desktop\Failai\"&$failas&".txt"
FileOpen($file, 0)

 Now wondering, how i could make it to open other random file if this text exist:  Veuillez

Thanks for helping!

 

Edited by Wolfshare

Share this post


Link to post
Share on other sites



What are you trying to achieve?

 


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

What are you trying to achieve?

 

​Just to open other file..

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

It looks like that you want to create mass accounts on any web site - correct?

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

It looks like that you want to create accounts on any web site - correct?

​No, just trying to learn autoit.

Share this post


Link to post
Share on other sites

Well, just make an loop of this kind :

While FileExists($sFile)
    $sFile = ... random name
WEnd
 

 

​Nope, that's not what i need, i need get to new file if text exist..

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