Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Breadstick" Rick Roll Script #51

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Breadstick/Breadstick.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Fun little script to mess with your friends.
// Opens a powershell instance that downloads a picture of a breadstick (or any other picture that you can download via a link) and copy/pastes it 300 times to the desktop.
// The number of duplications can be chaged by editing the number on line 18 in the "foreach($number in 1..300)" where the number of duplications would be 300
// To change the image to use, change the link in line 15 to one that points directly to an image file (has .jpg or .png on the end of it)

#include "DigiKeyboard.h"

void setup() {
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT,KEY_R);
DigiKeyboard.delay(50);
DigiKeyboard.print("powershell");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(50);
DigiKeyboard.print("Invoke-WebRequest https://www.iheartnaptime.net/wp-content/uploads/2019/01/breadsticks-recipe.jpg -OutFile ~/Desktop/breadstick.jpg");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(50);
DigiKeyboard.print("foreach($number in 1..300) { Copy-Item '~/Desktop\\breadstick.jpg' -Destination ""~/Desktop\\breadstick$number.jpg""}");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(50);
DigiKeyboard.print("exit");
DigiKeyboard.sendKeyStroke(KEY_ENTER);}

void loop() { }
4 changes: 4 additions & 0 deletions Breadstick/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Fun little RickRoll type script.**

Downloads image from the internet (breadsticks in this case) and proceeds to copy/paste it 300 times on the desktop. Harmless way to mess with your friends.
Personally if one of my friends leaves their computer logged in, it will get "breadsticked"