<?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>Synesthesia &#187; Scripting</title>
	<atom:link href="http://www.synesthesia.co.uk/blog/archives/tag/scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.synesthesia.co.uk/blog</link>
	<description>Notes on stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:11:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Links for 2010-03-18</title>
		<link>http://www.synesthesia.co.uk/blog/archives/2010/03/18/links-for-2010-03-18/</link>
		<comments>http://www.synesthesia.co.uk/blog/archives/2010/03/18/links-for-2010-03-18/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 22:00:00 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[LinkLog]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[cio]]></category>
		<category><![CDATA[cloud-computing]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[it-v-business]]></category>
		<category><![CDATA[Kanban]]></category>
		<category><![CDATA[refactoring]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[scriptom]]></category>
		<category><![CDATA[Scrum]]></category>
		<category><![CDATA[socialmedia]]></category>
		<category><![CDATA[technical-debt]]></category>

		<guid isPermaLink="false">http://www.synesthesia.co.uk/blog/archives/2010/03/18/links-for-2010-03-18/</guid>
		<description><![CDATA[Bookmarks I&#8217;ve shared on 2010-03-18: Using Credit Limits to Constrain &#8220;Development on Margin&#8221; agile technical-debt refactoring Should IT keep its distance from social media? socialmedia it-v-business The Total CIO: The Many Faces of the CIO cio Windows Azure Platform Training Roadmap architecture cloud-computing azure Using Groovy Scriptom to report on OutlookGroovy scriptom allows Java-based scripting [...]]]></description>
			<content:encoded><![CDATA[<p>Bookmarks I&#8217;ve shared on  2010-03-18:</p>
<ul>
<li><a href="http://theagileexecutive.com/2010/03/01/using-credit-limits-to-constrain-development-on-margin">Using Credit Limits to Constrain &ldquo;Development on Margin&rdquo;</a>
<p><a href="http://delicious.com/synesthesia/agile">agile</a> <a href="http://delicious.com/synesthesia/technical-debt">technical-debt</a> <a href="http://delicious.com/synesthesia/refactoring">refactoring</a> </li>
<li><a href="http://www.information-age.com/blog/1205933/should-it-keep-its-distance-from-social-media.thtml">Should IT keep its distance from social media?</a>
<p><a href="http://delicious.com/synesthesia/socialmedia">socialmedia</a> <a href="http://delicious.com/synesthesia/it-v-business">it-v-business</a> </li>
<li><a href="http://totalcio.blogspot.com/2010/03/many-faces-of-cio.html">The Total CIO: The Many Faces of the CIO</a>
<p><a href="http://delicious.com/synesthesia/cio">cio</a> </li>
<li><a href="http://blogs.msdn.com/billzack/archive/2010/03/13/windows-azure-platform-training-roadmap.aspx">Windows Azure Platform Training Roadmap</a>
<p><a href="http://delicious.com/synesthesia/architecture">architecture</a> <a href="http://delicious.com/synesthesia/cloud-computing">cloud-computing</a> <a href="http://delicious.com/synesthesia/azure">azure</a> </li>
<li><a href="http://blog.kartikshah.info/2010/03/using-groovy-scriptom-to-report-on.html">Using Groovy Scriptom to report on Outlook</a><br />Groovy scriptom allows Java-based scripting of Windows ActiveX and COM objects<br /><a href="http://delicious.com/synesthesia/groovy">groovy</a> <a href="http://delicious.com/synesthesia/scriptom">scriptom</a> <a href="http://delicious.com/synesthesia/scripting">scripting</a> </li>
<li><a href="http://agile.dzone.com/articles/kanbans-not-better-scrum-its?mkt_tok=3RkMMJWWfF9wsRonuaXAZKXonjHpfsX+7e0vT/rn28M3109ad+rmPBy90IUB">Kanban&#8217;s Not Better than Scrum, It&#8217;s Just Smaller</a>
<p><a href="http://delicious.com/synesthesia/kanban">kanban</a> <a href="http://delicious.com/synesthesia/agile">agile</a> <a href="http://delicious.com/synesthesia/scrum">scrum</a> </li>
</ul>
<p class="deliciouslink"><a href="http://del.icio.us/synesthesia" title="See all my bookmarks on del.icio.us"><img src="http://www.synesthesia.co.uk/images/deliciousicon.jpg" alt="Delicious icon" /></a>&nbsp;I am <a href="http://del.icio.us/synesthesia" title="See all my bookmarks on del.icio.us">Synesthesia</a></p>
<p class="deliciouslink"><a href="http://del.icio.us/network?add=synesthesia" title="Add me to your del.icio.us network"><img src="http://www.synesthesia.co.uk/images/add.gif" alt="" /></a>&nbsp;<a href="http://del.icio.us/network?add=synesthesia" title="Add me to your del.icio.us network">Add me to your network</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.synesthesia.co.uk/blog/archives/2010/03/18/links-for-2010-03-18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links Roundup for 2007-09-07</title>
		<link>http://www.synesthesia.co.uk/blog/archives/2007/09/07/links-115/</link>
		<comments>http://www.synesthesia.co.uk/blog/archives/2007/09/07/links-115/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 17:05:01 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[LinkLog]]></category>
		<category><![CDATA[coscripter]]></category>
		<category><![CDATA[del.icio.us]]></category>
		<category><![CDATA[deperimeterisation]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[googleapps]]></category>
		<category><![CDATA[InformationSecurity]]></category>
		<category><![CDATA[jerichoforum]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Shared bookmarks for del.icio.us user Synesthesia on 2007-09-07 Google Library:Keywords: googleapps, googlelibrary, books 10 Micro-Blogging Tools Compared:Keywords: blogging/technology, socialsoftware SlySoft AnyDVD: AnyDVD works in the background to automatically remove the copy protection of a DVD movie as soon as it&#8217;s inserted into the drive, allowing you then to backup the movie using a DVD backup [...]]]></description>
			<content:encoded><![CDATA[<p>Shared bookmarks for <a href="http://del.icio.us/">del.icio.us</a> user <a href="http://del.icio.us/synesthesia"> Synesthesia</a> on 2007-09-07</p>
<ul>
<li><a href="http://googleblog.blogspot.com/2007/09/collect-share-and-discover-books.html" title="http://googleblog.blogspot.com/2007/09/collect-share-and-discover-books.html">Google Library</a>:Keywords: <a href="http://del.icio.us/synesthesia/googleapps">googleapps</a>, <a href="http://del.icio.us/synesthesia/googlelibrary">googlelibrary</a>, <a href="http://del.icio.us/synesthesia/books">books</a></li>
<li><a href="http://www.readwriteweb.com/archives/10_micro-blogging_tools_compared.php" title="http://www.readwriteweb.com/archives/10_micro-blogging_tools_compared.php">10 Micro-Blogging Tools Compared</a>:Keywords: <a href="http://del.icio.us/synesthesia/blogging/technology">blogging/technology</a>, <a href="http://del.icio.us/synesthesia/socialsoftware">socialsoftware</a></li>
<li><a href="http://www.slysoft.com/en/anydvd.html" title="http://www.slysoft.com/en/anydvd.html">SlySoft AnyDVD</a>:<br />
AnyDVD works in the background to automatically remove the copy protection of a DVD movie as soon as it&#8217;s inserted into the drive, allowing you then to backup the movie using a DVD backup tool such as CloneDVD and CloneDVD mobile. You can also remove t<br />
Keywords: <a href="http://del.icio.us/synesthesia/DVD">DVD</a></li>
<li><a href="http://preview.delicious.com/" title="http://preview.delicious.com/">You&#8217;re invited to the Delicious Preview</a>:Keywords: <a href="http://del.icio.us/synesthesia/del.icio.us">del.icio.us</a></li>
<li><a href="http://www.opengroup.org/jericho/commandments_v1.2.pdf" title="http://www.opengroup.org/jericho/commandments_v1.2.pdf">Jericho Forum &#8220;Commandments&#8221; (pdf)</a>:<br />
The Jericho Forum commandments define both the areas and the principles that must be&lt;br&gt;observed when planning for a de-perimeterized future. Whilst building on “good security”, the commandments specifically address those areas of security that are ne<br />
Keywords: <a href="http://del.icio.us/synesthesia/jerichoforum">jerichoforum</a>, <a href="http://del.icio.us/synesthesia/deperimeterisation">deperimeterisation</a></li>
<li><a href="http://www.longtail.com/the_long_tail/2007/09/the-black-wire-.html" title="http://www.longtail.com/the_long_tail/2007/09/the-black-wire-.html">The Long Tail: The Black Wire and the White Wire</a>:<br />
Chris Anderson (&#8220;The Long tail&#8221;) on a symbolic pair of network cables in his office, and some thoughts from me on why it isn&#8217;t the right way forward.<br />
Keywords: <a href="http://del.icio.us/synesthesia/mycomments">mycomments</a>, <a href="http://del.icio.us/synesthesia/deperimeterisation">deperimeterisation</a>, <a href="http://del.icio.us/synesthesia/JerichoForum">JerichoForum</a></li>
<li><a href="http://services.alphaworks.ibm.com/coscripter/browse/about" title="http://services.alphaworks.ibm.com/coscripter/browse/about">CoScripter</a>:<br />
CoScripter is a system for recording, automating, and sharing processes performed in a web browser such as printing photos online, requesting a vacation hold for postal mail, or checking bank account information. Instructions for processes are recorded an<br />
Keywords: <a href="http://del.icio.us/synesthesia/firefox/extensions">firefox/extensions</a>, <a href="http://del.icio.us/synesthesia/scripting">scripting</a>, <a href="http://del.icio.us/synesthesia/coscripter">coscripter</a>, <a href="http://del.icio.us/synesthesia/via:jonudell">via:jonudell</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.synesthesia.co.uk/blog/archives/2007/09/07/links-115/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links Roundup for 2007-02-08</title>
		<link>http://www.synesthesia.co.uk/blog/archives/2007/02/09/links-81/</link>
		<comments>http://www.synesthesia.co.uk/blog/archives/2007/02/09/links-81/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 23:00:00 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[LinkLog]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[del.icio.us]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[martial-arts]]></category>
		<category><![CDATA[PKM]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Stikkit]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Shared bookmarks for del.icio.us user Synesthesia on 2007-02-08 London Pedestrian Routemap: The first aim of the London Pedestrian Routemap is to encourage walking in London. It does this by providing a simple, memorable picture of key walking routes in the Capital. At present there is no such map. The Routemap shows how key places connect [...]]]></description>
			<content:encoded><![CDATA[<p>Shared bookmarks for <a href="http://del.icio.us/">del.icio.us</a> user <a href="http://del.icio.us/synesthesia"> Synesthesia</a> on 2007-02-08</p>
<ul>
<li><a href="http://www.spacesyntax.com/main-nav/projects-and-clients/london-pedestrian-routemap.aspx" title="http://www.spacesyntax.com/main-nav/projects-and-clients/london-pedestrian-routemap.aspx">London Pedestrian Routemap</a>:<br />
The first aim of the London Pedestrian Routemap is to encourage walking in London. It does this by providing a simple, memorable picture of key walking routes in the Capital. At present there is no such map. The Routemap shows how key places connect by st<br />
Keywords: <a href="http://del.icio.us/synesthesia/London">London</a>, <a href="http://del.icio.us/synesthesia/Maps">Maps</a></li>
<li><a href="http://www.microsoft.com/technet/scriptcenter/resources/qanda/may05/hey0525.mspx" title="http://www.microsoft.com/technet/scriptcenter/resources/qanda/may05/hey0525.mspx">How to extract paragraphs from a Word document based on styles</a>:
<p>Keywords: <a href="http://del.icio.us/synesthesia/MS_Office">MS_Office</a>, <a href="http://del.icio.us/synesthesia/Scripting">Scripting</a></li>
<li><a href="http://www.stoweboyd.com/message/2007/01/in_the_time_of__1.html" title="http://www.stoweboyd.com/message/2007/01/in_the_time_of__1.html">In The Time Of &#8220;Me-First&#8221;: Stikkit</a>:<br />
Stowe Boyd uses Stikkit as an example of an approach to permissions on social tools, where the permissions start with a user, and are erlated to an item of information, not a group or workspace.<br />
Keywords: <a href="http://del.icio.us/synesthesia/Collaboration">Collaboration</a>, <a href="http://del.icio.us/synesthesia/Social_Software">Social_Software</a>, <a href="http://del.icio.us/synesthesia/DataCentredSecurity">DataCentredSecurity</a>, <a href="http://del.icio.us/synesthesia/Stikkit">Stikkit</a></li>
<li><a href="http://www.jessirae.com/blog/articles/2006/10/05/how-to-post-to-two-separate-del-icio-us-accounts-easily" title="http://www.jessirae.com/blog/articles/2006/10/05/how-to-post-to-two-separate-del-icio-us-accounts-easily">How to Post to Two Separate Del.icio.us Accounts Easily</a>:
<p>Keywords: <a href="http://del.icio.us/synesthesia/del.icio.us">del.icio.us</a>, <a href="http://del.icio.us/synesthesia/Personal_Productivity">Personal_Productivity</a>, <a href="http://del.icio.us/synesthesia/PKM">PKM</a>, <a href="http://del.icio.us/synesthesia/Blogging">Blogging</a></li>
<li><a href="http://www.43folders.com/2007/02/07/stikkit-introduction/" title="http://www.43folders.com/2007/02/07/stikkit-introduction/">Stikkit: Magic words, functional emails, and a handy cheat sheet</a>:<br />
Merlin Mann @ 43 folders on Stikkit &#8211; a new Web2.0, social notes and organising thingy<br />
Keywords: <a href="http://del.icio.us/synesthesia/GTD">GTD</a>, <a href="http://del.icio.us/synesthesia/WEB_2.0">WEB_2.0</a>, <a href="http://del.icio.us/synesthesia/Social_Software">Social_Software</a>, <a href="http://del.icio.us/synesthesia/Stikkit">Stikkit</a></li>
<li><a href="http://ejmas.com/jnc/jncart_barton-wright_0200.htm" title="http://ejmas.com/jnc/jncart_barton-wright_0200.htm">JNC, Barton-Wright, Self Defence with a cane part 1</a>:<br />
From Pearson’s Magazine, 11 (January 1901), 35-44<br />
Keywords: <a href="http://del.icio.us/synesthesia/MartialArts">MartialArts</a>, <a href="http://del.icio.us/synesthesia/History">History</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.synesthesia.co.uk/blog/archives/2007/02/09/links-81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links Roundup for 2006-10-22</title>
		<link>http://www.synesthesia.co.uk/blog/archives/2006/10/22/links-58/</link>
		<comments>http://www.synesthesia.co.uk/blog/archives/2006/10/22/links-58/#comments</comments>
		<pubDate>Sun, 22 Oct 2006 22:00:02 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[LinkLog]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MindManager]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Shared bookmarks for del.icio.us user Synesthesia on 2006-10-22 How to Create a MindManager 6 Add-in: Using a sample C# project Keywords: MindManager/Scripting, C# OpenDocument4all: Info and tools about OpenDocument including C# library Keywords: OpenOffice, C#, Scripting]]></description>
			<content:encoded><![CDATA[<p>Shared bookmarks for <a href="http://del.icio.us/">del.icio.us</a> user <a href="http://del.icio.us/synesthesia"> Synesthesia</a> on 2006-10-22</p>
<ul>
<li><a title="http://www.mindjet.com/us/devzone/6/how_to_create_mm6_addin_cs_using_sample_project/" href="http://www.mindjet.com/us/devzone/6/how_to_create_mm6_addin_cs_using_sample_project/">How to Create a MindManager 6 Add-in</a>:<br />
Using a sample C# project<br />
Keywords: <a href="http://del.icio.us/synesthesia/MindManager/Scripting">MindManager/Scripting</a>, <a href="http://del.icio.us/synesthesia/C#">C#</a></li>
<li><a title="http://www.opendocument4all.com/" href="http://www.opendocument4all.com/">OpenDocument4all</a>:<br />
Info and tools about OpenDocument including C# library<br />
Keywords: <a href="http://del.icio.us/synesthesia/OpenOffice">OpenOffice</a>, <a href="http://del.icio.us/synesthesia/C#">C#</a>, <a href="http://del.icio.us/synesthesia/Scripting">Scripting</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.synesthesia.co.uk/blog/archives/2006/10/22/links-58/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem with OpenOffice and Ruby</title>
		<link>http://www.synesthesia.co.uk/blog/archives/2005/03/25/problem-with-openoffice-and-ruby/</link>
		<comments>http://www.synesthesia.co.uk/blog/archives/2005/03/25/problem-with-openoffice-and-ruby/#comments</comments>
		<pubDate>Fri, 25 Mar 2005 08:13:38 +0000</pubDate>
		<dc:creator>Julian</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Software_Development]]></category>

		<guid isPermaLink="false">http://www.synesthesia.co.uk/blog/archives/2005/03/25/problem-with-openoffice-and-ruby/</guid>
		<description><![CDATA[OpenOffice OLE Bridge produces error when trying to set properties from Ruby]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to automate <a href="http://www.openoffice.org/">OpenOffice</a> from <a href="http://www.ruby-lang.org/">Ruby</a> to carry out a batch format conversion of approximately 100 documents. I&#8217;ve researched a fair amount on the web, especially <a href="http://www.rubygarden.org/ruby/ruby?OpenOffice">here</a>, <a href="http://www.oooforum.org/forum/viewtopic.phtml?t=3510">here</a> and <a href="http://www.oooforum.org/forum/viewtopic.phtml?t=9815">here</a>, but I&#8217;m still having problems.</p>
<p>Specifically all works until I try and save a document using parameters (to tell OpenOffice to use an output filter), at which point the OLE Bridge is giving an error.  </p>
<p>If anyone reading this has found and cured a similar problem I&#8217;d be interested in your thoughts. Code snip follows:<br />
<span id="more-468"></span><br />
Ignore the escaping of the &#8221; signs &#8211; this seems to be some oddity of my WordPress installation&#8230;</p>
<pre>

# oo tests

require 'win32ole'

$serviceManager = WIN32OLE.new("com.sun.star.ServiceManager")
$desktop = $serviceManager.createInstance("com.sun.star.frame.Desktop")

def newWriterDocument()
    document = $desktop.loadComponentFromURL("private:factory/swriter", "_blank", 0, [])
   document
end

def test()
   filter = "writer_pdf_Export"
   fprops = makeProperties("FilterName" => filter)
   document = newWriterDocument
   text = document.GetText
   cursor = text.createTextCursor
   text.insertString(cursor, "Hello World", 0)
   oURL = "file:///c|/test.pdf"
   document.storeAsUrl(oURL, fprops) # this line fails with OLE error
   #store a document in standard format - document.storeAsUrl(oURL, []) - works
end

def makeProperty(name, value)
   property = $serviceManager.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
   property["Name"] = name
   property["Value"] = value
   property
end

def makeProperties(hash)
   properties = []
   hash.each { | key, value |
   properties < < makeProperty(key, value)
     }
   properties
end

begin
  test
rescue

ensure

end
</pre>
<p><ins datetime="2005-03-29T19:00:46-01:00">Question also <a href="http://www.oooforum.org/forum/viewtopic.phtml?t=18607">posted</a> to OpenOffice.org forum.</ins></p>
<p><ins datetime="2005-03-29T22:16:16-01:00">OpenOffice.org forum came up with the answer:<br />
Replace </p>
<pre>document.storeAsUrl(oURL, fprops) # this line fails with OLE error</pre>
<p>with</p>
<pre>document.storeToUrl(oURL, fprops) # this line works!</pre>
<p></ins></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.synesthesia.co.uk/blog/archives/2005/03/25/problem-with-openoffice-and-ruby/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

