This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var robot = require("robotjs"); | |
// Put the message you want to send | |
const message = '' | |
// Set Date as (Year, Month 0-11, Day, Hour, Minute) | |
const eta_ms = new Date(2021, 3, 30, 22, 41).getTime() - Date.now(); | |
console.log(`Sending Message in ${eta_ms}ms or ${new Date(Date.now() + eta_ms)}`) | |
var timeout = setTimeout(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var robot = require("robotjs"); | |
var timerID = setInterval(function () { | |
robot.typeString(`i am a robot. This was developed by @kidsonfilms#4635`); | |
robot.keyTap('enter') | |
}, 20 * 1000); |