Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by morocons

  1. Here's a workflow that contains an AppleScript that grabs the current URL in Safari, opens it in Chrome, then closes the existing tab in Safari. I use it with a hotkey. It's my understanding that Firefox support for AppleScript is wonky at best, so I'm not sure how one would go about doing what you're looking for (in Alfred, at least). https://www.dropbox.com/s/6e2vd97hy7wvtts/Open%20Safari%20Tab%20in%20Chrome.alfredworkflow?dl=0
  2. Done! Thanks, Paul. Edit: Workflow updated to include script to send phone number to iOS via Command-C.
  3. That's really helpful, thank you! (If it's not obvious already, I'm a complete amateur when it comes to scripting...)
  4. Thanks, Vitor. I had seen this when putting together the workflow, and I tried using the Safari command in the URL part of it. Unfortunately, I think the script does something specific with respect to Safari and the URL that breaks when I replace the lines with the one line from your post, and I'm not competent to figure out what it might be (though I suspect it has to do with how the script gets and then encodes the URL) or how to fix it.
  5. Updated: Hopefully, this might be of use to someone. This workflow contains four scripts, one to send the clipboard contents to an iOS device using Command-C, two to send a URL to Safari in iOS using Command-C, from either Safari or Chrome, and the fourth to send a phone number to iOS (thanks, Paul!). Also, thanks to Vítor for the help with the scripts! https://www.dropbox.com/s/xcb99na9b7csgv4/Command-C.alfredworkflow?dl=0 Instructions: replace all instances of "Someone's iPhone" in the scripts with your device name.
  6. Someone just posted a workflow: http://www.alfredforum.com/topic/4524-safari-reading-list/
  7. This is way past my meager abilities, unfortunately! Hopefully, some kind soul will come up with something...
  8. Hi, everyone. I'm looking for help on building a workflow that, when triggered with a keystroke, would return a list of Safari Reading List items in Alfred. My understanding is that Reading List items are stored in Safari's bookmarks file, so the workflow would have to parse those items and then return them to Alfred, probably through a script filter? I don't really script, so this is proving above my capabilities. I found this script (https://github.com/anoved/ReadingListReader), which seems like it would be useful, but I'm not sure how to go about incorporating it into a workflow that does what I'd like it to do. I'd appreciate any help. Thanks, David
  9. This is great, thanks. Is there any way to have it return ºC, or is that supposed to happen on the API side? I have forecast.io set to ºC, but the workflow keeps returning ºF.
  • Create New...