Retroactive icon indicating copy to clipboard operation
Retroactive copied to clipboard

Applescript support

Open shansell opened this issue 5 years ago • 3 comments
trafficstars

Is it possible for iTunes to support applescript? Currently there isn't an iTunes dictionary exposed, so I assume it won't respond to scripts.

shansell avatar May 22 '20 02:05 shansell

+1 million for this request.

I'm so happy to have iTunes back on Catalina — thank you! — but the absent AppleScript support unfortunately means more lost functionality than "you can't use any of Doug's Scripts."

AppleScript is how e.g. Neptunes, SizzlingKeys and most (all?) other controller utilities and/or last.fm scrobblers interact with iTunes. Without AppleScript support, none of them can see zombie iTunes on Catalina.

I've been using Doug's scripts and a certain set of external keyboard shortcuts to control iTunes since 2001, plus scrobbling my music plays to last.fm since 2005, so I miss all of this functionality terribly!

duncanbrook avatar Jul 27 '20 18:07 duncanbrook

+1 without Apple Script support iTunes is not complete (tested with 12.9.5 on Big Sur 11.1). Apart from this Retroactive works well, thank you!

autli avatar Jan 18 '21 16:01 autli

I have applescripts working just fine for me, custom scripts written/improved over years iTunes 12.9.5.5 + Big Sur 11.5.2 currently

tell application "iTunes"
	set mySelection to every track of playlist "random"
.....
end tell

@duncanbrook regarding Neptunes and other apps alike, I've been able to change/recompile them to work with iTunes check here https://github.com/cormiertyshawn895/Retroactive/issues/122 other mentionable apps that I've changed are SpotMenu, iTunes Volume Control, Song Rating.

let me know if this helps anyone 🤷‍♂️ i could start some forks for these and publish them, I'm not an objective-c/swift developer but I try to do minimal changes in order to make things work for my personal use

peterbuga avatar Aug 25 '21 07:08 peterbuga