<?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:go='http://ns.gigaom.com/'
xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Scripting iWork: Numbers and Yahoo! Finance</title>
	<atom:link href="http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/feed/" rel="self" type="application/rss+xml" />
	<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/</link>
	<description></description>
	<lastBuildDate>Sat, 26 May 2012 13:00:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: onedave</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339617</link>
		<dc:creator><![CDATA[onedave]]></dc:creator>
		<pubDate>Mon, 11 Oct 2010 19:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339617</guid>
		<description><![CDATA[... and the code I was using for the URL was

set theURL to &quot;http://ichart.finance.yahoo.com/table.csv?s=&quot; &amp; company &amp; &quot;&amp;a=&quot; &amp; historymonth &amp; &quot;&amp;b=&quot; &amp; historyday &amp; &quot;&amp;c=&quot; &amp; historyyear &amp; &quot;&amp;d=&quot; &amp; todaymonth &amp; &quot;&amp;e=&quot; &amp; todayday &amp; &quot;&amp;f=&quot; &amp; todayyear &amp; &quot;&amp;g=d&amp;ignore=.csv&quot;

where the variables are previously defined earlier on within the script]]></description>
		<content:encoded><![CDATA[<p>&#8230; and the code I was using for the URL was</p>
<p>set theURL to &#8220;http://ichart.finance.yahoo.com/table.csv?s=&#8221; &amp; company &amp; &#8220;&amp;a=&#8221; &amp; historymonth &amp; &#8220;&amp;b=&#8221; &amp; historyday &amp; &#8220;&amp;c=&#8221; &amp; historyyear &amp; &#8220;&amp;d=&#8221; &amp; todaymonth &amp; &#8220;&amp;e=&#8221; &amp; todayday &amp; &#8220;&amp;f=&#8221; &amp; todayyear &amp; &#8220;&amp;g=d&amp;ignore=.csv&#8221;</p>
<p>where the variables are previously defined earlier on within the script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onedave</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339616</link>
		<dc:creator><![CDATA[onedave]]></dc:creator>
		<pubDate>Sun, 10 Oct 2010 18:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339616</guid>
		<description><![CDATA[First of all, great script, really handy. However I am trying to limit the amount of data gathered so that I can optimise the spreadsheet (i.e. I am plotting 200 day moving averages). 

My first approach involved changing the dates within the URL however for some reason the .csv still seems to be going back further than the dates (and therefore the address) specified.

The second approach is limiting the number of rows within the table however this returns an error as the n+1 row cannot be written and subsequently returns an error.

Any ideas??]]></description>
		<content:encoded><![CDATA[<p>First of all, great script, really handy. However I am trying to limit the amount of data gathered so that I can optimise the spreadsheet (i.e. I am plotting 200 day moving averages). </p>
<p>My first approach involved changing the dates within the URL however for some reason the .csv still seems to be going back further than the dates (and therefore the address) specified.</p>
<p>The second approach is limiting the number of rows within the table however this returns an error as the n+1 row cannot be written and subsequently returns an error.</p>
<p>Any ideas??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neuronsong</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339615</link>
		<dc:creator><![CDATA[neuronsong]]></dc:creator>
		<pubDate>Tue, 20 Apr 2010 22:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339615</guid>
		<description><![CDATA[&lt;p&gt;I just ran this script and got the following error:&lt;/p&gt;

&lt;p&gt;error &quot;Numbers got an error: Can’t make file &#092;&quot;Neuro HD:private:var:folders:vi:vi+3Y6xzEleHTqvVJVM7KU+++TI:TemporaryItems:yahoo-quote.csv&#092;&quot; of sheet 1 of document 1 into type file.&quot; number -1700 from file &quot;Neuro HD:private:var:folders:vi:vi+3Y6xzEleHTqvVJVM7KU+++TI:TemporaryItems:yahoo-quote.csv&quot; of sheet 1 of document 1 to file&lt;/p&gt;

&lt;p&gt;I modified the script to the following and it worked just fine for getting the initial data in.  I&#039;ve removed all comments for brevity:&lt;/p&gt;

&lt;p&gt;set tempFile to ((path to temporary items) as string) &amp; &quot;yahoo-quote.csv&quot;
display dialog &quot;Enter symbol:&quot; default answer &quot;AAPL&quot;
set company to text returned of result
tell application &quot;URL Access Scripting&quot;
    set theURL to &quot;http://ichart.finance.yahoo.com/table.csv?s=&quot; &amp; company &amp; &quot;&amp;a=00&amp;b=1&amp;c=2008&amp;g=d&amp;ignore=.csv&quot;
    download theURL to file tempFile
end tell
tell application &quot;Numbers&quot;
    activate
    open tempFile
end tell
tell application &quot;Finder&quot; to delete file tempFile&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>I just ran this script and got the following error:</p>
<p>error &#8220;Numbers got an error: Can’t make file &#92;&#8221;Neuro HD:private:var:folders:vi:vi+3Y6xzEleHTqvVJVM7KU+++TI:TemporaryItems:yahoo-quote.csv&#92;&#8221; of sheet 1 of document 1 into type file.&#8221; number -1700 from file &#8220;Neuro HD:private:var:folders:vi:vi+3Y6xzEleHTqvVJVM7KU+++TI:TemporaryItems:yahoo-quote.csv&#8221; of sheet 1 of document 1 to file</p>
<p>I modified the script to the following and it worked just fine for getting the initial data in.  I&#8217;ve removed all comments for brevity:</p>
<p>set tempFile to ((path to temporary items) as string) &amp; &#8220;yahoo-quote.csv&#8221;<br />
display dialog &#8220;Enter symbol:&#8221; default answer &#8220;AAPL&#8221;<br />
set company to text returned of result<br />
tell application &#8220;URL Access Scripting&#8221;<br />
    set theURL to &#8220;http://ichart.finance.yahoo.com/table.csv?s=&#8221; &amp; company &amp; &#8220;&amp;a=00&amp;b=1&amp;c=2008&amp;g=d&amp;ignore=.csv&#8221;<br />
    download theURL to file tempFile<br />
end tell<br />
tell application &#8220;Numbers&#8221;<br />
    activate<br />
    open tempFile<br />
end tell<br />
tell application &#8220;Finder&#8221; to delete file tempFile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bebe</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339614</link>
		<dc:creator><![CDATA[bebe]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 21:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339614</guid>
		<description><![CDATA[This script is such a huge help for me, thank you a lot!

But I have a problem with your script, because numbers gets confused with the cell-format and the decimal seperator.

Here is a screenshot of what I get: http://img402.imageshack.us/img402/7441/bildschirmfoto20100208ut.png

So stock quotes always have 2 decimals, but the &quot;.&quot; respectively the &quot;,&quot; (we use) is dropped. Furthermore numbers &quot;thinks that values in the format &quot;##.##&quot; must be calendar items and adds the current year after the values.

Can you please give me a hint? This might be because my German version  uses &quot;,&quot; as decimal seperator and not &quot;.&quot; how can I fix this?]]></description>
		<content:encoded><![CDATA[<p>This script is such a huge help for me, thank you a lot!</p>
<p>But I have a problem with your script, because numbers gets confused with the cell-format and the decimal seperator.</p>
<p>Here is a screenshot of what I get: <a href="http://img402.imageshack.us/img402/7441/bildschirmfoto20100208ut.png" rel="nofollow">http://img402.imageshack.us/img402/7441/bildschirmfoto20100208ut.png</a></p>
<p>So stock quotes always have 2 decimals, but the &#8220;.&#8221; respectively the &#8220;,&#8221; (we use) is dropped. Furthermore numbers &#8220;thinks that values in the format &#8220;##.##&#8221; must be calendar items and adds the current year after the values.</p>
<p>Can you please give me a hint? This might be because my German version  uses &#8220;,&#8221; as decimal seperator and not &#8220;.&#8221; how can I fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339613</link>
		<dc:creator><![CDATA[Frank]]></dc:creator>
		<pubDate>Tue, 19 Jan 2010 00:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339613</guid>
		<description><![CDATA[Under Snow Leopard 10.6.2 I get an error reading in the file

read file &quot;Macintosh HD:private:var:folders:pD:pD2LGZXXGUihwyJSXnoAxU+++TI:TemporaryItems:yahoo-quote&quot; of sheet 1 of document 1
		--&gt; error number -10004

Which can be corrected by telling the &quot;Finder&quot; application instead

-- read in the file contents
tell application &quot;Finder&quot;
	set quoteLines to paragraphs of (read file tempFile)
end tell]]></description>
		<content:encoded><![CDATA[<p>Under Snow Leopard 10.6.2 I get an error reading in the file</p>
<p>read file &#8220;Macintosh HD:private:var:folders:pD:pD2LGZXXGUihwyJSXnoAxU+++TI:TemporaryItems:yahoo-quote&#8221; of sheet 1 of document 1<br />
		&#8211;&gt; error number -10004</p>
<p>Which can be corrected by telling the &#8220;Finder&#8221; application instead</p>
<p>&#8211; read in the file contents<br />
tell application &#8220;Finder&#8221;<br />
	set quoteLines to paragraphs of (read file tempFile)<br />
end tell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quantitative finance collector</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339612</link>
		<dc:creator><![CDATA[Quantitative finance collector]]></dc:creator>
		<pubDate>Sat, 02 Jan 2010 07:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339612</guid>
		<description><![CDATA[Hi,
Can you provide more information on this?
Regards,
Jane]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can you provide more information on this?<br />
Regards,<br />
Jane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renee</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339611</link>
		<dc:creator><![CDATA[Renee]]></dc:creator>
		<pubDate>Wed, 26 Aug 2009 21:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339611</guid>
		<description><![CDATA[Thanks a million! It works fine]]></description>
		<content:encoded><![CDATA[<p>Thanks a million! It works fine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scripting iWork: Numbers and Yahoo! Finance &#124; Mac Affinity</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339610</link>
		<dc:creator><![CDATA[Scripting iWork: Numbers and Yahoo! Finance &#124; Mac Affinity]]></dc:creator>
		<pubDate>Mon, 27 Apr 2009 17:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339610</guid>
		<description><![CDATA[[...] Continued here: Scripting iWork: Numbers and Yahoo! Finance [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Continued here: Scripting iWork: Numbers and Yahoo! Finance [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trading With Common Sense</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339609</link>
		<dc:creator><![CDATA[Trading With Common Sense]]></dc:creator>
		<pubDate>Sat, 04 Apr 2009 13:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339609</guid>
		<description><![CDATA[This has made things lsightly better and easier for me to understand. Slowly but surely I am getting there. A damn site closer than I was to start with. Coding has never been one of my strong points so thanks for this. Cheers]]></description>
		<content:encoded><![CDATA[<p>This has made things lsightly better and easier for me to understand. Slowly but surely I am getting there. A damn site closer than I was to start with. Coding has never been one of my strong points so thanks for this. Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cult of Frank</title>
		<link>http://gigaom.com/apple/scripting-iwork-numbers-and-yahoo-finance/#comment-339608</link>
		<dc:creator><![CDATA[Cult of Frank]]></dc:creator>
		<pubDate>Fri, 13 Mar 2009 00:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=16643#comment-339608</guid>
		<description><![CDATA[Thanks for the script, my first foray into Applescripting so it was very helpful. I  tweaked your script to grab the stocks from and update a table with my investment portfolio to have the most recent closed stock price (which in turn updates charts, etc etc). Pretty slick though it would be more so if there was a way to avoid writing the data to a new table and creating a file and so on.

I would love to be able to take this data from multiple stocks and chart it out, especially against an index like the S&amp;P 500. 

Anyway, thanks again for this post.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the script, my first foray into Applescripting so it was very helpful. I  tweaked your script to grab the stocks from and update a table with my investment portfolio to have the most recent closed stock price (which in turn updates charts, etc etc). Pretty slick though it would be more so if there was a way to avoid writing the data to a new table and creating a file and so on.</p>
<p>I would love to be able to take this data from multiple stocks and chart it out, especially against an index like the S&amp;P 500. </p>
<p>Anyway, thanks again for this post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

