Send Self- destructing Messages through Google Docs

First open Google Docs File from Here

Then you will get the option of “Create” On the Top at the left corner. Then choose the option Spreadsheet on it.


Now choose the option “Script Manger” in Tools Section. As shown below.


As you will click on “Script Manager” option, you will get the picture like below on the screen. Now click the option “New”.


Then you will get “Google application script“open as shown below. Now, choose the option “Blank Project”.


Now Paste the Following Script given below, and choose the time limit for message to get vanished after reading

function onOpen() {
 
 var time = 60; // 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(); 
}

You will get the picture like below on the screen


Now, go to the option “File”. Now save it with any name in case it gets “self Deleted”


Now , type a Message or any document  you want to send in  “Spread Sheet ”and click on share button in Top of Right Corner, as shown in the below picture.


Then, you will get the picture like this below on your screen. Now, choose the contacts that you want to send this message, and want to share.


Now, your message is ready to send to that person. When recipient get the mail & click on Spreadsheet Than message will self destruct with in 1 minute
Script Source: http://www.labnol.org

1 comments:

gene bernice said...
This comment has been removed by the author.

Post a Comment