Jump to content

Join our Slack

Talk to other users and have a great time
Slack Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store
Sign in to follow this  
chesterkmr

Help with trade macros please

Recommended Posts

Hello there.Found this script on forum for AHK.Can someone help me to work like that
If A_Index = 15
To start script from start and spam from trade 1
I tried to google,did search AHK site for a bit.But im bad in programming.So if someone can help me,i will very appreciate it.Thanks

 

F1::

{
    BlockInput On
    SendMode Input
    loop
    {
        Send {ENTER}
        Send /trade %A_Index%
        Send {ENTER}
        Send {ENTER}    
        Send {Up 2}
        Sleep, 1200
        Send {ENTER}
        If A_Index = 15
        break
        else
        Sleep, 1200
    }
    BlockInput Off
}
 
return

 

 

Share this post


Link to post
Share on other sites
WORKS IN 2.4  with AHK  IN ACTIVE WINDOW ... PLEASE HELP TO EDIT IT TO WORK IN BACKGROUND PLEASE SOMEONE !! 

script 

 

 

 

#If Path of Exile

 

Macro1:

Loop

{

    Loop

    {

        WinActivate, Path of Exile ahk_class Direct3DWindowClass

        Sleep, 333

        Sleep, 2652

        Send, {Enter}

        Sleep, 1170

        Send, {Backspace}

        Sleep, 593

        Send, {/}

        Sleep, 390

        Send, {t}

        Sleep, 234

        Send, {r}

        Sleep, 172

        Send, {a}

        Sleep, 171

        Send, {d}

        Sleep, 188

        Send, {e}

        Sleep, 1232

        Send, {Space}

        Sleep, 203

        Send, {1}

        Sleep, 234

        Send, {Enter}

        Sleep, 733

        Send, {Enter}

        Sleep, 1544

        Send, {Up}

        Sleep, 406

        Send, {Up}

        Sleep, 749

        Send, {Enter}

        Sleep, 749

        Send, {Enter}

        Sleep, 546

        Send, {Up}

        Sleep, 327

        Send, {Up}

        Sleep, 640

        Send, {Backspace}

        Sleep, 312

        Send, {2}

        

 

F8::ExitApp

Edited by godre

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...