Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Just-me

macrumors newbie
Original poster
Jun 6, 2008
17
1
MD
Hello and thanks in advance for any help.
I'm just starting trying to learn Applescript.

After I run the following script:

Code:
tell application "iTunes"
	name of track 2 of playlist "2010"
end tell

How do I copy the result (name of the track) to the clipboard?
Thanks.
JM
 
Last edited by a moderator:
Do this:
Code:
tell application "iTunes"
	set the clipboard to name of track 2 of playlist "2010" as string
end tell
 
Thanks Intell, appreciate your help. (Wish life was that easy and simple)... :)
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.