Jump to content

Recommended Posts

Posted

I want my Script to be able to read a text file that has quotes like

Haha

Yo

Lol

In that way.

Then i want to be able to use the Send function to send theses out.

Any way possible to do this?

If so how

  • Moderators
Posted

I want my Script to be able to read a text file that has quotes like

Haha

Yo

Lol

In that way.

Then i want to be able to use the Send function to send theses out.

Any way possible to do this?

If so how

It's all in the help file, but you can study this, and you could get some general ideas: http://www.autoitscript.com/forum/index.ph...ndpost&p=146697

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

alright thanks for help.

Still new to this whole autoit thing

Posted (edited)

Well that script was confusing couldnt make a clue of what it tried to do :lmao:

What commands would i need to be able to do what i need?

like i know:

FileReadLine

FileOpen

Send

If its any help ill post script

Global $Paused

HotKeySet("{PAUSE}", "TogglePause")

HotKeySet("{ESC}", "Terminate")

HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d

Run ( "Diablo II.exe -w -skiptobnet" )

WinWaitActive( "Diablo II" )

WinSetOnTop ( "Diablo II", "Diablo II", 1 )

MouseMove ( 615, 486 )

MouseClick ( "left" )

MouseClick ( "left" )

Send ( "13-37" )

WinWaitActive( "ezpk", "", 5)

MouseClick("left", 584, 540, 10)

WinWaitActive( "ezpk", "", 3)

Send ( "*****" )

MouseMove ( 568, 614 )

MouseClick ( "left" )

MouseClick ( "left" )

MouseClick("left", 303, 650, 10)

While 1

MouseClick("left", 579, 418, 10)

Send ( "name" )

MouseClick("left", 881, 711, 10)

MouseClick("left", 598, 478, 10)

I want to be able to get "name" to be tried off a list

so like

"Name1"

"name2"

Edited by Chip

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...