Re: Getting the "Share" URL?
Re: Getting the "Share" URL?
- Subject: Re: Getting the "Share" URL?
- From: "@lbutlr" <email@hidden>
- Date: Fri, 17 Feb 2017 15:29:13 -0700
On 2017-02-16 (12:24 MST), "Stockly, Ed" <email@hidden> wrote:
>
> tell application "iTunes"
> address of URL track 1
> end tell
No, that is not the current song. I’ve tried variations like:
set theURL to address of URL track of current track
set theURL to address of URL track current track
set theURL to address of URL of current track
set theURL to URL track of current track
etc.
Your code returns a feed URL in my case for a private podcast I subscribe to, not the iTunes share URL fro the current track.
URL track n [inh. track > item] : a track representing a network stream
elements contained by
library playlists, radio tuner playlists, subscription playlists, user playlists.
(so not contains by track)
--
Apple broke AppleScripting signatures in Mail.app, so no random signatures.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden