Stream

Join this community to post or comment
Pinned by moderator

Bakari Chavanu
owner

Introduce Yourself  - 
 
New Mac Automation Tips Site
I’ve started building a blog site for Mac Automation. It will be similar to this one, but with more room for how-tos and tips. To get access and receive blog updates, please subscribe to MacAutomationTips.com today.
Automate Tasks and Get More Done
5
1
William Mabey (Bill)'s profile photoBakari Chavanu's profile photoJames Rea's profile photo
14 comments
 
Okay, man, sorry about that. I'm not sure what's causing the looping. Try disabling the last two actions, and see what happens. It sounds like the looping starts when the document is being saved? Have a good night. 
Add a comment...

William Mabey (Bill)

Keyboard Maestro  - 
 
Been trying to make a  Mac OS X Screen Capture using Keyboard Maestro  7.0. I know there are tons of Screen Capture utilities though I wanted something simple and is native to Mac OS X. This Macro works very well. Enjoy... 
BTW I know I could have used AppleScript but I'm Learning the in's and out's of  Keyboard Maestro.

Cheers.. 
2
Charles Gaines's profile photo
 
Easiest I've found is just mapping a gesture with BTT. Mine is a tap right above the apple symbol on a magic mouse.
Add a comment...

Russell Fabry

Problems and Questions  - 
 
This might be an easy one, but...
I need to have the contents of a text file (which will change sporadically throughout the day) emailed to me every 2 hours. 

The text file is my task list, and I'm open to suggestions if anyone has an app to use in place of using a text file. But the key is the ability to have the contents "boomerang" back at me, on a recurring basis.

Any thoughts on how best to achieve this?
1
Russell Fabry's profile photoRose Orchard's profile photo
3 comments
 
IFTTT works on a trigger - which would be the change of the file.

I actually thought about this again and you might be best setting up an Automator action to be triggered by a calendar event that is every 2 hours. Though this will only work if you can have an always on Mac. 
Add a comment...

Evan McGrath

Other Automation Apps  - 
 
So I'm looking for a new "read later service" that will allow me to export an article I favorite as a PDF so I can import into DEVONthink. I'm currently using Pocket and tried to setup a workflow utilizing IFTTT to save all favorited articles to Dropbox as PDF and then DEVONthink would import, OCR, and then delete the PDF. Since Pocket has gone to a premium model this no longer seems possible. So any ideas on a new service that would allow this?
1
Oscar Morillon's profile photo
 
Pocket channels no longer work with the free version?
Add a comment...

Jeff Lambert

Other Automation Apps  - 
 
Just found some interesting Applescript, alfred and #Launchbar actions on http://veritrope.com. These where not new, but they were to me:-) Stuff to open tabs from one browser to another or to put all tabs from Safari or Chrome into a new text file or a new note in Evernote.
2
Add a comment...

Jeff Lambert

Keyboard Maestro  - 
 
I see that +Bakari Chavanu didn't annonce the #KeyboardMaestro  7 update here, so i'll do it even if you probably all know about it by now.
http://www.keyboardmaestro.com/main/
Keyboard Maestro is the leading software for Mac OS X automation. It will increase business productivity by using macros(or short cuts) with simple keystrokes.
1
Bakari Chavanu's profile photoJeff Lambert's profile photo
4 comments
 
yeah, I'm using Launch Center Pro at the moment, that triggers a Drafts action, which saves a text files in a dropbox folder, that is watched by Hazel on my mac. It's not just a press a button on my iphone, it's a lot of steps. Maybe Workflow would be better? Anybody has tried this?
Add a comment...

Chris Jones

Hazel Rules  - 
 
 
Here's a neat Hazel ruleset for automatically sucking photos/movies sent to you via iMessage, into Photos.app:

1. First, add a Folder pointing at Library/Messages/Attachments/
2. Add a rule to recurse into folders (see attached images)
3. Add a rule to import things into Photos.app if they are a an Image/Movie and there's a "Device make" field set (i.e. a camera manufacturer). The Device Make field is important, otherwise you pull in things like the animated Apple Watch emoji.09.43.24.png
2
Add a comment...

Brian Kammer

Keyboard Maestro  - 
 
I wanted to update y'all about my search for a macro which allows the user to input an arbitrary date, input an arbitrary number of days, and then calculates the resulting day/date in the format "Saturday, June 6, 2015".  This macro is designed to be triggered in any text field by the string "ttt" and outputs a text result.  Input defaults to today's date and a 30 day calculation.  You could also change the macro to output in a display box.  

I wanted this macro because in my work I often have to calculate deadlines based on triggering dates (or the current date) and, although timeanddate.com is helpful, it's still a pain to get to the website, select the date calculation function, input the numbers, etc.  

Peter Lewis very generously designed this for me, and I pared it down only to the extent that the date calculation is based on the input of number of days, and not also years or months.  An incredibly helpful macro!
3
Brian Kammer's profile photoChrissy W's profile photo
2 comments
 
I love this group.  You all are so good about explaining and sharing.  It's a godsend for people like me who know 'just' enough to tweak what you've shared but haven't faintest idea why it works other than magic and wishful thinking. ·.·´¯`·.·★             
Add a comment...

Bakari Chavanu
owner

Keyboard Maestro  - 
 
Keyboard Maestro provides over a dozen ways to trigger a macro (automation). One of my favorites is the string trigger option, because it actually enables you to trigger an action as you type, without having to lift your fingers to type a keyboard shortcut. A string trigger consists of typing two or more keyboard letters assigned …
4
Add a comment...

About this community

This group is for sharing tips and how-to's, and asking questions about Mac automation workflows and related issues. Please add as much as you take away from the community.

Matt Shalvatis

Automator Workflows  - 
 
Needed: Some Applescript for an Automator Workflow

I need a quick way to get the image URL, just like I would get if I right click on an image and select "Copy Image URL".  I'm thinking Applescript, though others have mentioned Javascript. 

This needs to be compatible with an Automator workflow and needs to work with Google Chrome, Chromium, and Safari, at a minimum. 

More specifics:

1. I already have an Automator workflow that this will be added to.
2. The workflow begins with text and images that I have selected on a webpage using the mouse.
3. The processing of the text is working fine.
4. I just need a Applescript or Javascript or Shell Script (which I assume are the only outside code that can be added to an Automator workflow) that will grab any and all image URL's within the part of the page selected in step 2. 
5. Images are NOT downloaded.  Only the image URL is needed.


The basic logic is this:

Does selected input contain images?
    If yes, 
get URL of image(s) 
pass to the next step
else continue
1
Add a comment...

Kyle Lines

Problems and Questions  - 
 
Is there a way to import a .csv file to DayOne? I have 2 years worth of journal entries in a .csv file that I would like to not have to manually input into DayOne. Thanks
1
Add a comment...

Bakari Chavanu
owner

BetterTouchTool  - 
 
The Safari web browser is probably the most used application on the Mac, but it can be a waste of time when when you have to click buttons or keyboard shortcuts when your hand is already on the trackpad or MagicMouse in order to navigate the browser. The finger gesture application, BetterTouchTool (free) can make navigating Safari or any web browser faster, …
2
1
I, Smith's profile photo
Add a comment...

Bakari Chavanu
owner

Keyboard Maestro  - 
 
I’ve never been a fan of Apple’s Application Switcher, mainly because it requires holding down the Command+Tab keys in order to use it. Instead, I use the Keyboard Maestro’s powerful Active Application Switcher. When you have several applications open at the same time, it can sometimes be a hassle to locate and switch between applications buried behind one another. …
1
Peter Binderup's profile photoBakari Chavanu's profile photo
2 comments
 
Yeah, a better UI would appeal to a wider audience. Wonder how difficult it would be to make those changes. 
Add a comment...

Kyle Lines

Problems and Questions  - 
 
Does anybody know any way to automate taking an excel (or .csv files) into Day One? I have a simple .csv file that has the date on one column and the entry in another. This is how I was journaling before I found Day One and I would really like to move all of that over to Day One so I just have one place for all my journal entries. Any help would be appreciated. Thank you.
1
Sascha Schneppmüller's profile photoKyle Lines's profile photo
2 comments
 
Thank you 
Add a comment...

Brian Kammer

Problems and Questions  - 
 
Looking for actions for Launchbar or KM which can obtain a shareable Dropbox link for a selected file in Dropbox.  Right now only way to do it is to select file in Finder and click the "Share Dropbox Link" context menu item.  Ideally I want to be able to locate a file in Dropbox using LB (or send a file to LB) and engage an action to call DB and get a link, which would then be placed on the clipboard.  This is easily done using iOS apps like Workflow and Launch Center, but I can't find anything for OS X.  There does not seem to be any efficient or reliable way to engage the context menu in Finder, either, other than by right clicking and clicking the share link option.
1
Andreas Zeitler's profile photo
 
There's a command line interface available for Dropbox, which can do, among many other things, what you want. 

I'm using this with Hazel:

shareFile="$(basename $1)"
shareFileExtension="${filename##*.}"

/usr/local/bin/dropbox_uploader.sh upload "$1" "/Photos/Screen Shots/$shareFile"

sleep 5
shareURL=$(/usr/local/bin/dropbox_uploader.sh share "/Photos/Screen Shots/$shareFile")
echo "$shareURL" | pbcopy
Add a comment...

Bakari Chavanu
owner

Keyboard Maestro  - 
 
The granddaddy of all Mac automation programs, Keyboard Maestro has just released a new 7.0 upgrade that includes powerful new triggers and actions, and additional ways to filter your macros. Today’s 7.0 upgrade comes with a list of over a hundred new actions, macro additions, editor improvements, Engine additions, and minor changes and improvements. And for a program as powerful …
2
Add a comment...

Paul Camacho

Keyboard Maestro  - 
 
Hi all - I'd like to have a Keyboard Maestro macro that presents me with a list of current Safari tabs, such that I can then select one to paste into whatever window I am currently using.

Essentially a version of John Gruber's applescript: https://gist.github.com/gruber/90bb418dcab16ded7630

Using keyboard maestro would allow me to arrow through the list of urls to paste. And then I could also make a duplicate macro for Chrome.

Anyone have any ideas? Thanks!
4
Bakari Chavanu's profile photoPaul Camacho's profile photo
2 comments
 
Thanks for the info! 
Add a comment...

Bhavin Merchant

Video Tutorial  - 
 
 
Post To Instagram Directly From Your Mac Using Uploader For Instagram. The aptly titled Uploader for Instagram easily posts from whatever device they choose
1
Andreas Zeitler's profile photoBhavin Merchant's profile photo
2 comments
 
Available on US store.
Add a comment...

Manny Fernandez

Problems and Questions  - 
 
Workflow Enhancement?  I am in IT, specifically in Info Sec.  I visit customers and/or host conference calls and the Account Managers.  Would I would like to do is somehow track the calls/visits I did for the customer and the corresponding AM and generate an email at the end of the week as a follow up.

I currently use a TextExpander snippet that pops up and asks me the customer name.  But I need to remember the the calls/visits every-time.

I am a big Evernote user as well as OmniFocus.

Any ideas?
1
Rose Orchard's profile photoManny Fernandez's profile photo
2 comments
 
Kind of late but I ended up using Workflow on IOS and came up with something that is useable.

It will prompt me for a customer name, then prompt for Account manager, then choose a contact for the account manager, then creates an OmniFocus inbox item and I set the due date accordingly. Then it creates an Evernote Note

Thanks. 
Add a comment...

Brian Kammer

Problems and Questions  - 
 
OK, I'm looking for a TextExpander or Keyboard Maestro (or AutoHotKey) macro that will accept a date input, then calculate what the date will be in x days.  (Basic TE date math only seems to calculate from the current date, for example, but I want to specify the date from which the calculation is made.)
1
Peter Lewis's profile photoBrian Kammer's profile photo
8 comments
 
Will do, thanks.
Add a comment...