Jump to content

Having a application inside Autoit script?


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :(

Link to comment
Share on other sites

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

If you run WoW in a window you can use _SetParent()
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

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