Jump to content

mattbovett

Member
  • Posts

    28
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mattbovett's Achievements

Member

Member (4/5)

0

Reputation

  1. This doesn't seem to work in macOS Ventura. Can anyone confirm?
  2. Thank you @vitor. I got it working. But, I think this is too many steps for the average user. If they could click a song or album in Apple Music then use the Universal Action and select "Open AM URL in iTS", I could see them doing that. But when you try that, it copies all the song information (artist name, album name etc), not the share link. I will play with everything above, but I think at least one of the solutions above that I already have working will work really well for people.
  3. I use that for when I select a file in Finder and want to move it or copy it. But, haven't the faintest idea of how to get started adding it to the above workflows. I poked around for a bit but it's still clear as mud.
  4. Thank you @vitor, you're truly awesome. I think I got it working to where it appends ?ls=1&app=itunes to the URL in the clipboard. Not sure why it was throwing an error before. Something like error -50 or 50. I toggled "Selection hotkeys" under Advanced between "Restore previous clipboard item" and "Leave selected item in clipboard" because I thought that might be it, but it seems to work with both, so I guess that wasn't it. Here's the workflow I ended up with: https://www.dropbox.com/s/2rgi2s8zekpudp9/Open copied AM URL in iTS.alfredworkflow?dl=0 I'm wondering now if there's a way to combine that one ("Open copied AM URL in iTS") and "Open selected AM URL in iTS", and just use one hotkey, so the user doesn't have to learn two hotkeys. I could get some more people to use Alfred if it was just one hotkey to learn, probably. I don't think I need to include / use the one where you invoke Alfred and manually paste the link into the Alfred window after all.
  5. This sounded good but when I paste {query}?ls=1&app=itunes directly in the Open URL action, it appears as red and won't let me save: What am I doing wrong there I wonder?
  6. Okay thank you @vitor! I will look at that and also look at combining into one workflow. What if I wanted to do a version where I could go to Share > Copy Link (in Apple Music), then press a specified hotkey for an Alfred workflow, and it just adds ls=1&app=itunes to what is in the clipboard (which will be an Apple Music link like https://music.apple.com/us/album/18/1628207368), then just opens the URL (which would be "https://music.apple.com/us/album/18/1628207368ls=1&app=itunes")? I tried: Hotkey trigger (Hotkey = ^⌘I, Action = "Pass through to workflow", Argument = "macOS Clipboard Contents") into Args and Vars utility ("{query}?ls=1&app=itunes" - without quotes) ... (also tried {clipboard} instead of {query}) into Open URL (left as default) Nothing seemed to work. I think one config opened the URL in Safari, and when I checked the location bar, it showed the URL with ?ls=1&app=itunes added, but it never prompted me to "Allow" to open in the Music app, so it never took me to the iTunes Store like the other workflows did. Thanks again for any help.
  7. Thank you @vitor! I got these working.. For some reason though, using {clipboard} with the version that acts on selected text works, and using {query} instead of {clipboard} works for the one where I manually paste the URL in the Alfred window. Not sure what I did wrong, but it works, so I'm glad. Thank you again. Here are the workflows I ended up with: https://www.dropbox.com/s/ns5dr3p68jmjete/Open AM URL in iTS.alfredworkflow?dl=0 https://www.dropbox.com/s/kd4z0irfatax8nl/Open selected AM URL in iTS.alfredworkflow?dl=0
  8. I just created a new workflow and I see you can select "macOS Clipboard contents" as the Argument, so maybe I'm getting warmer.. but the field under that is "Prefix", and I'm thinking what I need is "Suffix"? i.e. add to the end instead of the beginning? Or is that what Prefix is somehow?
  9. I know you can set up a Web Search in Alfred then use {query} to append text to or insert text in the URL, but I am trying to figure out how to append pre-defined text to the current URL in the clipboard. So kind of the opposite. The URL changes each time, but not the appended text. How would I most easily achieve this? Use case is this: when you copy a link to an album or single or song in Apple Music or the iTunes Store, it gives you a link like this: https://music.apple.com/us/album/18/1628207368 If you add "?ls=1&app=itunes" to that URL, it opens the item in the iTunes Store. This is really the only way you can open Pre-Release items in the iTunes Store, as for some reason they don't have a "Also available on the iTunes Store" link at the bottom like other pages do. So I want the user to be able to copy a link to an item in Apple Music or the iTunes Store, type a keyword in Alfred, then paste the link, and hit Enter, then Alfred appends the "?ls=1&app=itunes" and goes to the URL with the appended text. I may also make a version where a link like the above can simply be highlighted, then the user presses a hotkey and Alfred appends the same text and goes to the URL. But I can figure that part out myself as I have other workflows like that, if you help me figure out how to add static text to a URL in the user's clipboard. Thanks in advance for any help! Let me know if anything is unclear.
  10. Wow, both of these are cool and I never would have discovered this! Thanks @Vero! I like the clipboard viewer method, since I already go to that often. I also like how it finds snippets via partial match, unlike the Filter box in the Preferences > Snippets section. The only issue I seen is that if I use that method in an app I have ⌘S set up as a hotkey (via Keyboard Maestro), not only is the hotkey is executed in the app, but Alfred seems to ignore it and the snippet isn't pulled up to be edited. I was trying to use this method when I was in Safari, where ⌘S does "Select Previous Tab" (not Save As...😀), and I can see the previous tab getting selected when I hit ⌘S while the Alfred clipboard viewer is still up. I wonder if there is a way Andrew could resolve that? If not, perhaps there could be an option for selecting your own hotkey for editing snippets this way. I could use ⌘-Enter or ⌘-E (for "Edit" 🙂) or something. Love this forum!
  11. That's cool, thanks @Vero - didn't know that. Though not sure I explained what I was meant very well. I was actually talking about when you type "snip" and then words from a snippet, to find a snippet. I would love to be able to jump to editing the selected snippet there. ⌘-Enter is what I would assume would work there. Let me know if I should post in the Feature Requests section.
  12. Title says it all. Is there a way to jump to editing a snippet from when you're looking at it in the viewer? With Finder files, I think you can hit ⌘-Enter to open it in Finder. Perhaps ⌘-Enter could take you to snippet you're currently viewing, in the editor. I can post in the Feature Request section if anyone else thinks it's a good idea.
  13. Ah okay. That's more steps than I was hoping. Used to TextExpander where I can just find stuff easily and edit it or delete it.
×
×
  • Create New...