Jump to content

Recommended Posts

Posted

Hello. i was wondering if its possible to have a Application like World of warcraft inside a Autoit script?

My plan is to have two running World of warcrafts a the same time.. Thanks for help!

Dryper

Posted

Hello. i was wondering if its possible to have a Application like World of warcraft inside a Autoit script?

My plan is to have two running World of warcrafts a the same time.. Thanks for help!

Dryper

Anyone?

Posted (edited)

Have you tried using 2 user accounts on an XP Computer?

Set one up on x1 user and one on x2 user.

Works for Diablo II which was made by blizzard.

(just an alternative if AutoIt doesn't help.)

Edited by BackStabbed

tolle indicium

Posted

Have you tried using 2 user accounts on an XP Computer?

Set one up on x1 user and one on x2 user.

Works for Diablo II which was made by blizzard.

(just an alternative if AutoIt doesn't help.)

Hehe that wont work :)

The point is that im having 1 Priest (Healer)

and a Warrior.. and it will be inpossible to Do the same if i have to change user on the comp all the time :(

Posted (edited)

If you run WoW in a window you can use _SetParent()

Flattering :)

But use this code instead.

Func _SetParent($TitleC, $TitleP)
    If WinExists($TitleC) And WinExists($TitleP) Then
        $HwndC = WinGetHandle($TitleC)
        $HwndP = WinGetHandle($TitleP)
        DLLCall("user32.dll", "str", "SetParent", "HWnd", $HWndC, "HWnd", $HWndP)
        If @error then
            return 0
        EndIf
       
        Return 1
    EndIf
EndFunc

EDIT: Mixed up dll call. Called "Parent" then "Child", but should be "Child" then "Parent"

Edited by KentonBomb

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...