The apple script commands below appear to do what you want.
tell application "iTunes" to set loved of current track to true
or
tell application "iTunes" to download the current track
Now let me see if I actually loved that Bruce Springsteen song. Yes, Loved is
now checked. There is a separate dislike and also a rating from 1 to 100. I am
not sure if the latter is able to be manually set. There are also separate
properties for album loved and album dislike .
You should be able to put either or both of these two lines into an
AppleScript file and then assign a commander to it. I am not quite sure what
would happen if iTunes is not playing a track, you might get a nasty little
error.
If you do, then wrapping the above in a AppleScript try .. on error .. end try
would eliminate the error.
Best wishes,
Jonathan Cohn
> On Nov 5, 2017, at 9:00 PM, Des Delgadillo <[email protected]> wrote:
>
> Hey all,
>
> Not sure if this question has been brought up before, but I was wondering if
> there exists any sort of script or any way of creating keyboard shortcuts to
> better interact with Apple Music on the Mac? For instance, when I hear a song
> I like, I’d ideally like to be able to simply navigate to iTunes, hit one
> keystroke to mark it as “liked” and continue with my business. I’d like to do
> the same with adding songs to my library. Is this doable at all? At present,
> I’d have to navigate to the actions menu and select “like” that way, which
> isn’t the worst thing in the world, but I was just wondering if there was a
> quicker way.
>
> Thanks for any direction here.
>
> --
> The following information is important for all members of the Mac Visionaries
> list.
>
> If you have any questions or concerns about the running of this list, or if
> you feel that a member's post is inappropriate, please contact the owners or
> moderators directly rather than posting on the list itself.
>
> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at:
> [email protected] and your owner is Cara Quinn - you
> can reach Cara at [email protected]
>
> The archives for this list can be searched at:
> http://www.mail-archive.com/[email protected]/
> ---
> You received this message because you are subscribed to the Google Groups
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.
--
The following information is important for all members of the Mac Visionaries
list.
If you have any questions or concerns about the running of this list, or if you
feel that a member's post is inappropriate, please contact the owners or
moderators directly rather than posting on the list itself.
Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at:
[email protected] and your owner is Cara Quinn - you
can reach Cara at [email protected]
The archives for this list can be searched at:
http://www.mail-archive.com/[email protected]/
---
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.