-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFake_Apple_Update.ino
More file actions
23 lines (22 loc) · 897 Bytes
/
Fake_Apple_Update.ino
File metadata and controls
23 lines (22 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <DigiKeyboard.h>
int i = 1;
void setup() {
DigiKeyboard.delay(200);
DigiKeyboard.sendKeyStroke(0);
}
void loop() {
delay(600);
while(i==1){
DigiKeyboard.sendKeyStroke(KEY_SPACE, MOD_GUI_LEFT);//Command to open spotlight search.
DigiKeyboard.print("saf");//Types the thing to be searched in spotlight.
DigiKeyboard.sendKeyStroke(KEY_ENTER);//Press ENTER key
DigiKeyboard.delay(200);//Pause for 200 milliseconds
DigiKeyboard.sendKeyStroke(MOD_GUI_LEFT, KEY_T);
DigiKeyboard.delay(200);
DigiKeyboard.print("http://fakeupdate.net/apple/");// Go to web address: _________
DigiKeyboard.sendKeyStroke(KEY_ENTER);//Press ENTER key
DigiKeyboard.delay(400);//Pause for 400 milliseconds
DigiKeyboard.sendKeyStroke(MOD_GUI_LEFT, KEY_F| MOD_CONTROL_LEFT);//Go full screen~!!!
i = 2;// Stops the code from repeating
}
}