Profile cover photo
Profile photo
Thomas Lebeau
Freelance web developer & designer
Freelance web developer & designer
About
Posts

Post has shared content

Post has shared content
Google+ Page arrive very soon !
Hello, World!

Welcome to Google+ Pages, where businesses will find an incredible set of tools to get closer to their customers. Brands, companies, organizations, and other groups now have a presence on Google+ and we could not be happier.

So, how do businesses maximize their impact in Google+? What’s the best way to use Pages? How should Google+ fit into business’ social media strategy and other online marketing? That’s where we come in. The Google+ Your Business page will be the central source for updates, best practices, and other information about Google+ Pages. But, it’s also about growing your business using Google+ and the incredible tools it provides.

We’ll feature interviews with Googlers and social media specialists, brand campaign highlights, tips and tricks, and feature announcements.

We’ve assembled an amazing team of Google insiders to provide the ultimate resource on what Google+ can do for your business. Add us to your circles, re-share this post, and stay tuned. We promise to keep you in the know about business’ new best friend, Google+ Pages.

Posted by +Toby Stein on behalf of the Pages team
Add a comment...

Post has attachment

Post has shared content
Importing Gmail attachments into Google Docs (no extension/plugin required)
Recently I searched for a solution to import mail attachments from Gmail into Google Docs. Unfortunately there's no direct way to do so. Therefore I wrote a Google Apps Script, which provide a simple way to automate the import of mail attachments to Google Docs by tagging the corresponding mail with a special gmail label. There is no browser extension or plugin required.

How does it work
After installing and setting up the script, you've got a new gmail label "Save to Google Docs" and a new Google Docs folder "From Gmail". Now, if you receive a mail with attachments which you want to save in Google Docs, you just have to tag this mail with the label "Save to Google Docs". The Script checks automatically periodically if new mails tagged with this label are available and saves the attachments of these mails to the Google Docs folder "From Gmail".

Installation and configuration
1. Open Google Docs: https://docs.google.com/
2. Create a new spreadsheet: "Create new" > "Spreadsheet"
3. Save the spreadsheet and give it a name of your choice (e.g. "Gdoc import")
4. In the new spreadsheet select "Tools" > "Script editor..."
5. Copy the script below into the script editor and save it. Again choose a name of your choice for the script name (e.g. "Gdoc import")
6. In the select box "Select a function to run" select the function "Import_Gmail_Attachments_Into_Google_Docs".
7. Click the button "Run" (Play symbol) and follow the installation and authorization process (The scripts needs read/write access to Gmail and Google Docs).
8. After finishing the authorization process click "Run" again. The script will now execute and hopefully no error messages appear.
9. From the script editor's menu select "Trigger" > "Current project's triggers...".
10. Click the blue link "No triggers set up. Click here to add one now."
11. In column "Run" choose the function "Import_Gmail_Attachments_Into_Google_Docs" if it is not already selected. In column "Event" chosse "time-driven".
12. Select the preferred time interval for script execution. My recommendation is to select "Minutes timer" and "Every 10 minutes".
13. (Optional) Add an "execution failure notification" by clicking the link "notifications". Select "via email" and "immediately" to receive a failure report immediately if the script execution fails. Click OK to save the execution failure notification.
14. Click "Save" to save the event trigger.

Now you are done.

Tip: Optional you can fully automate the import process by defining a filter in gmail that tags all incoming messages with the label "Save to Google Docs". Example to save all incoming attachments to Google Docs:
Filter criteria:
Has attachment: checked
Actions:
Apply the label: Save to Google Docs
You can tweak this filter for your own needs. It is just important to tag the mail with the label "Save to Google Docs".

Feel free to +1 or reshare this post if you find this solution useful.

Inspired by the awesome script "Gmail Snooze" posted by
Google's +Corey Goldfeder on the Google Apps Developer blog. Perhaps this solution is also interesting for +Sarah Price and +Teresa Wu.

// == SCRIPT BEGIN =============================
/*
* Gmail label where to look for mail
* attachments which should be saved to Google docs.
* Label will be created if it doesn't exists.
*/
var labelName = "Save to Google Docs";

/*
* Google docs folder name where to store mail
* attachments.
* Folder will be created if it doesn't exists.
*/
var folderName = "From Gmail";

/*
* Let this function be called by a time-driven trigger periodically
* (i.e. every minute) to copy your gmail mail attachments to
* google docs. Only mails associated with the label defined
* above (see "labelName") are recognized.
*/
function Import_Gmail_Attachments_Into_Google_Docs() {
initLabels();

var threads = getThreads();
var attachments = getAttachments(threads);

saveAttachments(attachments);
removeThreadsFromLabel(threads);
}

// helper functions

function getThreads(){
return getGmailLabel().getThreads();
}

function getMessages(threads){
var res = new Array();
var c = 0;
for(var i in threads){
var messages = threads[i].getMessages();
for(var a in messages){
res[c++]=messages[a];
}
}
return res;
}

function getAttachments(threads){
var res = new Array();
var messages = getMessages(threads);
for(var i in messages){
var attachments = messages[i].getAttachments();
for(var a in attachments){
//Eliminate attachments with same name
res[attachments[a].getName()]=attachments[a];
}
}
return res;
}

function removeThreadsFromLabel(threads){
getGmailLabel().removeFromThreads(threads);
}

function saveAttachments(attachments){
for(var n in attachments){
saveAttachment(attachments[n])
}
}

function saveAttachment(blob){
var folder = getGdocFolder();
var file = folder.createFile(blob);
return file;
}

function getGmailLabel(){
return GmailApp.getUserLabelByName(labelName);
}

function getGdocFolder(){
return DocsList.getFolder(folderName);
}

function initLabels(){
var label = null;

try{
label = getGmailLabel();
}catch(e){
Logger.log(e.getCause());
}

if(!label){
GmailApp.createLabel(labelName);
}

var folder = null;

try{
folder = getGdocFolder();
}catch(e){
Logger.log(e);
}

if(!folder){
DocsList.createFolder(folderName);
}
}
// == SCRIPT END =============================
Photo
Add a comment...

Post has attachment
Facebook ad in gmail ? I swear It not a fake !
Turns out it's provoked by AdBlockPlus
Photo
Add a comment...

Post has shared content
The power of G+ : 1000 shares and a book written by 120+ users.
A lot of great G+ tips are coming through. Created the beginning of a tips and tricks doc that is editable by all who have the link below.
Add a comment...
Wait while more posts are being loaded