[AHK] Paste to POE menu

User Tag List

Results 1 to 1 of 1
  1. #1
    zerger3's Avatar Member
    Reputation
    8
    Join Date
    Jul 2011
    Posts
    55
    Thanks G/R
    4/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [AHK] Paste to POE

    This script adds a pseudo button to the trade site for faster trade whispers

    it works like:
    open trade search
    click "whisper"
    click paste to poe
    scripts pastes whisper to poe and reactivates chrome

    u can put the paste button right next to the whisper button and just scroll thru the results and whisper many people really fast

    Screenshot 2022-06-10 221441.png

    Code:
    #NoEnv   ; Recommended for performance and compatibility with future AutoHotkey releases.
    ;#Warn  ; Enable warnings to assist with detecting common errors.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
    #SingleInstance , Force
    
    
    ; gui layout
    
    
    
    Gui,+AlwaysOnTop
    Gui, Add, Button, x12 y19 w90 h30 gPasteToChat, PasteToChat
    Gui, Add, Button, x112 y19 w150 h30 gPasteToChatBackToBrowser, PasteToChatBackToBrowser
    Gui, Add, Button, x62 y59 w90 h20 gReloadIn, Reloadscript
    ; Generated using SmartGUI Creator 4.0
    Gui, Show, x367 y159 h89 w268, tradesite to poe paster
    return 
    
    
    ;---------------------------------------------------------
    ;labels
    
    PasteToChat:
    ; 1. check if valid paste
    
    ;init
    BuyKeywordEN :="d like to buy your"
    BuyKeywordKR :="구매하고 싶습니다"
    BuyKeywordRU :="очу купить у вас"
    
    isBuykeywFoundEN := InStr(Clipboard, BuyKeywordEN)
    isBuykeywFoundKR := InStr(Clipboard, BuyKeywordKR)
    isBuykeywFoundRU := InStr(Clipboard, BuyKeywordRU)
    
    If not (isBuykeywFoundEN = 0 ) or (isBuykeywFoundKR = 0 ) or (isBuykeywFoundRU = 0) 
    {
    WinActivate, Path of Exile
    
    Send {Enter}
    Random, RndSleepMs, 150, 250
    Sleep %RndSleepMs%
    Send %Clipboard%
    Sleep %RndSleepMs%
    Send {Enter}
    
    return
    }
    
    ReloadIn:
    Reload
    
    return
    
    PasteToChatBackToBrowser:
    ; 1. check if valid paste
    
    ;init
    BuyKeywordEN :="d like to buy your"
    BuyKeywordKR :="구매하고 싶습니다"
    BuyKeywordRU :="очу купить у вас"
    
    isBuykeywFoundEN := InStr(Clipboard, BuyKeywordEN)
    isBuykeywFoundKR := InStr(Clipboard, BuyKeywordKR)
    isBuykeywFoundRU := InStr(Clipboard, BuyKeywordRU)
    
    If not (isBuykeywFoundEN = 0 ) or (isBuykeywFoundKR = 0 ) or (isBuykeywFoundRU = 0) 
    {
    WinActivate, Path of Exile
    
    Send {Enter}
    Random, RndSleepMs, 150, 250
    Sleep %RndSleepMs%
    Send %Clipboard%
    Sleep %RndSleepMs%
    Send {Enter}
    Sleep %RndSleepMs%
    winactivate, ahk_exe chrome.exe
    
    return
    }
    ;---------------------------------------
    ;end labels
    
    
    GuiEscape: 
    
    GuiClose: 
    
    exitapp 
    
    return

    [AHK] Paste to POE

Similar Threads

  1. NEW TO PoE BOTTING NEED ADVICE
    By adolph in forum Path of Exile
    Replies: 0
    Last Post: 06-13-2019, 03:41 AM
  2. [Selling] Exalted Orbs -- Power leveling,and any help you might need related to PoE
    By Zagyy in forum PoE Buy Sell Trade
    Replies: 8
    Last Post: 08-26-2015, 12:28 AM
  3. AHK - How to speed up this function?
    By pete2k in forum Diablo 3 Bots Questions & Requests
    Replies: 4
    Last Post: 07-29-2012, 06:02 PM
  4. Suggestions for getting AHK inputs to be recognised by SWOR
    By Kelloy in forum SWTOR Bots and Programs
    Replies: 8
    Last Post: 03-26-2012, 01:23 PM
  5. pasting to a background window.
    By thinkong in forum Programming
    Replies: 0
    Last Post: 10-08-2009, 06:47 AM
All times are GMT -5. The time now is 09:14 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search