Sign in to follow this  
Followers 0
Garrett19212

Reading Txt

6 posts in this topic

How would i find if

If FileReadLine("Delay.txt",1) = 4000 Than

Im trying to make if it that the first line in delay.txt is 400 than do an action.

Share this post


Link to post
Share on other sites

? huh

Share this post


Link to post
Share on other sites

If you only want to do one action:

If FileReadLine("Delay.txt",1) = 4000 Then  ;Do action

for multiple actions:

If FileReadLine("Delay.txt",1) = 4000 Then
  ;actions
EndIf

Share this post


Link to post
Share on other sites

thx so im understanding it right i would do

If FileReadLine("Delay.txt",1) = 4000 Then

;actions

send ("test")

sleep(1000)

send("test")

EndIf

That would work right?

Share this post


Link to post
Share on other sites

"most definitely" :)

Good luck.

Share this post


Link to post
Share on other sites

k thx

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