Jump to content
Sign in to follow this  

help, dont understand my error here?

Recommended Posts


ok, so i am trying to copy a random line text from a notepad into firefox, but i just dont get why its not wroking, like whats my error?

Opt("WinTitleMatchMode", 2)
$notepad = WinGetText("noms.txt - Notepad")
$lines = StringSplit($notepad,@crlf,1)
$randomline = Random(1, $lines[0], 1)
winactivate("Google Accounts - Mozilla Firefox")
MouseClick("left", 232 , 408)

can anyone test this? and tell me if it works or not

Edited by anyways

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