Jump to content

Sending information to a window whilst on another window


Recommended Posts

Hey guys I got A question,

How could i send a packet to a program whilst I am on another window? I would want the packet to press a key. Whilst you are on another window, the program is on a pause menu. But the game still runs but you can't do anything manually, it is like minecraft if you have heard of it. I have seen programs which is able to do this. I am not sure if packet is the right word but I guess you guys will know what is needed to be done.

Edited by NewNinja
Link to comment
Share on other sites

John, you have jumped to the wrong conclusion. I do not intend to make a program to automate things on games. I think you thought this because I mentioned minecraft, I mentioned minecraft because it was the only thing which I could compare it to which most people will understand.

Edited by NewNinja
Link to comment
Share on other sites

I'm not sure what packet means but I have heard it been used before when doing something similar to this, the way I explained it is the best I could :/ If you have played minecraft you would kind of know what I am talking about. By packet I thought it meant something which imitates a key being pressed whilst not on the program. If you just send a key press to the certain program it will not work at it is at pause menu. But because the program is still running behind it you can somehow send a packet through the pause menu.

Edited by NewNinja
Link to comment
Share on other sites

  • Moderators

NewNinja, I am with John on this one. We are more than happy to assist, but your initial post screams game automation. If this is truly not the case, please try explaining more explicitly what you want to do? Perhaps use the guide below:

How could i send a packet to a program whilst I am on another window?

  • What is the "other window" you'll be on?
  • What program do you want to send the "packet" to?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

NewNinja

your initial post screams game automation

I agree - your next post had better explain very clearly what you are trying to do. ;)

M23

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 spoiler to see my UDFs:

Spoiler

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

 

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...