#include "windows.h"
#include "string.h"
void sendkeys(string keys)
{
for(int i = 0; i < keys.size(); i++)
{
keybd_event(VkKeyScan(keys.at(i)),NULL,NULL,NULL);
keybd_event(VkKeyScan(keys.at(i)),NULL,KEYEVENTF_KEYUP,NULL);
}
keybd_event(VK_RETURN,NULL,NULL,NULL);
}
main()
{
int i;
for(i = 1;i <= however many times you want to spam;i++)
{
sendkeys(text you want to spam)
}
}
void sendkeys(string keys)
{
for(int i = 0; i < keys.size(); i++)
{
keybd_event(VkKeyScan(keys.at(i)),NULL,NULL,NULL);
keybd_event(VkKeyScan(keys.at(i)),NULL,KEYEVENTF_KEYUP,NULL);
}
keybd_event(VK_RETURN,NULL,NULL,NULL);
}
#include "windows.h" #include "string.h"
#include <windows.h> #include <string.h>
HWND hWnd = FindWindow(NULL, " - Convo "); ShowWindow(hWnd, SW_SHOW);
#define CONTROL GetAsyncKeyState(VK_MENU) #define EXIT GetAsyncKeyState(VK_ESCAPE)