Pages

Tuesday, November 6, 2012

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.orgFirst 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”.


http://2.bp.blogspot.com/-eApCbuy4bz...Ik/s1600/4.JPG


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


http://2.bp.blogspot.com/-eLtBNd10Dt...-M/s1600/5.JPG


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

Code:
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


http://2.bp.blogspot.com/-geIkBm2UDq...e4/s1600/6.JPG


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


http://3.bp.blogspot.com/-BNZiEr68V1...Ew/s1600/7.JPG


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.


http://2.bp.blogspot.com/-ejP-1myihN...5U/s1600/8.JPG


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.


http://1.bp.blogspot.com/-B5KPFoSUkP...Ig/s1600/9.JPG


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
Source : http://www.hackingarticles.in/

No comments:

Post a Comment