Jump to content

thewondermint

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by thewondermint

  1. Awesome! I had it set up with a URL scheme that looks like this: https://maps.google.com/maps?saddr=(my address)+&daddr={query} It seems like it performs in general the same way? Thanks so much for the bump in the other post and for all your help in general!
  2. You're giving me way too much credit :-P I completely understand the concepts and logic behind using the second bash script (I barely even know what a bash script is) to achieve what I want, but I have absolutely no idea how to modify it to force me to choose addresses instead of user input. Where do I look for next steps or what should I be changing?
  3. Great idea! I hadn't thought of that. So it would look something like this? https://maps.google.com/maps?saddr={my address}&daddr={query} where query is the destination? That will definitely work, but what if I want to start from somewhere other than my home address?
  4. So I'm trying to come up with a way to track my daily mileage. Assuming I have addresses stored in Contacts.app, here's how I envision it working: - Using the home addresses as the reference, I want to select two contact cards and send them into Google Maps and have it return the mileage back into Alfred. The typical Google Maps search looks like this: https://maps.google.com/maps?q={query} My goal is to have something that looks more like this: https://maps.google.com/maps?saddr={query1}&daddr={query2} where {query1} is the starting address and {query2} is the destination address. So far I've tried: - Creating a contacts action that sends the address to Google Maps. This gets me 1/3rd of the way. - Copying the first address to my clipboard and then performing option one (Contacts action) on the second address and then pasting the first address into maps when it pops up. This doesn't save me nearly enough time. First: is this even remotely possible? Second: I'd love to know how to do something like this, I'm not really interested in having someone do this for me. I'm an absolute beginner when it comes to scripting of any kind, but I'd love to learn. What am I missing or not considering? Thanks! -Andrew
×
×
  • Create New...