Jump to content
Sign in to follow this  
dryper

Having a application inside Autoit script?

Recommended Posts

dryper

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

Share this post


Link to post
Share on other sites
dryper

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?

Share this post


Link to post
Share on other sites
Glyph

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

Share this post


Link to post
Share on other sites
dryper

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

Share this post


Link to post
Share on other sites
AdmiralAlkex

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

Share this post


Link to post
Share on other sites
NELyon

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

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  

×