Jump to content
Sign in to follow this  

Automated hotkey use without disrupting user input?

Recommended Posts


Hi - I'm sorry if this question or general line of inquiry has been solved but I've done some searching and haven't really turned up a solution to my problem, so I thought I'd ask directly. What I'm trying to do is fairly simple and I imagine it's one of the common uses for the 'newb' user to AutoIt, automated action in a MMO game. I'm basically trying to design a simple background program that will run a few buffs constantly without interrupting whatever I'm doing otherwise at the moment of execution. It would be cool if this could work even if the window isn't the focus, but honestly that feature means very little in the interest of what I'm trying to do, so for now that portion can go right off the table.

So say I have a buff that needs to be reactivated every 20 seconds. I could activate it by physically clicking the action in the quickbar, or hitting a keystroke to activate that quickbar slot. I can make either of those things happen with a coordinate based mouse click or by sending the physical key stroke. No problem. However what if I'm sending a message in the general chat box? This is where I'm stumbling, and I'm not sure if there is an easy solution or not.

Thanks for your time!

Share this post

Link to post
Share on other sites


Welcome to the autoit forum :)

You said you made some searches, but did you find any locked topic asking for the same kind of thing?

Please read the forum rules, link at the bottom right of each page.

Br, FireFox.


OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control


Share this post

Link to post
Share on other sites


FireFox is quite right - please read the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again. Thread locked. :naughty:


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______Open Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this