Discord Remote is a collection of AutoHotKey scripts that allow you to control your Windows PC remotely via Discord.
- Discord Remote runs on the PC that's being controlled remotely
- The user sends commands and parameters in a specific Discord channel
- Every second, Discord Remote tries to copy the most recent message of that channel
- If the script finds a message, it compares the message with the available commands
- If the message corresponds to a command, it executes the command with the parameters that were passed
- If the command outputs something, the output is sent into another specific Discord channel
- The user can then read the results of his commands in that output channel
- Full remote control of your PC
- Read and execute commands remotely
- Take screenshots remotely
- Keep your PC awake remotely
- Automatic recovery from bad inputs
- Included AutoHotKey interpreter
All the commands and their details can be seen remotely by using the Help command
- Help: Show how to use a command and list all commands
- Bulk: Execute multiple commands at once
- Clear: Remove all messages in the input and output channels
- Click: Send a mouse click (Similar to AutoHotKey's Click function)
- Focus: Focus a specific window (bring it to the foreground)
- Hide: Change the opacity of a specific window
- Input: Send inputs (Similar to AutoHotKey's SendInput function)
- Mouse: Move the mouse to the specified position on the screen
- Ping: Send a simple ping to see if Discord Remote is running
- Process: Output a list of running processes with their identifiers
- Screenshot: Take a screenshot and send it in the output channel
- Search: Search text in the Windows search box and start the first result
- Shutdown: Terminate Discord Remote and optionally lock the PC
- Text: Send text (Similar to AutoHotKey's SendText function)
- Wait: Wait for X milliseconds
- Details and examples are available when using Discord Remote
- Doing anything is very slow
- Download and install Discord
- Start Discord and create 2 channels in any server:
- Create a channel named
discord-remote-in- Everyone who has access to this channel will be able to send commands
- Create a channel named
discord-remote-out- Everyone who has access to this channel will be able to read command results
- Create a channel named
- Download the latest release of Discord Remote (Discord-Remote.exe)
- If you had a previous version of Discord Remote, you should delete its old
Scriptsdirectory
- If you had a previous version of Discord Remote, you should delete its old
- Warning: After the next step, your PC will be controlled by the scripts
- Attempting to use the PC might produce unexpected results like selecting or opening random apps and documents
- Start Discord-Remote.exe like any other executable
- Discord Remote is now running and can receive commands
- You can send commands from any other device that can access Discord (browser or app)
- Commands must be sent into the
discord-remote-inchannel - Command results will be sent in the
discord-remote-outchannel
- To stop Discord Remote, send the Shutdown command
- Alternatively, you can press
F4on the PC being controlled
- Alternatively, you can press
You can configure a few things in Discord Remote by modifying the config file
-
Changing the default input and output Discord channels
- Open
./Scripts/Config.ini - Change
discord-remote-into any unique channel name - Change
discord-remote-outto any unique channel name
- Open
-
Changing processing delays
- If you have a faster computer, you can decrease the processing delays
- A command with delays that are too short might produce unexpected results
- If you have a slower computer, you can increase the processing delays
- A command with higher delays will be slower but more reliable
- Open
./Scripts/Config.iniand changeprocessDelay - The delay is the amount of milliseconds to wait for the processing of certain inputs
- If you have a faster computer, you can decrease the processing delays
-
Automatically hide Discord when starting Discord Remote
- Open
./Scripts/Config.ini - Set
autoHideDiscordtotrue - Be aware that, while Discord is hidden, it is still focused and intercepting keyboard inputs
- Open
-
Adding commands
- You can add a new command by creating a file in the
./Scripts/Commandsdirectory - The name of the file will be the name of the command
- The name must be a capital letter followed by lowercase letters and must not contain spaces
- The new command can now be used like any default one
- If you want, you can modify
./Scripts/Commands/Help.ahkto add a help message for your new command
- You can add a new command by creating a file in the