<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Doug&#039;s AppleScripts for iTunes</title>
	<atom:link href="http://dougscripts.com/itunes/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougscripts.com</link>
	<description>AppleScripts for iTunes</description>
	<lastBuildDate>Fri, 17 May 2013 16:35:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dougscripts.com' port='80' path='/itunes/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>More Airplay stuff</title>
		<link>http://dougscripts.com/itunes/2013/05/more-airplay-stuff/</link>
		<comments></comments>
		<pubDate>Fri, 17 May 2013 16:33:10 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Airplay]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/05/more-airplay-stuff/</guid>
		<description><![CDATA[Earlier, I posted a way to hardcode the Airplay devices in a script. But if you only have one computer, AirPort Express, or Apple TV  kind of Airplay device you can forego using the name property and do something like this, which sets my lone Apple TV as the current Airplay device:

tell application &#8220;iTunes&#8221;
	set [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier, I posted a way to hardcode the <strong>Airplay devices</strong> in a script. But if you only have one <strong>computer</strong>, <strong>AirPort Express</strong>, or <strong>Apple TV</strong>  <strong>kind</strong> of Airplay device<strong></strong> you can forego using the <strong>name</strong> property and do something like this, which sets my lone Apple TV as the current Airplay device:</p>
<div class="upmproto">
<p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>tell</b> <span style="color: #0433ff"><i>application</i></span> &#8220;iTunes&#8221;</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #812fdc"><span style="color: #000000"><span style="white-space:pre">	</span><b>set</b> </span>current AirPlay devices<span style="color: #000000"> <b>to</b> (<b>get</b> </span><span style="color: #0433ff"><i>AirPlay devices</i></span><span style="color: #000000"> <b>whose</b> </span>kind<span style="color: #000000"> <b>is</b> </span><span style="color: #5d3292">Apple TV</span><span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>end</b> <b>tell</b></p>
<p><a href="applescript://com.apple.scripteditor?action=new&#038;script=tell%20application%20%22iTunes%22%0D%09set%20current%20AirPlay%20devices%20to%20%28get%20AirPlay%20devices%20whose%20kind%20is%20Apple%20TV%29%0Dend%20tell" title="Click to open in AppleScript Editor. Works via most modern Mac browsers."><img src="http://dougscripts.com/itunes/pix/clickscriptsmall.jpg" alt="" /></a>
</div>
<p>Even though there is only a single item result from <em>Airplay devices whose kind is Apple TV</em>, it&#8217;s returned as a list which is what  c<strong>urrent AirPlay devices</strong> takes.</p>
<p>The other <strong>kind</strong> values, <strong>AirPlay device</strong> and <strong>unknown</strong> are too generic to use this way&#8212;unless you know you only have one of them.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>Hardcode Airplay Device Speakers</title>
		<link>http://dougscripts.com/itunes/2013/05/hardcode-airplay-device-speakers/</link>
		<comments></comments>
		<pubDate>Thu, 16 May 2013 21:22:27 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Airplay]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/05/hardcode-airplay-device-speakers/</guid>
		<description><![CDATA[Correspondent Matt Stevens sent the following, which illustrates how to hard code your Airplay device names:

tell application &#8220;iTunes&#8221;
	set computerSpeaker to (first AirPlay device whose name = &#8220;Computer&#8221;)
	set kitchenSpeaker to (first AirPlay device whose name = &#8220;Kitchen&#8221;)
	set current AirPlay devices to {computerSpeaker, kitchenSpeaker}
end tell


The current AirPlay devices application property accepts a list&#8212;even if the list is [...]]]></description>
			<content:encoded><![CDATA[<p>Correspondent Matt Stevens sent the following, which illustrates how to hard code your Airplay device names:</p>
<div class="upmproto">
<p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>tell</b> <span style="color: #0433ff"><i>application</i></span> &#8220;iTunes&#8221;</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>set</b> <span style="color: #4f8f00">computerSpeaker</span> <b>to</b> (<b>first</b> <span style="color: #0433ff"><i>AirPlay device</i></span> <b>whose</b> <span style="color: #812fdc">name</span> = &#8220;Computer&#8221;)</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>set</b> <span style="color: #4f8f00">kitchenSpeaker</span> <b>to</b> (<b>first</b> <span style="color: #0433ff"><i>AirPlay device</i></span> <b>whose</b> <span style="color: #812fdc">name</span> = &#8220;Kitchen&#8221;)</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #4f8f00"><span style="color: #000000"><span style="white-space:pre">	</span><b>set</b> </span><span style="color: #812fdc">current AirPlay devices</span><span style="color: #000000"> <b>to</b> {</span>computerSpeaker<span style="color: #000000">, </span>kitchenSpeaker<span style="color: #000000">}</span></p>
<p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>end</b> <b>tell</b></p>
<p><a href="applescript://com.apple.scripteditor?action=new&#038;script=tell%20application%20%22iTunes%22%0D%09set%20computerSpeaker%20to%20%28first%20AirPlay%20device%20whose%20name%20%3D%20%22Computer%22%29%0D%09set%20kitchenSpeaker%20to%20%28first%20AirPlay%20device%20whose%20name%20%3D%20%22Kitchen%22%29%0D%09set%20current%20AirPlay%20devices%20to%20%7BcomputerSpeaker%2C%20kitchenSpeaker%7D%0Dend%20tell" title="Click to open in AppleScript Editor. Works via most modern Mac browsers."><img src="http://dougscripts.com/itunes/pix/clickscriptsmall.jpg" alt="" /></a>
</div>
<p>The <strong>current AirPlay devices</strong> application property accepts a list&#8212;even if the list is only one item.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>Airplay device properties</title>
		<link>http://dougscripts.com/itunes/2013/05/airplay-device-properties/</link>
		<comments></comments>
		<pubDate>Thu, 16 May 2013 20:25:01 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Airplay]]></category>
		<category><![CDATA[iTunes 11]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/05/airplay-device-properties/</guid>
		<description><![CDATA[These are the new Airplay device properties accessible via AppleScript:
active (boolean, r/o) : is the device currently being played to?
available (boolean, r/o) : is the device currently available?
kind (computer/AirPort Express/Apple TV/AirPlay device/unknown, r/o) : the kind of the device
network address (text, r/o) : the network (MAC) address of the device
protected (boolean, r/o) : is the [...]]]></description>
			<content:encoded><![CDATA[<p>These are the new Airplay device properties accessible via AppleScript:</p>
<p><strong>active</strong> (boolean, <strong>r/o</strong>) : is the device currently being played to?<br />
<strong>available</strong> (boolean, <strong>r/o</strong>) : is the device currently available?<br />
<strong>kind</strong> (computer/AirPort Express/Apple TV/AirPlay device/unknown, <strong>r/o</strong>) : the kind of the device<br />
<strong>network address</strong> (text, <strong>r/o</strong>) : the network (MAC) address of the device<br />
<strong>protected</strong> (boolean, <strong>r/o</strong>) : is the device password- or passcode-protected?<br />
<strong>selected</strong> (boolean) : is the device currently selected?<br />
<strong>supports audio</strong> (boolean, <strong>r/o</strong>) : does the device support audio playback?<br />
<strong>supports video</strong> (boolean, <strong>r/o</strong>) : does the device support video playback?<br />
<strong>sound volume</strong> (integer) : the output volume for the device (0 = minimum, 100 = maximum)</p>
<p>Notice that all the properties are read-only (<strong>r/o</strong>) except for <strong>selected</strong> and <strong>sound volume</strong>, meaning only those two properties can be changed; the others can only be polled.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>Basic Airplay script</title>
		<link>http://dougscripts.com/itunes/2013/05/basic-airplay-script/</link>
		<comments></comments>
		<pubDate>Thu, 16 May 2013 19:54:37 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Airplay]]></category>
		<category><![CDATA[iTunes 11]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/05/basic-airplay-script/</guid>
		<description><![CDATA[This is a pretty basic use of the new Airplay stuff. Select and set your Airplay devices:

tell application &#8220;iTunes&#8221;
	set apNames to (get name of AirPlay devices)
	set apDevices to (get AirPlay devices)
	set rez to choose from list apNames with prompt &#8220;Select Airplay:&#8221; with multiple selections allowed
	if rez is false then return
	set apPlays to {}
	repeat with i [...]]]></description>
			<content:encoded><![CDATA[<p>This is a pretty basic use of the new Airplay stuff. Select and set your Airplay devices:</p>
<div class="upmproto">
<p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>tell</b> <span style="color: #0433ff"><i>application</i></span> &#8220;iTunes&#8221;</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>set</b> <span style="color: #4f8f00">apNames</span> <b>to</b> (<b>get</b> <span style="color: #812fdc">name</span> <b>of</b> <span style="color: #0433ff"><i>AirPlay devices</i></span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>set</b> <span style="color: #4f8f00">apDevices</span> <b>to</b> (<b>get</b> <span style="color: #0433ff"><i>AirPlay devices</i></span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #012fbe"><span style="color: #000000"><span style="white-space:pre">	</span><b>set</b> </span><span style="color: #4f8f00">rez</span><span style="color: #000000"> <b>to</b> </span><b>choose from list</b><span style="color: #000000"> </span><span style="color: #4f8f00">apNames</span><span style="color: #000000"> </span>with prompt<span style="color: #000000"> &#8220;Select Airplay:&#8221; <b>with</b> </span>multiple selections allowed</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>if</b> <span style="color: #4f8f00">rez</span> <b>is</b> <span style="color: #5d3292">false</span> <b>then</b> <b>return</b></p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>set</b> <span style="color: #4f8f00">apPlays</span> <b>to</b> {}</p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>repeat</b> <b>with</b> <span style="color: #4f8f00">i</span> <b>from</b> 1 <b>to</b> <span style="color: #812fdc">length</span> <b>of</b> <span style="color: #4f8f00">apNames</span></p>
<p style="margin: 0.0px 0.0px 0.0px 124.8px; text-indent: -124.9px; font: 12.0px Verdana"><span style="white-space:pre">	</span><span style="white-space:pre">	</span><b>if</b> <span style="color: #0433ff"><i>item</i></span> <span style="color: #4f8f00">i</span> <b>of</b> <span style="color: #4f8f00">apNames</span> <b>is</b> <b>in</b> <span style="color: #4f8f00">rez</span> <b>then</b> <b>set</b> <b>end</b> <b>of</b> <span style="color: #4f8f00">apPlays</span> <b>to</b> <span style="color: #0433ff"><i>item</i></span> <span style="color: #4f8f00">i</span> <b>of</b> <span style="color: #4f8f00">apDevices</span></p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana"><span style="white-space:pre">	</span><b>end</b> <b>repeat</b></p>
<p style="margin: 0.0px 0.0px 0.0px 83.2px; text-indent: -83.2px; font: 12.0px Verdana; color: #812fdc"><span style="color: #000000"><span style="white-space:pre">	</span><b>set</b> </span>current AirPlay devices<span style="color: #000000"> <b>to</b> </span><span style="color: #4f8f00">apPlays</span></p>
<p style="margin: 0.0px 0.0px 0.0px 41.6px; text-indent: -41.6px; font: 12.0px Verdana"><b>end</b> <b>tell</b></p>
<p><a href="applescript://com.apple.scripteditor?action=new&#038;script=tell%20application%20%22iTunes%22%0D%09set%20apNames%20to%20%28get%20name%20of%20AirPlay%20devices%29%0D%09set%20apDevices%20to%20%28get%20AirPlay%20devices%29%0D%09set%20rez%20to%20choose%20from%20list%20apNames%20with%20prompt%20%22Select%20Airplay%3A%22%20with%20multiple%20selections%20allowed%0D%09if%20rez%20is%20false%20then%20return%0D%09set%20apPlays%20to%20%7B%7D%0D%09repeat%20with%20i%20from%201%20to%20length%20of%20apNames%0D%09%09if%20item%20i%20of%20apNames%20is%20in%20rez%20then%20set%20end%20of%20apPlays%20to%20item%20i%20of%20apDevices%0D%09end%20repeat%0D%09set%20current%20AirPlay%20devices%20to%20apPlays%0Dend%20tell" title="Click to open in AppleScript Editor. Works via most modern Mac browsers."><img src="http://dougscripts.com/itunes/pix/clickscriptsmall.jpg" alt="" /></a>
</div>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>iTunes 11.0.3 Released</title>
		<link>http://dougscripts.com/itunes/2013/05/itunes-11-0-3-released/</link>
		<comments></comments>
		<pubDate>Thu, 16 May 2013 19:42:53 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[iTunes 11]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/05/itunes-11-0-3-released/</guid>
		<description><![CDATA[iTunes 11.0.3 was released today. Mods to the Mini player seem to be the most obvious. Under the hood, AppleScript has some new Airplay access.
First, there&#8217;s a new Airplay device class and AirPlay enabled and  current AirPlay devices application properties which should make scripting Airplay operations pretty easy. I&#8217;ll have some stuff later.
The track [...]]]></description>
			<content:encoded><![CDATA[<p>iTunes 11.0.3 was released today. Mods to the Mini player seem to be the most obvious. Under the hood, AppleScript has some new Airplay access.</p>
<p>First, there&#8217;s a new <strong>Airplay device</strong> class and <strong>AirPlay enabled</strong> and  <strong>current AirPlay devices</strong> application properties which should make scripting Airplay operations pretty easy. I&#8217;ll have some stuff later.</p>
<p>The <strong>track</strong> class gains a <strong>iTunes U</strong> property (&#8221;is this track an iTunes U episode?&#8221;).</p>
<p>More as it develops.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>UPDATED: File Renamer v2.2</title>
		<link>http://dougscripts.com/itunes/2013/04/updated-file-renamer-v2-2/</link>
		<comments></comments>
		<pubDate>Wed, 17 Apr 2013 16:08:07 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Managing Files]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/04/updated-file-renamer-v2-2/</guid>
		<description><![CDATA[File Renamer will rename the files of the selected tracks (or the files of the tracks in the selected playlist) with a filename pattern that is formulated using the tracks&#8217; tag data. Optionally, export a copy of the files to a chosen location and rename the files in that location.
This latest version fixes a problem [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dougscripts.com/itunes/scripts/ss.php?sp=filerenamer" title="Use tag data to formulate new file name for selected tracks' files">File Renamer</a> will rename the files of the selected tracks (or the files of the tracks in the selected playlist) with a filename pattern that is formulated using the tracks&#8217; tag data. Optionally, export a <em>copy</em> of the files to a chosen location and rename the files in <em>that</em> location.</p>
<p>This latest version fixes a problem with escaping file path delimiters, fixes an issue with closing the Preview window, and has other minor fixes and enhancements.</p>
<p>You can download it <a href="http://dougscripts.com/itunes/scripts/ss.php?sp=filerenamer" title="Use tag data to formulate new file name for selected tracks' files">here</a>.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>UPDATED: Export Selected With M3U v1.1</title>
		<link>http://dougscripts.com/itunes/2013/04/updated-export-selected-with-m3u-v1-1/</link>
		<comments></comments>
		<pubDate>Wed, 10 Apr 2013 11:48:54 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Car Audio]]></category>
		<category><![CDATA[Managing Files]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/04/updated-export-selected-with-m3u-v1-1/</guid>
		<description><![CDATA[I&#8217;ve been wrestling with how to get files onto a USB stick for my car&#8217;s audio system for some time now. The system can read files on a stick and then sort them by Songs, Artist, Album, Genre, Folders, and Playlist; but unless the files are loaded just-so, playlists are empty, data goes missing, files [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wrestling with how to get files onto a USB stick for my car&#8217;s audio system for <a href="http://dougscripts.com/itunes/2013/01/new-export-selected-with-m3u/">some time now</a>. The system can read files on a stick and then sort them by Songs, Artist, Album, Genre, Folders, and Playlist; but unless the files are loaded just-so, playlists are empty, data goes missing, files can&#8217;t be played. I&#8217;ve also heard from Correspondents who report similar difficulties with their devices and it&#8217;s obvious that there is no single standard convention for file storage among the many types of media players out there. Some players can&#8217;t read subfolders, some require subfolders; some need everything in a &#8220;MUSIC&#8221; folder; some need specialized file-naming; and so on. (My car can also read the data from various generations of iPods and iPhones but, again, not consistently.)</p>
<p><a href="http://dougscripts.com/itunes/scripts/ss.php?sp=exportselectedwm3u" title="Copy files of selected tracks or playlist to new location with M3U file referencing them">Export Selected With M3U</a> v1.1 will copy the files of the selected tracks to a user-chosen location&#8212;presumably some kind of portable media&#8212;and then create a M3U playlist file in the same location with relative file path references to the copied files.</p>
<p><img src="http://dougscripts.com/itunes/pix/exportselectedpanel.png" /></p>
<p>The options available should be able to contend with any configuration required by any particular player. This latest version adds  pattern-substitution file renaming and can optionally detect if the selected volume is FAT32 formatted which some players require.</p>
<p>More information, screenshot of results, and download is <a href="http://dougscripts.com/itunes/scripts/ss.php?sp=exportselectedwm3u" title="Copy files of selected tracks or playlist to new location with M3U file referencing them">here</a>.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>UPDATED: File Renamer v2.0</title>
		<link>http://dougscripts.com/itunes/2013/03/updated-file-renamer-v2-0/</link>
		<comments></comments>
		<pubDate>Thu, 14 Mar 2013 18:06:28 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Cocoa-AppleScript]]></category>
		<category><![CDATA[Managing Files]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/03/updated-file-renamer-v2-0/</guid>
		<description><![CDATA[Week or so ago this site got some hits from a post at Reddit which served to remind me that &#8220;Uh, this site&#8217;s been around for thirteen years.&#8221; One of the comments reported that &#8220;I used a file renamer script that renames files based on the tracks metadata. It changed all my .m4a tracks to [...]]]></description>
			<content:encoded><![CDATA[<p>Week or so ago this site got some hits from a post at <a href="http://www.reddit.com/r/mac/comments/19y2rf/this_always_bothers_me_when_trying_to_add_new/" title="Reddit: This always bothers me when trying to add new music to iTunes. Does anyone know if there's a way to delete words all-at-once, when editing the song title?">Reddit</a> which served to remind me that &#8220;Uh, this site&#8217;s been around for thirteen years.&#8221; One of the comments reported that <em>&#8220;I used a file renamer script that renames files based on the tracks metadata. It changed all my .m4a tracks to .mp3 and broke a lot of my library even though I told it to not replace file extensions.&#8221;</em> Sorry about that.</p>
<p>The original version of <a href="http://dougscripts.com/itunes/scripts/ss.php?sp=filerenamer" title="Use tag data to formulate new file name for selected tracks' files">File Renamer</a> (which was written by a fellow named Tino Heth) was posted in January 2002 and it hasn&#8217;t been updated since. Back then, there were <em>only</em> MP3s, so the script didn&#8217;t have to account for M4A. Unfortunately, it didn&#8217;t account for any other extensions either. So I thought if people are still talking about it after all these years I&#8217;d better update it.</p>
<p><img src="http://dougscripts.com/itunes/pix/filerenamer.png" /></p>
<p>You can download it <a href="http://dougscripts.com/itunes/scripts/ss.php?sp=filerenamer">here</a>.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>iTunes 11.0.2 Released</title>
		<link>http://dougscripts.com/itunes/2013/02/itunes-11-0-2-released/</link>
		<comments></comments>
		<pubDate>Tue, 19 Feb 2013 23:06:40 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[iTunes 11]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/02/itunes-11-0-2-released/</guid>
		<description><![CDATA[Apple released iTunes 11.0.2 today. It fixes some iCloud/iTunes Match playlist issues, adds a Composer View, and other fixes and performance enhancements. More as it develops.
]]></description>
			<content:encoded><![CDATA[<p>Apple released <a href="http://www.apple.com/itunes/download/">iTunes 11.0.2</a> today. It fixes some iCloud/iTunes Match playlist issues, adds a Composer View, and other fixes and performance enhancements. More as it develops.</p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
		<item>
		<title>NEW: Search Results to Playlist</title>
		<link>http://dougscripts.com/itunes/2013/01/new-search-results-to-playlist/</link>
		<comments></comments>
		<pubDate>Wed, 30 Jan 2013 13:52:26 +0000</pubDate>
		<dc:creator>dougscripts</dc:creator>
				<category><![CDATA[Cocoa-AppleScript]]></category>
		<category><![CDATA[Managing Tracks]]></category>

		<guid isPermaLink="false">http://dougscripts.com/itunes/2013/01/new-search-results-to-playlist/</guid>
		<description><![CDATA[I&#8217;ve been using a variation of this search script for a while so I thought I&#8217;d update it with some customization settings nailed on and post it (there&#8217;s a simple snippet version of it here). The thing is: I often want my iTunes search results to go directly to a playlist so I can get [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using a variation of this search script for a while so I thought I&#8217;d update it with some customization settings nailed on and post it (there&#8217;s a simple snippet version of it <a href="http://dougscripts.com/itunes/scripts/missingmenu.php#1027">here</a>). The thing is: I often want my iTunes search results to go directly to a playlist so I can get right to work on them there, usually tag editing. Without some automation this is typically a multi-stage grind comprised of searching, selecting track results, making new playlist, naming new playlist, locating and selecting the tracks <em>again</em> when new playlist gets focus (<em>stab!</em>), putting tracks into playlist by any one of various means, and then forgetting why I was searching for these tracks in the first place. (Related memory-loss issue: <a href="http://dougscripts.com/itunes/2011/10/name-new-playlist-from-selection/">Name New Playlist From Selection</a>.)</p>
<p><a href="http://dougscripts.com/itunes/scripts/ss.php?sp=searchresultstoplaylist" title="Emulates iTunes search and copies results to a playlist">Search Results to Playlist</a> puts a floating window over iTunes that provides the ability to search iTunes and copy the track results to a designated Results Playlist.</p>
<p><img src="http://dougscripts.com/itunes/pix/searchresultstoplaylist.png" /></p>
<p>It can search the entire library, the selected playlist, or any of the categories (Music, Movies, Books, etc) for text in All, Name, Artist, Album, or Composer tags and then copy the results to a playlist. The script will create this Results Playlist if necessary. If the playlist already exists then the track results can replace its current contents or may be appended to it.</p>
<p><a href="http://dougscripts.com/itunes/scripts/ss.php?sp=searchresultstoplaylist" title="Go to this script's entry and download page">more</a></p>
<hr/><small><a href="http://dougscripts.com/itunes/dougsupdated.rss" title="Take me to your reader">30 Most Recent RSS Feed</a> | <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Script Stats Page</a> by <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Name&op=y">Name</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Most Recent&op=y">Most Recent</a>, <a href="http://dougscripts.com/itunes/scripts/scriptcount.php?sortBy=Download Count&op=y">Download Count</a></small>]]></content:encoded>
			</item>
	</channel>
</rss>
