Page 1 of 1

Caster and Pet script basic, Need little help here

Posted: January 24th, 2006, 8:00 pm
by pretzel
Im new from about 2 days in scripting, It work well but I had to paste it about 1000 time to do it over and over lol
so can someone please tell me how to
infinte loop this simple script. I use AutoIt3

  • WinActivate("EverQuest II", "")

    Send ("{TAB}")
    Send ("{N}")
    Send ("{A}")
    Sleep(4000)
    Send ("{M}")
    Sleep(4500)
    Send ("{V}")
    Sleep(3000)
    Send ("{V}")
    Sleep(80000)MV

Posted: January 25th, 2006, 10:37 am
by tault_w118cmh
Simple While loop would be fine if you just want it to run over and over...

  • WinActivate("EverQuest II", "")

    $loopcounter = 1

    While $loopcounter = 1
    Send ("{TAB}")
    Send ("{N}")
    Send ("{A}")
    Sleep(4000)
    Send ("{M}")
    Sleep(4500)
    Send ("{V}")
    Sleep(3000)
    Send ("{V}")
    Sleep(80000)MV
    Wend


    Does that technique actually set the active window too EQ2?

    I've even switched the mode for AU3 to find partial strings, but I can never get it to activate EQ2 unless I have the entire heading of the window as the window to activate. I have a method of doing this, which works ok, but if that works, its really gonna irritate me.....[/quote]

Posted: January 25th, 2006, 12:33 pm
by pretzel
I realy thank you,

It work perfectly

Noob question

Posted: January 30th, 2006, 2:02 pm
by nosnemi
I've never used autoIT..so I assume SEND {N} is just the keyboard action of typing the letter N ? or have u defined N as an object elsewhere?

I only ask cause Im just starting out and trying to determine which I prefer to work with more ..autoIT or ACtools?

Posted: February 1st, 2006, 7:13 am
by pretzel
Send ("{N}") is N keyboard assing to send pet to attak