• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting the "Share" URL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Getting the "Share" URL? (From: "@lbutlr" <email@hidden>)
 >Re: Getting the "Share" URL? (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: AppleScript Droplet seems to receive strange file list
  • Next by Date: Re: AppleScript Droplet seems to receive strange file list
  • Previous by thread: Re: Getting the "Share" URL?
  • Next by thread: Re: Getting the "Share" URL?
  • Index(es):
    • Date
    • Thread