About AppleScript Support - Atelier-Shiori/hachidori Wiki

Starting in 1.1.6, Hachidori now have AppleScript scripting support. In short, it's possible to use currently playing information with other applications like IRC clients, twitter clients, and other third party applications.

Hachidori has three Applescript commands you can use. Here is all of these commands from the AppleScript scripting dictionary for Hachidori.

Hachidori Suite

getstatusv : Returns the currently playing status information.

getstatus

→ text : Currently playing information in JSON. If there is nothing playing, it will return a blank array.

Example:

{"id":"dungeon-ni-deai-wo-motomeru-no-wa-machigatteiru-no-darou-ka","scrobbledactualtitle":"Dungeon ni Deai wo Motomeru no wa Machigatteiru no Darou ka","source":"mplayer","scrobbledtitle":"Dungeon ni Deai wo Motomeru no wa Machigatteiru no Darou ka","scrobbledEpisode":"11"}

scrobblenowv : Tells Hachidori to perform an on demand scrobble.

toggleautoscrobblev : Tells Hachidori to toggle the auto scrobble state.