<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: iTunes scripts I can&#8217;t live without</title>
	<atom:link href="http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/</link>
	<description>Things programmers do that they know shouldn&#039;t work but they try anyway, and which sometimes actually work, such as recompiling everything.</description>
	<lastBuildDate>Fri, 29 Jan 2010 12:57:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ian Jones</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2580</link>
		<dc:creator>Ian Jones</dc:creator>
		<pubDate>Thu, 11 Mar 2010 11:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2580</guid>
		<description>Is it possible to have a script that finds all &quot;orphaned&quot; songs (listing not linked to file) and move them to a playlist so that I can work through them to re-link them? I&#039;ve seen scripts that find the orphans, but then just writes the list to a text file.</description>
		<content:encoded><![CDATA[<p>Is it possible to have a script that finds all &#8220;orphaned&#8221; songs (listing not linked to file) and move them to a playlist so that I can work through them to re-link them? I&#8217;ve seen scripts that find the orphans, but then just writes the list to a text file.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: L8on</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2409</link>
		<dc:creator>L8on</dc:creator>
		<pubDate>Thu, 11 Mar 2010 05:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2409</guid>
		<description>just a thought. I saved it as an application on my desktop. Can you make the label on the  turn green when it is on &quot;one&quot; and turn red when it is on &quot;all&quot;? That would be great and would instantly let me know mid-song whats the status.

In the middle of a song, I might think, okay this is the last time I wanna hear it but dont want to have to pull up iTunes to change it if in fact it was on repeat. 

Thanks again!</description>
		<content:encoded><![CDATA[<p>just a thought. I saved it as an application on my desktop. Can you make the label on the  turn green when it is on &#8220;one&#8221; and turn red when it is on &#8220;all&#8221;? That would be great and would instantly let me know mid-song whats the status.</p>
<p>In the middle of a song, I might think, okay this is the last time I wanna hear it but dont want to have to pull up iTunes to change it if in fact it was on repeat. </p>
<p>Thanks again!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: L8on</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2408</link>
		<dc:creator>L8on</dc:creator>
		<pubDate>Thu, 11 Mar 2010 04:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2408</guid>
		<description>THANK YOU VERY MUCH! I ran it over and over again with iTunes in the background and it does EXACTLY what I want it to do. I just wish Apple would&#039;ve build a toggle into the mini controller. Thank you so very much! Is there any way there can be a way of knowing whether it&#039;s on &quot;one&quot; or &quot;all&quot;? To check I&#039;d have to switch to iTunes which kind defeats the purpose. Either way, I&#039;m very happy with it.

How did you get so good at script writing?

I&#039;ll definitely be reading the blog more often...</description>
		<content:encoded><![CDATA[<p>THANK YOU VERY MUCH! I ran it over and over again with iTunes in the background and it does EXACTLY what I want it to do. I just wish Apple would&#8217;ve build a toggle into the mini controller. Thank you so very much! Is there any way there can be a way of knowing whether it&#8217;s on &#8220;one&#8221; or &#8220;all&#8221;? To check I&#8217;d have to switch to iTunes which kind defeats the purpose. Either way, I&#8217;m very happy with it.</p>
<p>How did you get so good at script writing?</p>
<p>I&#8217;ll definitely be reading the blog more often&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Constantinos</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2401</link>
		<dc:creator>Constantinos</dc:creator>
		<pubDate>Thu, 11 Mar 2010 15:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2401</guid>
		<description>This is ENTIRELY untested, I just typed it up in this textbox. But it should be something along these lines:

&lt;pre lang=&quot;applescript&quot;&gt;
property oldRepeatType : &quot;&quot;

tell application &quot;iTunes&quot;
	if oldRepeatType is &quot;&quot; then
		set oldRepeatType to all
	end if
	set repeatType to get song repeat of current playlist
	if repeatType is not one then
		set oldRepeatType to repeatType
		set song repeat of current playlist to one
	else
		set song repeat of current playlist to oldRepeatType
	end if
end tell
&lt;/pre&gt;

Let me know if it works for you, or what errors it produces.</description>
		<content:encoded><![CDATA[<p>This is ENTIRELY untested, I just typed it up in this textbox. But it should be something along these lines:</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">property</span> oldRepeatType : <span style="color: #009900;">&quot;&quot;</span>
&nbsp;
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iTunes&quot;</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> oldRepeatType <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #009900;">&quot;&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">set</span> oldRepeatType <span style="color: #ff0033; font-weight: bold;">to</span> all
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
	<span style="color: #ff0033; font-weight: bold;">set</span> repeatType <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #ff0033; font-weight: bold;">get</span> song <span style="color: #ff0033; font-weight: bold;">repeat</span> <span style="color: #ff0033; font-weight: bold;">of</span> current playlist
	<span style="color: #ff0033; font-weight: bold;">if</span> repeatType <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #ff0033;">not</span> one <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #ff0033; font-weight: bold;">set</span> oldRepeatType <span style="color: #ff0033; font-weight: bold;">to</span> repeatType
		<span style="color: #ff0033; font-weight: bold;">set</span> song <span style="color: #ff0033; font-weight: bold;">repeat</span> <span style="color: #ff0033; font-weight: bold;">of</span> current playlist <span style="color: #ff0033; font-weight: bold;">to</span> one
	<span style="color: #ff0033; font-weight: bold;">else</span>
		<span style="color: #ff0033; font-weight: bold;">set</span> song <span style="color: #ff0033; font-weight: bold;">repeat</span> <span style="color: #ff0033; font-weight: bold;">of</span> current playlist <span style="color: #ff0033; font-weight: bold;">to</span> oldRepeatType
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></div></div>

<p>Let me know if it works for you, or what errors it produces.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: L8on</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2398</link>
		<dc:creator>L8on</dc:creator>
		<pubDate>Thu, 11 Mar 2010 01:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2398</guid>
		<description>You have great scrips! However, I can&#039;t seem to find the one I want anywhere on the internet. I am looking for a script I can run to enable single repeat of a song until I run it again [or run another script to go back to repeat all].

I am often on a random playlist and hear a song I want to hear again and don&#039;t want to have to switch to iTunes to turn repeat on and then off again. I also don&#039;t want to just rewind to beginning as the song doesn&#039;t get the &quot;play count&quot;.

Then I would be able to trigger this script with a keystroke.

ANY SUGGESTIONS!

thanks!</description>
		<content:encoded><![CDATA[<p>You have great scrips! However, I can&#8217;t seem to find the one I want anywhere on the internet. I am looking for a script I can run to enable single repeat of a song until I run it again [or run another script to go back to repeat all].</p>
<p>I am often on a random playlist and hear a song I want to hear again and don&#8217;t want to have to switch to iTunes to turn repeat on and then off again. I also don&#8217;t want to just rewind to beginning as the song doesn&#8217;t get the &#8220;play count&#8221;.</p>
<p>Then I would be able to trigger this script with a keystroke.</p>
<p>ANY SUGGESTIONS!</p>
<p>thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2305</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 11 Mar 2010 18:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2305</guid>
		<description>I&#039;m new to apple scripts and have tried reading up on where to put these to get them running.

But the more i search the more questions i came up with. But, here are my top 2. 

1. where do i place the scripts 

2. they are auto running correct? in other words i dont have to run the script every time i start itunes correct?</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to apple scripts and have tried reading up on where to put these to get them running.</p>
<p>But the more i search the more questions i came up with. But, here are my top 2. </p>
<p>1. where do i place the scripts </p>
<p>2. they are auto running correct? in other words i dont have to run the script every time i start itunes correct?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Constantinos</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2057</link>
		<dc:creator>Constantinos</dc:creator>
		<pubDate>Thu, 11 Mar 2010 01:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2057</guid>
		<description>Note on the skipping script: There was a bug where if you tried to skip as soon as the song started, or twice in less than a second, it would skip to the same quarter of the song. If you&#039;re experiencing this problem, copy the updated script above.</description>
		<content:encoded><![CDATA[<p>Note on the skipping script: There was a bug where if you tried to skip as soon as the song started, or twice in less than a second, it would skip to the same quarter of the song. If you&#8217;re experiencing this problem, copy the updated script above.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Constantinos</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2039</link>
		<dc:creator>Constantinos</dc:creator>
		<pubDate>Thu, 11 Mar 2010 03:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2039</guid>
		<description>I&#039;d love to help, but I can&#039;t see how such an applescript would work without having the script be resident and running... Which actually might be a solution.

How about trying something like this:
&lt;pre lang=&#039;applescript&#039;&gt;
tell application &quot;iTunes&quot;
	play
	repeat with i from 1 to 1000
		next track
		delay 15
	end repeat
end tell
&lt;/pre&gt;

where 1 to 1000 is just a &quot;large loop&quot;, I&#039;m sure there&#039;s an easy way to have an infinite loop in applescript but it doesn&#039;t pop in my head right now. Also the &quot;delay 15&quot; part will let the current song play for 15 seconds before moving on to the next track. Modify to your enjoyment.

This is obviously really crude and can probably handle a lot of improvement, but I don&#039;t see a way of getting rid of the loop/delay part of the program which is what bugs me. To stop this you&#039;ll have to terminate the applescript.</description>
		<content:encoded><![CDATA[<p>I&#8217;d love to help, but I can&#8217;t see how such an applescript would work without having the script be resident and running&#8230; Which actually might be a solution.</p>
<p>How about trying something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;iTunes&quot;</span>
	play
	<span style="color: #ff0033; font-weight: bold;">repeat</span> <span style="color: #ff0033; font-weight: bold;">with</span> i <span style="color: #ff0033; font-weight: bold;">from</span> <span style="color: #000000;">1</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">1000</span>
		next track
		delay <span style="color: #000000;">15</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">repeat</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></div></div>

<p>where 1 to 1000 is just a &#8220;large loop&#8221;, I&#8217;m sure there&#8217;s an easy way to have an infinite loop in applescript but it doesn&#8217;t pop in my head right now. Also the &#8220;delay 15&#8243; part will let the current song play for 15 seconds before moving on to the next track. Modify to your enjoyment.</p>
<p>This is obviously really crude and can probably handle a lot of improvement, but I don&#8217;t see a way of getting rid of the loop/delay part of the program which is what bugs me. To stop this you&#8217;ll have to terminate the applescript.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daryl</title>
		<link>http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/comment-page-1/#comment-2034</link>
		<dc:creator>Daryl</dc:creator>
		<pubDate>Thu, 11 Mar 2010 22:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cneophytou.com/2007/07/24/itunes-scripts-i-cant-live-without/#comment-2034</guid>
		<description>I wanted a simple apple script that will simply play the first anyNumber of seconds of a song so I can play my music in an &#039;intro mode&#039; feel at night with dashboard open so my lyrics fetch widget can get all the lyrics for my iTunes lib.  If you could help me with some applescripting (I am pretty good at programming, but I don&#039;t yet understand applescript.  The language is too close to human language, I think I need a language to be obscure to understand it ;) ) It would be in your debt.  

Thanks in advance</description>
		<content:encoded><![CDATA[<p>I wanted a simple apple script that will simply play the first anyNumber of seconds of a song so I can play my music in an &#8216;intro mode&#8217; feel at night with dashboard open so my lyrics fetch widget can get all the lyrics for my iTunes lib.  If you could help me with some applescripting (I am pretty good at programming, but I don&#8217;t yet understand applescript.  The language is too close to human language, I think I need a language to be obscure to understand it <img src='http://www.cneophytou.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) It would be in your debt.  </p>
<p>Thanks in advance</p>]]></content:encoded>
	</item>
</channel>
</rss>
