Fandom

MusicBee Wiki

An Autohotkey Script for Rating Your Songs Faster

180pages on
this wiki
Add New Page
Comments0 Share

Author: lnminente

I'm rating a lot of songs of my albums, and i thought i could write a script for doing it a bit faster.

Two options:

  • Central click over the seek bar to move to that position in the next song.
  • Press 1-5 leaving the mouse in the seek bar to rate the actual song and move to the next in that position.

It needs autohotkey [1]

Copy the following code and save it as MB_RatingHelper.ahk

;Rating helper for MusicBee
;===========================
;First leave the cursor over the seek bar (progressbar) and later...
;-If you do a central click, it will move to the next song in that position.
;-If you push 1-5 keys, also in the numeric pad, it will rate the current song
;  and move to the next sont in the indicated position of the seek bar.
;
;===========================
;
;Function wich mutes, rates, move to the next file, unmutes and left click the
;mouse with the intention of seeking.
MBRateNext( Stars = "" )
{
Send ^!{v}
Send ^!{%Stars%}
Sleep 100
Send ^{n}
Sleep 250
Send ^!{v}
Send {LButton}
}

;Hotkeys for the keys 1-5===========================
#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
1::
MBRateNext(1)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
2::
MBRateNext(2)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
3::
MBRateNext(3)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
4::
MBRateNext(4)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
5::
MBRateNext(5)
return

;Hotkeys for the Numpad keys 1-5===========================
#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
Numpad1::
MBRateNext(1)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
Numpad2::
MBRateNext(2)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
Numpad3::
MBRateNext(3)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
Numpad4::
MBRateNext(4)
return

#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
Numpad5::
MBRateNext(5)
return

;===========================
;Central click in seek bar for moving to the next song in that position.
#IfWinActive, ahk_class WindowsForms10.Window.8.app.0.378734a
MButton::
Send ^!{v}
Send ^{n}
Sleep 250
Send ^!{v}
Send {LButton}
return

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.