Re: Converting an array to formatted text
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