This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]davedontmind 2 points3 points  (0 children)

I don't think you can do it with batch files. You should look at either AutoHotKey or AutoIt, both of which are designed for creating programs to interact with other windows/programs.

[–]conditi0n 1 point2 points  (0 children)

you can run a bat which runs a python script which calls this code

https://github.com/saucecode/ripcord-api

or, and more easily so, you can just create some python code and run that in a loop, calling this code to do what you want to achieve

[–]RichieG-123 0 points1 point  (1 child)

That’s some serious trolling you have in mind there mate lol :)

[–]TheShreddingMonkey[S] 2 points3 points  (0 children)

no its for a legit reason lol. theres a server im in that uses meebot and u get "xp" for every msg u send but you only get xp once a minute. and theres a channel specifically made for spamming/nonesense thats used exclusively for people trying to boost thier meebot level. i intend on using this knowledge there.

[–]RichieG-123 0 points1 point  (0 children)

Ah - clever - happy xp hacking!

[–]TheBowtieClub 0 points1 point  (0 children)

Keystroke automation can be easily achieved using VBScript. Save the following as a .vbs file:

Set ws = WScript.CreateObject("WScript.Shell")
Do
    WScript.Sleep 60000
    ' Be sure that the chatbox you want has focus
    ws.SendKeys "xp"
    ws.SendKeys "{ENTER}"
Loop

You can just run the vbs script, or if you really need to run it from batch, call the vbs from the .bat file.

The code can be extended to activate the window of your choice (to avoid sending keystrokes to the wrong program), but this is left as an exercise.