AlfredFreak Posted July 12, 2013 Share Posted July 12, 2013 (edited) Hi, I made this for myself and thought I'd share. I'm a heavy Gmail user, and I think Gmail works best in Chrome. I wanted to always have a Gmail tab open, and to *not* open multiple Gmail tabs when I use the workflow from other applications. I also wanted the Gmail tab to always be pinned to the left. It can't be done via AppleScript, so I'm using a Chrome Extension called Auto Pin URL. Get it if you want the Gmail tab pinned left (it's not required for the workflow to function. Without it, your Gmail tab will be *wherever* in Chrome): https://chrome.google.com/webstore/detail/auto-pin-url/heodenddhgffdcadgghkghlcjjikaahf Here is the URL you will need to add to Auto Pin URL: https://mail.google.com/mail/u/0/ Here's the features of the workflow (keyword / explanation): gm - GMail. Whatever you're doing, this brings Chrome to the front and activates the Gmail tab. If there's no Gmail tab, it will create one (and Auto Pin URL will move it to the far left). I have assigned it Shift-Control-z gmn - GMail New. Open a new compose window. (This is the lone exception in that it opens a new tab. I don't like the new compose window you get by typing c in gmail.) I have assigned Shift-Control-x. This tab auto closes once you send the mail. gms - GMail Search gmf - GMail From. Search for sender gmt - Gmail To. Search for recipient gmc - GMail Contacts. Search Gmail contacts gmgi - GMail Inbox ("gi" is Gmail's default Inbox shortcut) gmgt - GMail Sent. Sent items. ("gt" is Gmail's default Sent Mail shortcut) gmga - GMail All Mail. All mail. ("ga" is Gmail's default All Mail shortcut) NOTE: I made this for my Google Apps account. Haven't tested it on a regular gmail account, but I bet it works fine. I'm no AppleScript expert, so my code may be crappy. Buy hey, this workflow works great for me. Download here: http://s000.tinyupload.com/?file_id=75677841761488282960 Edited October 2, 2017 by AlfredFreak Jake B., thanasut, jarhead and 3 others 6 Link to comment
AlfredFreak Posted July 15, 2013 Author Share Posted July 15, 2013 Hey, great workflow!! Had a couple of questions/feature requests: - Is there any way to activate *only* the chrome window that contains the gmail tab? - Noticed that if you have multiple chrome windows open this workflow will not give focus to the gmail tab if another window had it. This means that keyboard commands etc will be registered with the last active chrome window instead of gmail. Any way to add these features? Thx Both of these may be doable. Since I almost always use tabs, and very rarely use two windows, I didn't encounter these issues while making/using the workflow. I'll look into it when I have some time. Link to comment
a-b Posted August 9, 2013 Share Posted August 9, 2013 It would be great to support Google Apps, so it will be easy to check personal and few project mailboxes. Thanks! Link to comment
mixterdee Posted August 26, 2013 Share Posted August 26, 2013 Cheers Englebert. Great workflow Link to comment
Ted Curran Posted September 12, 2013 Share Posted September 12, 2013 I'm getting a 404 on the Droplr download page. Is there another place I can download this flow? It sounds amazing... Link to comment
nomade0 Posted November 6, 2013 Share Posted November 6, 2013 Thanks, that's great. However, although I understand your preference to open a new email in a new tab, it takes significantly more time to load a new page in a new tab. Would you have a suggestion as to how I can modify the script so it behaves as if I pressed "c" in the Gmail UI? Thank you for your work Link to comment
noahrc Posted December 9, 2013 Share Posted December 9, 2013 Awesome workflow, thanks! Link to comment
gianthobbit Posted January 18, 2014 Share Posted January 18, 2014 Not a Alfred workflow but to do new compose mail I use keyboard maestro to activate chrome, keystroke "CMD+1" to go to first tab (pinned chrome tab) and then type keystroke "c". Works great. I noticed that it reload the gMail window every time. IE do search for "bob" gmail window reloads with results. Is there anyway to get it so that it just does a search without doing a refresh? Would be much faster. Thanks. Link to comment
pvantees Posted May 5, 2014 Share Posted May 5, 2014 Thank you for sharing. Great workflow and easy to modify when necessary. Link to comment
anaderi Posted May 10, 2014 Share Posted May 10, 2014 Is it still available? I cannot download it getting 404 (( Link to comment
AlfredFreak Posted May 13, 2014 Author Share Posted May 13, 2014 (edited) Sorry guys, I'm using this workflow daily, but haven't had the time/motivation to make the requested updates. Looks like droplr cancelled my account, so I updated the download link above. Get it here: http://s000.tinyupload.com/?file_id=18007489721706556934 Edited May 13, 2014 by EngelbertHumperdinck bb13 1 Link to comment
jhinden Posted September 30, 2015 Share Posted September 30, 2015 Great script. Is the following possible?1. Setup a message that opens already addressed and subjected so that I can email a specific person with one keystroke? 2. I'd like to insert a clipboard image to the message. Thanks! Link to comment
bb13 Posted January 5, 2016 Share Posted January 5, 2016 Thank you, Englebert! Great script. Works well with non-google app gmail accounts as well. Exactly what I was looking for! Link to comment
thanasut Posted May 25, 2016 Share Posted May 25, 2016 Great script. It's still working on Alferd 3.0 (652) Link to comment
andyw8 Posted January 12, 2017 Share Posted January 12, 2017 @AlfredFreak the link has expired again, would you mind sharing it on somewhere where it won't expire, e.g. GitHub? Link to comment
AlfredFreak Posted October 2, 2017 Author Share Posted October 2, 2017 Here's updated download url: http://s000.tinyupload.com/?file_id=75677841761488282960 Link to comment
biomarx Posted September 20, 2018 Share Posted September 20, 2018 Hi @AlfredFreak the link has expired again. Thanks! Link to comment
nemrod Posted September 29, 2018 Share Posted September 29, 2018 Hi, there's no download link available…again :) You've got gmail, so you've got 15Go on Google drive… Can you please give us a strong link with it ? Thanks in advance Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now