In iTunes 12 on macOS, how can I reset the skip count of a song?How do I convince iTunes to play a podcast...

What is the meaning of "notice to quit at once" and "Lotty points”

Misplaced tyre lever - alternatives?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

If there are any 3nion, 5nion, 7nion, 9nion, 10nion, etc.

Are small insurances worth it

How do we objectively assess if a dialogue sounds unnatural or cringy?

Is there a math equivalent to the conditional ternary operator?

Why would the IRS ask for birth certificates or even audit a small tax return?

Deal the cards to the players

Can a space-faring robot still function over a billion years?

PTIJ: Is all laundering forbidden during the 9 days?

The need of reserving one's ability in job interviews

Specific Chinese carabiner QA?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

Where is this quote about overcoming the impossible said in "Interstellar"?

Difference between 'stomach' and 'uterus'

Are all UTXOs locked by an address spent in a transaction?

How to disable or uninstall iTunes under High Sierra without disabling SIP

Is there a full canon version of Tyrion's jackass/honeycomb joke?

Practical reasons to have both a large police force and bounty hunting network?

PTIJ: Aharon, King of Egypt

What can I do if someone tampers with my SSH public key?

Correct physics behind the colors on CD (compact disc)?

Why won't the strings command stop?



In iTunes 12 on macOS, how can I reset the skip count of a song?


How do I convince iTunes to play a podcast item I've manually replacedWhy does iTunes continually reset the play count of select songs to zero?iPhone/iTunes play count & location updatingWhat does iTunes count as a “skip”?Can you trick Apple Music/iCloud Music Library by labeling music files as audiobooks?How to prevent iTunes/QuickTime Player playing both the main (5.1 AC-3) and backup (2.0 AAC) audio tracks at the same time?Apple Music: Are recommendations based on local play counts?How do I suppress iTunes internet connection alerts when listening with Wi-Fi disabled?Music app not showing albums/artistsiPod Click Wheel (4G Classic) crashes in the manner of refusing to wake up and I can't seem to figure out why













3















Everything I can find on the internet seems to refer to a different version of macOS/iTunes than the ones I'm running. I want to reset the skip count of tracks without resetting their play counts, as well.



I'm fine with AppleScript, if that's how it has to be done, but something would be nice :)










share|improve this question

























  • which macOS? All tracks? Or selected tracks?

    – dwightk
    yesterday











  • Selected tracks, macOS Mojave

    – Chris R
    yesterday
















3















Everything I can find on the internet seems to refer to a different version of macOS/iTunes than the ones I'm running. I want to reset the skip count of tracks without resetting their play counts, as well.



I'm fine with AppleScript, if that's how it has to be done, but something would be nice :)










share|improve this question

























  • which macOS? All tracks? Or selected tracks?

    – dwightk
    yesterday











  • Selected tracks, macOS Mojave

    – Chris R
    yesterday














3












3








3


1






Everything I can find on the internet seems to refer to a different version of macOS/iTunes than the ones I'm running. I want to reset the skip count of tracks without resetting their play counts, as well.



I'm fine with AppleScript, if that's how it has to be done, but something would be nice :)










share|improve this question
















Everything I can find on the internet seems to refer to a different version of macOS/iTunes than the ones I'm running. I want to reset the skip count of tracks without resetting their play counts, as well.



I'm fine with AppleScript, if that's how it has to be done, but something would be nice :)







itunes applescript music mojave metadata






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday









IconDaemon

12.3k62842




12.3k62842










asked yesterday









Chris RChris R

3822720




3822720













  • which macOS? All tracks? Or selected tracks?

    – dwightk
    yesterday











  • Selected tracks, macOS Mojave

    – Chris R
    yesterday



















  • which macOS? All tracks? Or selected tracks?

    – dwightk
    yesterday











  • Selected tracks, macOS Mojave

    – Chris R
    yesterday

















which macOS? All tracks? Or selected tracks?

– dwightk
yesterday





which macOS? All tracks? Or selected tracks?

– dwightk
yesterday













Selected tracks, macOS Mojave

– Chris R
yesterday





Selected tracks, macOS Mojave

– Chris R
yesterday










2 Answers
2






active

oldest

votes


















6














This following AppleScript code works for me using the latest version of macOS Mojave.



tell application "iTunes"
tell its track "Insert Your Song Title"
set its skipped count to 0 -- Enter Your Desired Number
end tell
end tell




The following code addresses the issue of multiple songs with the same name.



tell application "iTunes"
set theTrack to "Insert Your Song Title"
set tracksRef to a reference to (tracks whose name is theTrack)

set trackCount to count of tracksRef

if trackCount is greater than 1 then
set theArtists to artist of tracksRef
set chooseArtist to (choose from list theArtists with title "Choose The Artist" with prompt ¬
"Choose The Artist" OK button name "OK" cancel button name "Cancel") as text
tell (every track whose name is theTrack and artist is chooseArtist)
set skipped count to 0 -- Enter Your Desired Number
end tell
else
tell its track theTrack
set its skipped count to 0 -- Enter Your Desired Number
end tell
end if
end tell




This following code should work if you want to reset skipped count of every track.



tell application "iTunes"
set allTracks to every track
repeat with i from 1 to count of allTracks
set thisItem to item i of allTracks
tell thisItem
try
set its skipped count to 0 -- Enter Your Desired Number
end try
end tell
end repeat
end tell





share|improve this answer





















  • 3





    What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

    – user3439894
    yesterday











  • I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

    – Chris R
    yesterday











  • @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

    – wch1zpink
    yesterday



















4














I noticed in the comment to your OP where you answered "Selected tracks" to dwightk's comment questions "All tracks? Or selected tracks?" So...



To reset the Skips count of all selected tracks, simply use:



tell application "iTunes" to set skipped count of selection to 0





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "118"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f353107%2fin-itunes-12-on-macos-how-can-i-reset-the-skip-count-of-a-song%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    This following AppleScript code works for me using the latest version of macOS Mojave.



    tell application "iTunes"
    tell its track "Insert Your Song Title"
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end tell




    The following code addresses the issue of multiple songs with the same name.



    tell application "iTunes"
    set theTrack to "Insert Your Song Title"
    set tracksRef to a reference to (tracks whose name is theTrack)

    set trackCount to count of tracksRef

    if trackCount is greater than 1 then
    set theArtists to artist of tracksRef
    set chooseArtist to (choose from list theArtists with title "Choose The Artist" with prompt ¬
    "Choose The Artist" OK button name "OK" cancel button name "Cancel") as text
    tell (every track whose name is theTrack and artist is chooseArtist)
    set skipped count to 0 -- Enter Your Desired Number
    end tell
    else
    tell its track theTrack
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end if
    end tell




    This following code should work if you want to reset skipped count of every track.



    tell application "iTunes"
    set allTracks to every track
    repeat with i from 1 to count of allTracks
    set thisItem to item i of allTracks
    tell thisItem
    try
    set its skipped count to 0 -- Enter Your Desired Number
    end try
    end tell
    end repeat
    end tell





    share|improve this answer





















    • 3





      What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

      – user3439894
      yesterday











    • I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

      – Chris R
      yesterday











    • @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

      – wch1zpink
      yesterday
















    6














    This following AppleScript code works for me using the latest version of macOS Mojave.



    tell application "iTunes"
    tell its track "Insert Your Song Title"
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end tell




    The following code addresses the issue of multiple songs with the same name.



    tell application "iTunes"
    set theTrack to "Insert Your Song Title"
    set tracksRef to a reference to (tracks whose name is theTrack)

    set trackCount to count of tracksRef

    if trackCount is greater than 1 then
    set theArtists to artist of tracksRef
    set chooseArtist to (choose from list theArtists with title "Choose The Artist" with prompt ¬
    "Choose The Artist" OK button name "OK" cancel button name "Cancel") as text
    tell (every track whose name is theTrack and artist is chooseArtist)
    set skipped count to 0 -- Enter Your Desired Number
    end tell
    else
    tell its track theTrack
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end if
    end tell




    This following code should work if you want to reset skipped count of every track.



    tell application "iTunes"
    set allTracks to every track
    repeat with i from 1 to count of allTracks
    set thisItem to item i of allTracks
    tell thisItem
    try
    set its skipped count to 0 -- Enter Your Desired Number
    end try
    end tell
    end repeat
    end tell





    share|improve this answer





















    • 3





      What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

      – user3439894
      yesterday











    • I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

      – Chris R
      yesterday











    • @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

      – wch1zpink
      yesterday














    6












    6








    6







    This following AppleScript code works for me using the latest version of macOS Mojave.



    tell application "iTunes"
    tell its track "Insert Your Song Title"
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end tell




    The following code addresses the issue of multiple songs with the same name.



    tell application "iTunes"
    set theTrack to "Insert Your Song Title"
    set tracksRef to a reference to (tracks whose name is theTrack)

    set trackCount to count of tracksRef

    if trackCount is greater than 1 then
    set theArtists to artist of tracksRef
    set chooseArtist to (choose from list theArtists with title "Choose The Artist" with prompt ¬
    "Choose The Artist" OK button name "OK" cancel button name "Cancel") as text
    tell (every track whose name is theTrack and artist is chooseArtist)
    set skipped count to 0 -- Enter Your Desired Number
    end tell
    else
    tell its track theTrack
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end if
    end tell




    This following code should work if you want to reset skipped count of every track.



    tell application "iTunes"
    set allTracks to every track
    repeat with i from 1 to count of allTracks
    set thisItem to item i of allTracks
    tell thisItem
    try
    set its skipped count to 0 -- Enter Your Desired Number
    end try
    end tell
    end repeat
    end tell





    share|improve this answer















    This following AppleScript code works for me using the latest version of macOS Mojave.



    tell application "iTunes"
    tell its track "Insert Your Song Title"
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end tell




    The following code addresses the issue of multiple songs with the same name.



    tell application "iTunes"
    set theTrack to "Insert Your Song Title"
    set tracksRef to a reference to (tracks whose name is theTrack)

    set trackCount to count of tracksRef

    if trackCount is greater than 1 then
    set theArtists to artist of tracksRef
    set chooseArtist to (choose from list theArtists with title "Choose The Artist" with prompt ¬
    "Choose The Artist" OK button name "OK" cancel button name "Cancel") as text
    tell (every track whose name is theTrack and artist is chooseArtist)
    set skipped count to 0 -- Enter Your Desired Number
    end tell
    else
    tell its track theTrack
    set its skipped count to 0 -- Enter Your Desired Number
    end tell
    end if
    end tell




    This following code should work if you want to reset skipped count of every track.



    tell application "iTunes"
    set allTracks to every track
    repeat with i from 1 to count of allTracks
    set thisItem to item i of allTracks
    tell thisItem
    try
    set its skipped count to 0 -- Enter Your Desired Number
    end try
    end tell
    end repeat
    end tell






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited yesterday

























    answered yesterday









    wch1zpinkwch1zpink

    3,204520




    3,204520








    • 3





      What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

      – user3439894
      yesterday











    • I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

      – Chris R
      yesterday











    • @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

      – wch1zpink
      yesterday














    • 3





      What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

      – user3439894
      yesterday











    • I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

      – Chris R
      yesterday











    • @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

      – wch1zpink
      yesterday








    3




    3





    What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

    – user3439894
    yesterday





    What if you have two songs with the same name by different artists? (I know I do.) Only one of them is acted upon with your first code block. So you might want you add another tell block for that condition, e.g.: tell (every track whose name is "Insert Song Title" and artist is "Insert Artist Name")

    – user3439894
    yesterday













    I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

    – Chris R
    yesterday





    I ended up with a subtly different script than you gave, but the gist was from what you had. Thank you!

    – Chris R
    yesterday













    @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

    – wch1zpink
    yesterday





    @user3439894 I updated my post to take into consideration your suggestion. Nice catch!

    – wch1zpink
    yesterday













    4














    I noticed in the comment to your OP where you answered "Selected tracks" to dwightk's comment questions "All tracks? Or selected tracks?" So...



    To reset the Skips count of all selected tracks, simply use:



    tell application "iTunes" to set skipped count of selection to 0





    share|improve this answer




























      4














      I noticed in the comment to your OP where you answered "Selected tracks" to dwightk's comment questions "All tracks? Or selected tracks?" So...



      To reset the Skips count of all selected tracks, simply use:



      tell application "iTunes" to set skipped count of selection to 0





      share|improve this answer


























        4












        4








        4







        I noticed in the comment to your OP where you answered "Selected tracks" to dwightk's comment questions "All tracks? Or selected tracks?" So...



        To reset the Skips count of all selected tracks, simply use:



        tell application "iTunes" to set skipped count of selection to 0





        share|improve this answer













        I noticed in the comment to your OP where you answered "Selected tracks" to dwightk's comment questions "All tracks? Or selected tracks?" So...



        To reset the Skips count of all selected tracks, simply use:



        tell application "iTunes" to set skipped count of selection to 0






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered yesterday









        user3439894user3439894

        28k64563




        28k64563






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Different!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f353107%2fin-itunes-12-on-macos-how-can-i-reset-the-skip-count-of-a-song%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

            How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...