vulg4h Posted May 2, 2010 Share Posted May 2, 2010 (edited) So, I'm pretty sure this works. [ Windows ] void setup() { delay(3500); // initial delay Keyboard.set_modifier(MODIFIERKEY_GUI); Keyboard.set_key1(KEY_R); sendClearKeys(); delay(500); Keyboard.print("cmd"); delay(1000); Keyboard.print("start http://tinyurl.com/gmail-minipose"); // mail.google.com/mail/x/?v=b&eot=1&cs=b enter(); delay(6000); // delay for browser to load Keyboard.print("to@email.com"); Keyboard.set_modifier(MODIFIERKEY_TAB); sendClearKeys(); delay(100); Keyboard.print("subject here"); Keyboard.set_modifier(MODIFIERKEY_TAB); sendClearKeys(); delay(100); Keyboard.print("message here"); Keyboard.set_modifier(MODIFIERKEY_TAB); sendClearKeys(); delay(100); Keyboard.set_key1(KEY_ENTER); sendClearKeys(); } void loop() { } void enter() { Keyboard.set_key1(KEY_ENTER); Keyboard.send_now(); Keyboard.set_key1(0); Keyboard.send_now(); } void sendClearKeys() { Keyboard.send_now(); Keyboard.set_modifier(0); Keyboard.set_key1(0); Keyboard.send_now(); } Edited May 2, 2010 by vulg4h Quote Link to comment Share on other sites More sharing options...
SWFu Posted May 2, 2010 Share Posted May 2, 2010 Depending on the windows version you could use the telnet client instead to send email. Quote Link to comment Share on other sites More sharing options...
Sl45h3R Posted May 2, 2010 Share Posted May 2, 2010 You can use telnet client on any windows version, except it's disabled by default on Vista & 7 :( Oh, and of course, the user has to be logged in ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.