Search This Blog

How to Send Self Destructing Messages that Doesn't Explode

Thursday, September 19, 2013

If you are a fan of James Bond or Charlie's Angels movie then you are surely familiar with those messages that are being sent to the agents then self destructs after a second or two. However, this article is not about making any explosive messages that self destructs in front of your enemy. This is another helpful tip you might want to use in the future.


Though there has been quite a number of applications that offer the same service like Oneshar.es which allows you to send messages that self destructs after a certain period of time, after the recipient reads the message it automatically self destructs. You may also use DestructingMessage, which has the same features with Oneshar.es.

But why not try it with the most widely used Google, I believe you are most familiar with Google Drive where you can create files such as Document, Presentation, Spreadsheet and a lot more. So we will try to create a self destructing message using this file.

And with this example we will use Spreadsheet, just follow the steps.

Go to your Google Drive then click Create and choose Spreadsheet.



Then compose a secret message, anything you want to write.




Then go to tools and choose script editor.



Then you will see this pop up message just hit close.



Then paste this code to Code.gs and then Save.


function onOpen() {

var time = 10; // Wait Time (in seconds)

var ss = SpreadsheetApp.getActiveSpreadsheet();
ss.toast("This message will disappear after " + time + " seconds");

Utilities.sleep(time*1000);
ss.toast("We are now sending this private note to the shredder");

ss.getActiveSheet()
.getRange(1, 1, ss.getLastRow(), ss.getLastColumn()).clear();


Then share it to a friend, be sure that it has been set to Can Edit.



Now when your friend opens the message he/she will see this notification.



And after 10 seconds


Then there you go, your message just disappeared.

Atleast with this one we don't see any explosions. It's worth a try.


No comments:

Post a Comment

 

Most Reading