• 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: Converting an array to formatted text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting an array to formatted text


  • Subject: Re: Converting an array to formatted text
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Sat, 15 Jul 2017 08:16:10 +0900

> On Jul 15, 2017, at 7:11, @lbutlr <email@hidden> wrote:
>
> I have the following code snippet:
>
> set theAlbum to album of current track
> set theArtist to artist of current track
> set myTracks to (name of every track of view of front window whose album
> contains theAlbum)
> set the clipboard to (myTracks as text)
>
> Which puts something like "Teen Age RiotSilver RocketThe Sprawl'Cross The
> BreezeEric's TripTotal TrashHey JoniProvidenceCandleRain
> KingKissabilityTrilogy" into the clipboard
>
> I'd like to have that list at least comma separated, though i'd like full
> control over it.
>
> Also, I would like to select based on album name AND artist, but I can't get
> that syntax right. Something along theses lines:

Could you do a selection first on Album and then reprocess that for the artist ?

Jean-Christophe
 _______________________________________________
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: 
 >Converting an array to formatted text (From: "@lbutlr" <email@hidden>)

  • Prev by Date: Converting an array to formatted text
  • Next by Date: Re: Converting an array to formatted text
  • Previous by thread: Converting an array to formatted text
  • Next by thread: Re: Converting an array to formatted text
  • Index(es):
    • Date
    • Thread