Quick script i wrote for the teensy using the arduino software. It will open the run dialog, open google chrome, navigate to lg. Then open notepad, and type 'i Hax ;D' into it. Also watch your led on the teensy as it runs threw the script ;D
Code:int RunAmount = 1;
int ledPin = 11;
void setup() {
pinMode(ledPin, OUTPUT);
} // no setup needed
void loop() {
digitalWrite(ledPin, LOW);
delay(100);
if(RunAmount <= 1)
{
delay(4000);
digitalWrite(ledPin, HIGH);
// press and hold CTRL
Keyboard.set_modifier(MODIFIERKEY_GUI);
Keyboard.set_key1(KEY_R);
Keyboard.send_now();
delay(500);
Keyboard.set_modifier(0);
Keyboard.print("chrome.exe");
Keyboard.send_now();
delay(500);
Keyboard.set_key1(KEY_ENTER);
Keyboard.send_now();
delay(100);
Keyboard.set_key1(0);
Keyboard.send_now();
delay(1500);
Keyboard.print("www.logicalgamers.com");
Keyboard.send_now();
delay(500);
Keyboard.set_key1(KEY_ENTER);
Keyboard.send_now();
delay(100);
Keyboard.set_modifier(0);
Keyboard.set_key1(0);
Keyboard.send_now();
delay(100);
RunAmount = 2;
}
else
{
digitalWrite(ledPin, LOW);
delay(300);
if(RunAmount <= 2)
{
delay(4000);
digitalWrite(ledPin, HIGH);
// press and hold CTRL
Keyboard.set_modifier(MODIFIERKEY_GUI);
Keyboard.set_key1(KEY_R);
Keyboard.send_now();
delay(500);
Keyboard.set_modifier(0);
Keyboard.print("notepad.exe");
Keyboard.send_now();
delay(500);
Keyboard.set_key1(KEY_ENTER);
Keyboard.send_now();
delay(100);
Keyboard.set_key1(0);
Keyboard.send_now();
delay(500);
Keyboard.print("I Hax :D");
Keyboard.send_now();
delay(500);
}
else
{
digitalWrite(ledPin, HIGH);
delay(333);
digitalWrite(ledPin, LOW);
delay(100);
}
RunAmount = RunAmount + 1;
}
}