<?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>A Digital Workflow for Academic Research</title>
	<atom:link href="http://www.organognosi.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.organognosi.com</link>
	<description>Tools for Knowledge and Knowledge for Tools</description>
	<lastBuildDate>Sat, 06 Apr 2013 22:53:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Send to clipboard the selected text in the browser, the source URL and the current date and time</title>
		<link>http://www.organognosi.com/send-to-clipboard-the-selected-text-in-the-browser-the-source-url-and-the-current-date-and-time/</link>
		<comments>http://www.organognosi.com/send-to-clipboard-the-selected-text-in-the-browser-the-source-url-and-the-current-date-and-time/#comments</comments>
		<pubDate>Fri, 05 Apr 2013 17:20:23 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MediaWiki]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=702</guid>
		<description><![CDATA[<p>Almost every day I find something interesting in a web site which I usually copy and paste it inside a wiki page. Moreover, I insert the URL of the web page and the current time and date. An example is the following: AppleScript&#8217;s &#8220;big advantage&#8221; over other scripting languages (which, frankly are much better to [...]</p><p>The post <a href="http://www.organognosi.com/send-to-clipboard-the-selected-text-in-the-browser-the-source-url-and-the-current-date-and-time/">Send to clipboard the selected text in the browser, the source URL and the current date and time</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Almost every day I find something interesting in a web site which I usually copy and paste it inside a wiki page. Moreover, I insert the URL of the web page and the current time and date. An example is the following: </p>
<blockquote>
<p>AppleScript&#8217;s &#8220;big advantage&#8221; over other scripting languages (which, frankly are much better to use for most tasks) is that it can automate the action of other applications on your Mac (as long as the developer has provided an AppleScript dictionary). (http://stackoverflow.com/questions/1317497/what-is-applescript-and-what-is-it-used-for/1317498#1317498 &#8211; [[2013-02-22]], 12:56)</p>
</blockquote>
<p>I enclose the date in double brackets because that way a link is created to the page with the title &#8220;2013-02-22&#8243; in which I keep my journal for the specific day. An additional bonus created from the link to the specific date is that when I visit the wiki page of that date, I can see a list of all of the pages that have a link to that page. This list is a good indicator of the subjects that I dealt with that day! This list is created by the following <a href="https://www.mediawiki.org/wiki/Extension:DynamicPageList_%28third-party%29">DynamicPageList</a> query: {{#dpl: linksto = 2013-02-22 }}</p>
<p></p>
<p>Naturally, I wanted to automate the whole process so I created one bookmarklet for Firefox and one AppleScript for Google Chrome. The only difference between the two is that the AppleScript sends all the data automatically to clipboard while in Firefox the data will be shown in a separate window and then you need to press control + C and close the widow by pressing either Ok or Cancel.</p>
<p>The AppleScript is the following:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="applescript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Google Chrome&quot;</span></div></li><li class="li1"><div class="de1">	<span class="kw3">tell</span> <span class="kw2">front</span> <span class="kw1">window</span></div></li><li class="li1"><div class="de1">		<span class="kw3">set</span> theClip <span class="kw3">to</span> active <span class="kw1">tab</span> execute javascript <span class="st0">&quot;(function(){clip = window.getSelection();</span></div></li><li class="li1"><div class="de1"><span class="st0">url = location.href;</span></div></li><li class="li2"><div class="de2"><span class="st0">var brackets = <span class="es0">\&quot;</span><span class="es0">\\</span>[<span class="es0">\\</span>[<span class="es0">\&quot;</span>;</span></div></li><li class="li1"><div class="de1"><span class="st0">var myDate = new Date();</span></div></li><li class="li1"><div class="de1"><span class="st0">var year = myDate.getFullYear();</span></div></li><li class="li1"><div class="de1"><span class="st0">var month = myDate.getMonth();</span></div></li><li class="li1"><div class="de1"><span class="st0">if(month &lt; = 9)</span></div></li><li class="li2"><div class="de2"><span class="st0">	month = month + 1</span></div></li><li class="li1"><div class="de1"><span class="st0">    month = '0'+month;</span></div></li><li class="li1"><div class="de1"><span class="st0">var day= myDate.getDate();</span></div></li><li class="li1"><div class="de1"><span class="st0">if(day &lt; = 9)</span></div></li><li class="li1"><div class="de1"><span class="st0">    day = '0'+day;</span></div></li><li class="li2"><div class="de2"><span class="st0">var prettyDate = year +'-'+ month +'-'+ day;</span></div></li><li class="li1"><div class="de1"><span class="st0">var minutes = myDate.getMinutes();</span></div></li><li class="li1"><div class="de1"><span class="st0">if(minutes &lt; = 9)</span></div></li><li class="li1"><div class="de1"><span class="st0">	minutes = '0' + minutes; </span></div></li><li class="li1"><div class="de1"><span class="st0">var hours = myDate.getHours();</span></div></li><li class="li2"><div class="de2"><span class="st0">if(hours &lt; = 9)</span></div></li><li class="li1"><div class="de1"><span class="st0">	hours = '0' + hours;</span></div></li><li class="li1"><div class="de1"><span class="st0">theFinalString = clip + <span class="es0">\&quot;</span> (<span class="es0">\&quot;</span> + url + <span class="es0">\&quot;</span> - <span class="es0">\&quot;</span> + brackets + prettyDate + <span class="es0">\&quot;</span>]] <span class="es0">\&quot;</span> + hours + <span class="es0">\&quot;</span>:<span class="es0">\&quot;</span> + minutes + <span class="es0">\&quot;</span>)<span class="es0">\&quot;</span>;</span></div></li><li class="li1"><div class="de1"><span class="st0">return theFinalString;}());&quot;</span></div></li><li class="li1"><div class="de1">	<span class="kw3">end</span> <span class="kw3">tell</span></div></li><li class="li2"><div class="de2">	<span class="kw1">set <span class="kw2">the</span> clipboard to</span> theClip</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li></ol></pre></div></div>
<p>
<a href="applescript://com.apple.scripteditor?action=new&#038;script=tell+application+%22Google+Chrome%22%0D%09tell+front+window%0D%09%09set+theClip+to+active+tab+execute+javascript+%22%28function%28%29%7Bclip+%3D+window.getSelection%28%29%3B%0Durl+%3D+location.href%3B%0Dvar+brackets+%3D+%5C%22%5C%5C%5B%5C%5C%5B%5C%22%3B%0D%0Dvar+myDate+%3D+new+Date%28%29%3B%0Dvar+year+%3D+myDate.getFullYear%28%29%3B%0Dvar+month+%3D+myDate.getMonth%28%29%3B%0Dif%28month+%3C%3D+9%29%0D%09month+%3D+month+%2B+1%0D++++month+%3D+%270%27%2Bmonth%3B%0Dvar+day%3D+myDate.getDate%28%29%3B%0Dif%28day+%3C%3D+9%29%0D++++day+%3D+%270%27%2Bday%3B%0Dvar+prettyDate+%3D+year+%2B%27-%27%2B+month+%2B%27-%27%2B+day%3B%0Dvar+minutes+%3D+myDate.getMinutes%28%29%3B%0Dif%28minutes+%3C%3D+9%29%0D%09minutes+%3D+%270%27+%2B+minutes%3B+%0D+%0Dvar+hours+%3D+myDate.getHours%28%29%3B%0Dif%28hours+%3C%3D+9%29%0D%09hours+%3D+%270%27+%2B+hours%3B+%0DtheFinalString+%3D+clip+%2B+%5C%22+%28%5C%22+%2B+url+%2B+%5C%22+-+%5C%22+%2B+brackets+%2B+prettyDate+%2B+%5C%22%5D%5D+%5C%22+%2B+hours+%2B+%5C%22%3A%5C%22+%2B+minutes+%2B+%5C%22%29%5C%22%3B%0Dreturn+theFinalString%3B%7D%28%29%29%3B%22%0D%09end+tell%0D%09set+the+clipboard+to+theClip%0Dend+tell">Click here to open the source code in AppleScript Editor</a></p>
<p>The bookmarklet is the following:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="javascript" style="font-family:monospace;"><ol><li class="li1"><div class="de1">javascript<span class="sy0">:</span><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span>clip<span class="sy0">%</span>20<span class="sy0">=%</span>20window.<span class="me1">getSelection</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20url<span class="sy0">%</span>20<span class="sy0">=%</span>20location.<span class="me1">href</span><span class="sy0">;%</span>20var<span class="sy0">%</span>20currentdate<span class="sy0">%</span>20<span class="sy0">=%</span>20new<span class="sy0">%</span>20Date<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20var<span class="sy0">%</span>20weekdayNames<span class="sy0">%</span>20<span class="sy0">=%</span>20new<span class="sy0">%</span>20Array<span class="br0">&#40;</span><span class="st0">&quot;Sunday&quot;</span><span class="sy0">,%</span>20<span class="st0">&quot;Monday&quot;</span><span class="sy0">,%</span>20<span class="st0">&quot;Tuesday&quot;</span><span class="sy0">,%</span>20<span class="st0">&quot;Wednesday&quot;</span><span class="sy0">,%</span>20<span class="st0">&quot;Thursday&quot;</span><span class="sy0">,%</span>20<span class="st0">&quot;Friday&quot;</span><span class="sy0">,%</span>20<span class="st0">&quot;Sat&quot;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20var<span class="sy0">%</span>20weekday<span class="sy0">%</span>20<span class="sy0">=%</span>20weekdayNames<span class="br0">&#91;</span>currentdate.<span class="me1">getDay</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#93;</span><span class="sy0">;%</span>20var<span class="sy0">%</span>20brackets<span class="sy0">%</span>20<span class="sy0">=%</span>20<span class="st0">&quot;[[&quot;</span><span class="sy0">;%</span>20<span class="sy0">%</span>20var<span class="sy0">%</span>20myDate<span class="sy0">%</span>20<span class="sy0">=%</span>20new<span class="sy0">%</span>20Date<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20<span class="sy0">%</span>20var<span class="sy0">%</span>20year<span class="sy0">%</span>20<span class="sy0">=%</span>20myDate.<span class="me1">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20var<span class="sy0">%</span>20month<span class="sy0">%</span>20<span class="sy0">=%</span>20myDate.<span class="me1">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20if<span class="br0">&#40;</span>month<span class="sy0">%</span>20<span class="sy0">&lt;=%</span>209<span class="br0">&#41;</span><span class="sy0">%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20month<span class="sy0">%</span>20<span class="sy0">=%</span>20<span class="st0">'0'</span><span class="sy0">+</span>month<span class="sy0">;%</span>20var<span class="sy0">%</span>20day<span class="sy0">=%</span>20myDate.<span class="me1">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20if<span class="br0">&#40;</span>day<span class="sy0">%</span>20<span class="sy0">&lt;=%</span>209<span class="br0">&#41;</span><span class="sy0">%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20day<span class="sy0">%</span>20<span class="sy0">=%</span>20<span class="st0">'0'</span><span class="sy0">+</span>day<span class="sy0">;%</span>20var<span class="sy0">%</span>20prettyDate<span class="sy0">%</span>20<span class="sy0">=%</span>20year<span class="sy0">%</span>20<span class="sy0">+</span><span class="st0">'-'</span><span class="sy0">+%</span>20month<span class="sy0">%</span>20<span class="sy0">+</span><span class="st0">'-'</span><span class="sy0">+%</span>20day<span class="sy0">;%</span>20var<span class="sy0">%</span>20minutes<span class="sy0">%</span>20<span class="sy0">=%</span>20myDate.<span class="me1">getMinutes</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20if<span class="br0">&#40;</span>minutes<span class="sy0">%</span>20<span class="sy0">&lt;=%</span>209<span class="br0">&#41;</span><span class="sy0">%</span>20minutes<span class="sy0">%</span>20<span class="sy0">=%</span>20<span class="st0">'0'</span><span class="sy0">%</span>20<span class="sy0">+%</span>20minutes<span class="sy0">;%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20var<span class="sy0">%</span>20hours<span class="sy0">%</span>20<span class="sy0">=%</span>20myDate.<span class="me1">getHours</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;%</span>20if<span class="br0">&#40;</span>hours<span class="sy0">%</span>20<span class="sy0">&lt;=%</span>209<span class="br0">&#41;</span><span class="sy0">%</span>20hours<span class="sy0">%</span>20<span class="sy0">=%</span>20<span class="st0">'0'</span><span class="sy0">%</span>20<span class="sy0">+%</span>20hours<span class="sy0">;%</span>20<span class="sy0">%</span>20<span class="sy0">%</span>20theFinalString<span class="sy0">%</span>20<span class="sy0">=%</span>20clip<span class="sy0">%</span>20<span class="sy0">+%</span>20<span class="st0">&quot;%20(&quot;</span><span class="sy0">%</span>20<span class="sy0">+%</span>20url<span class="sy0">%</span>20<span class="sy0">+%</span>20<span class="st0">&quot;%20-%20&quot;</span><span class="sy0">%</span>20<span class="sy0">+%</span>20brackets<span class="sy0">%</span>20<span class="sy0">+%</span>20prettyDate<span class="sy0">%</span>20<span class="sy0">+%</span>20<span class="st0">&quot;]]%20&quot;</span><span class="sy0">%</span>20<span class="sy0">+%</span>20weekday<span class="sy0">%</span>20<span class="sy0">+%</span>20<span class="st0">&quot;,%20&quot;</span><span class="sy0">%</span>20<span class="sy0">+%</span>20hours<span class="sy0">%</span>20<span class="sy0">+%</span>20<span class="st0">&quot;:&quot;</span><span class="sy0">%</span>20<span class="sy0">+%</span>20minutes<span class="sy0">%</span>20<span class="sy0">+%</span>20<span class="st0">&quot;)&quot;</span><span class="sy0">;%</span>20prompt<span class="br0">&#40;</span><span class="st0">'Copy%20text%20to%20clipboard'</span><span class="sy0">,</span>theFinalString<span class="br0">&#41;</span><span class="sy0">;</span><span class="br0">&#125;</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li></ol></pre></div></div>
<p>The post <a href="http://www.organognosi.com/send-to-clipboard-the-selected-text-in-the-browser-the-source-url-and-the-current-date-and-time/">Send to clipboard the selected text in the browser, the source URL and the current date and time</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/send-to-clipboard-the-selected-text-in-the-browser-the-source-url-and-the-current-date-and-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Presentation: Digital Tools for Academic Research</title>
		<link>http://www.organognosi.com/presentation-digital-tools-for-academic-research/</link>
		<comments>http://www.organognosi.com/presentation-digital-tools-for-academic-research/#comments</comments>
		<pubDate>Tue, 05 Mar 2013 12:04:51 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=685</guid>
		<description><![CDATA[<p>Digital Tools for Academic Research by Tomorrow I will have the honor to make a presentation at Saint Edmund&#8217;s college of the University of Cambridge.</p><p>The post <a href="http://www.organognosi.com/presentation-digital-tools-for-academic-research/">Presentation: Digital Tools for Academic Research</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p style=" margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block;">   <a title="View Digital Tools for Academic Research on Scribd" href="http://www.scribd.com/doc/129428012/Digital-Tools-for-Academic-Research"  style="text-decoration: underline;" >Digital Tools for Academic Research</a> by   <a title="View 's profile on Scribd" href="undefined"  style="text-decoration: underline;" ></a> </p>
<p><iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/129428012/content?start_page=1&#038;view_mode=scroll" data-auto-height="false" data-aspect-ratio="undefined" scrolling="no" id="doc_24673" width="100%" height="600" frameborder="0"></iframe></p>
<p>Tomorrow I will have the honor to make a presentation at Saint Edmund&#8217;s college of the University of Cambridge.</p>
<p><img id="presentation-stedmunds" src="http://www.organognosi.com/wp-content/uploads/2013/03/Digital_Tools_for_Academic_Research_-_Sidiropoulos_John-Small.png" alt="Presentation - St Edmunds" title="" width="560" height="762"/></p>
<p>The post <a href="http://www.organognosi.com/presentation-digital-tools-for-academic-research/">Presentation: Digital Tools for Academic Research</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/presentation-digital-tools-for-academic-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My favorite MediaWiki extensions</title>
		<link>http://www.organognosi.com/my-favorite-mediawiki-extensions/</link>
		<comments>http://www.organognosi.com/my-favorite-mediawiki-extensions/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 21:22:26 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[MediaWiki]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=665</guid>
		<description><![CDATA[<p>DynamicPageList is the single most useful extension that I use. It creates mainly list of pages satisfying various criteria (e.g. category, notcategory, linksfrom, linksto, title, uses, usedby, namespace). For more information you can read its extensive manual. Labeled Section Transclusion allows selective translusion of marked-off sections of text. When it is used in combination with [...]</p><p>The post <a href="http://www.organognosi.com/my-favorite-mediawiki-extensions/">My favorite MediaWiki extensions</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<ul>
<li><a href="http://www.mediawiki.org/wiki/Extension:DynamicPageList_%28third-party%29">DynamicPageList</a> is the single most useful extension that I use. It creates mainly list of pages satisfying various criteria (e.g. category, notcategory, linksfrom, linksto, title, uses, usedby, namespace). For more information you can read its extensive <a href="http://semeb.com/dpldemo/index.php?title=DPL:Manual">manual</a>.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion">Labeled Section Transclusion</a> allows selective <a href="http://en.wikipedia.org/wiki/Transclusion">translusion</a> of marked-off sections of text. When it is used in combination with DynamicPageList you can synthesize the existent wiki content and create new dynamic pages according to specific criteria.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:MathJax">MathJax</a> provides an easily installed way for typesetting LaTeX formulae in MediaWiki pages.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:Wiki2LaTeX">Wiki2LaTeX</a> converts Mediawiki syntax into LaTeX.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:WolframCDF">WolframCDF</a> allows cdf files generated by <a href="http://www.wolfram.co.uk/mathematica/">Mathematica</a> to be shown in MediaWiki pages.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:BreadCrumbs">BreadCrumbs</a> shows a trail of visited pages during the user&#8217;s session.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:QuickLink">QuickLink</a> makes easier and faster the searching and insertion of internal links.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi">SyntaxHighlight_GeSHi</a> displays formatted source code written in more than 120 programming languages.</li>
<li><a href="http://www.mediawiki.org/wiki/ReplaceText">ReplaceText</a> provides a special page to allow administrators to do a global string find-and-replace on both the text and titles of the wiki&#8217;s content pages.</li>
<li><a href="http://www.mediawiki.org/wiki/Extension:MultiBoilerplate">MultiBoilerplate</a> allows a boilerplate to be selected from a drop down box located above the edit form when editing non-existent pages.</li>
<li><a href="http://www.mediawiki.org/wiki/Semantic_MediaWiki">Semantic MediaWiki</a> helps to search, organise, tag, browse, evaluate, and share the wiki&#8217;s content.</li>
</ul>
<p>The post <a href="http://www.organognosi.com/my-favorite-mediawiki-extensions/">My favorite MediaWiki extensions</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/my-favorite-mediawiki-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control the brightness of your monitor with DarkAdapted</title>
		<link>http://www.organognosi.com/control-the-brightness-of-your-monitor-with-darkadapte/</link>
		<comments>http://www.organognosi.com/control-the-brightness-of-your-monitor-with-darkadapte/#comments</comments>
		<pubDate>Mon, 26 Nov 2012 14:48:19 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=640</guid>
		<description><![CDATA[<p>At night I find the minimum brightness level of my MacBook Pro too intense. In order to solve this problem, I use the DarkAdapted app. I have created the following custom presets: Each preset corresponds to a different level of ambient darkness (dark, dart+, dark++, dark+++, dark++++ and brightness reduction (70%, 60%, 50%, 40%, 30%). [...]</p><p>The post <a href="http://www.organognosi.com/control-the-brightness-of-your-monitor-with-darkadapte/">Control the brightness of your monitor with DarkAdapted</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><html><br />
<body><br />
At night I find the minimum brightness level of my MacBook Pro too intense. In order to solve this problem, I use the <a href="http://www.macupdate.com/app/mac/12134/darkadapted">DarkAdapted</a> app. </p>
<p><img src="http://www.organognosi.com/wp-content/uploads/2012/11/DarkAdapted-Window.jpeg" alt="DardAdapted" /></p>
<p>I have created the following custom presets:</p>
<p><img src="http://www.organognosi.com/wp-content/uploads/2012/11/DarkAdapted-Dark-levels.jpg" alt="My custom settings" /></p>
<p>Each preset corresponds to a different level of ambient darkness (dark, dart+, dark++, dark+++, dark++++ and brightness reduction (70%, 60%, 50%, 40%, 30%). The absolute color values for each level are shown below:</p>
<table border="1">
<tbody>
<tr>
<th>Level</th>
<th>Red &nbsp;</th>
<th>Green &nbsp;</th>
<th>Blue &nbsp;</th>
</tr>
<tr>
<td>Dark 70%</td>
<td>180</td>
<td>180</td>
<td>180</td>
</tr>
<tr>
<td>Dark+ 60%</td>
<td>150</td>
<td>150</td>
<td>150</td>
</tr>
<tr>
<td>Dark++ 50%</td>
<td>125</td>
<td>125</td>
<td>125</td>
</tr>
<tr>
<td>Dark+++ 40%</td>
<td>100</td>
<td>100</td>
<td>100</td>
</tr>
<tr>
<td>Dark++++ 30% &nbsp; &nbsp;</td>
<td>75</td>
<td>75</td>
<td>75</td>
</tr>
</tbody>
</table>
<p></p>
<p>
Unfortunately, the developer has <a href="http://news-gazette.com/obituaries/2011-05-15/stephen-hutson.html">passed away</a> and the official website is down. However, you can still download the app from <a href="http://darkadapted.en.softonic.com/mac">here</a>. The standard version of the DarkAdapted is free. At the moment you cannot buy the Pro version.</p>
<p></body><br />
</html></p>
<p>The post <a href="http://www.organognosi.com/control-the-brightness-of-your-monitor-with-darkadapte/">Control the brightness of your monitor with DarkAdapted</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/control-the-brightness-of-your-monitor-with-darkadapte/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to copy the frontmost Skim PDF document to Dropbox and iCloud</title>
		<link>http://www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud/</link>
		<comments>http://www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud/#comments</comments>
		<pubDate>Sun, 25 Nov 2012 01:42:10 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[IPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[PDF Expert]]></category>
		<category><![CDATA[PDFpen]]></category>
		<category><![CDATA[Skim]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=592</guid>
		<description><![CDATA[<p>For reading PDF files on my iPad I use most of the time the PDF Expert app combined with Dropbox. Moreover, I am experimenting with PDFpen apps for iOS and OS X which use iCloud in order to synchronize the PDF files and their annotations. Undoubtedly, the automatic and on the fly synchronization of my [...]</p><p>The post <a href="http://www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud/">How to copy the frontmost Skim PDF document to Dropbox and iCloud</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>For reading PDF files on my iPad I use most of the time the <a href="http://readdle.com/products/pdfexpert_ipad">PDF Expert</a> app combined with Dropbox. Moreover, I am experimenting with <a href="http://smilesoftware.com/PDFpen/index.html">PDFpen</a> apps for iOS and OS X which use iCloud in order to synchronize the PDF files and their annotations. Undoubtedly, the automatic and on the fly synchronization of my highlights and notes is quite impressive but I still consider <a href="http://skim-app.sourceforge.net">Skim</a> to be the best Mac application for reading PDF documents. As a result, I wanted an easy and fast way to send the PDF files, which I would like to read on my iPad, from Skim (more precisely from my <a href="http://www.devontechnologies.com/products/devonthink/overview.html">DEVONthink</a> databases) to my Dropbox and iCloud folders. This can happen with the following AppleScripts.</p>
<p>The first script sends the frontmost Skim PDF document to my Dropbox folder (:Users:MB:Dropbox:0 PDF files:) and the second to the iCloud folder for PDFpen (:Users:MB:Library:Mobile Documents:7PKJ6G4DXL~com~smileonmymac~PDFpen:Documents:). You should customize the variables which store the above paths in order for the scripts to function in your computer.</p>
<p>The Skim annotations are automatically embedded in the PDF document and you can see and edit them without any problem using either PDF Expert or PDFpen.</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="applescript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="coMULTI">(*</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">organognosi.com</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">How to copy the frontmost Skim PDF document to Dropbox</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">Version: 1.0</span></div></li><li class="li2"><div class="de2"><span class="coMULTI">Date: 24 November 2012</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">// LIKE THIS SCRIPT?</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">If this AppleScript is helpful to you, please show your support here:</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li2"><div class="de2"><span class="coMULTI">http://www.organognosi.com/support</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">// SCRIPT INFORMATION AND UPDATE PAGE</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">// REQUIREMENTS</span></div></li><li class="li2"><div class="de2"><span class="coMULTI">Apps: Skim, Dropbox</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">Customize the value of the dropboxPath variable according to your system</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">// CHANGELOG</span></div></li><li class="li2"><div class="de2"><span class="coMULTI">1.0 Initial Release</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">*)</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Skim&quot;</span></div></li><li class="li2"><div class="de2">	<span class="kw3">set</span> namePDF <span class="kw3">to</span> <span class="kw1">name</span> <span class="kw3">of</span> <span class="kw1">document</span> 1</div></li><li class="li1"><div class="de1">	<span class="kw3">set</span> dropboxPath <span class="kw3">to</span> <span class="st0">&quot;:Users:MB:Dropbox:0 PDF files:&quot;</span></div></li><li class="li1"><div class="de1">	<span class="kw3">set</span> last4char <span class="kw3">to</span> characters <span class="sy0">-</span>1 <span class="kw2">thru</span> <span class="sy0">-</span>4 <span class="kw3">of</span> namePDF <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1">	<span class="kw3">if</span> last4char <span class="kw3">is</span> <span class="st0">&quot;.pdf&quot;</span> <span class="kw3">then</span> <span class="kw3">set</span> namePDF <span class="kw3">to</span> characters 1 <span class="kw2">thru</span> <span class="sy0">-</span>5 <span class="kw3">of</span> namePDF <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1">	<span class="kw1">save</span> <span class="kw1">document</span> 1 <span class="kw3">in</span> dropboxPath <span class="sy0">&amp;</span> namePDF <span class="kw2">as</span> <span class="st0">&quot;PDF with Embedded Notes&quot;</span></div></li><li class="li2"><div class="de2"><span class="kw3">end</span> <span class="kw3">tell</span></div></li></ol></pre></div></div>
<pre></pre>
<p><a href="applescript://com.apple.scripteditor?action=new&amp;script=%28*%0Dorganognosi.com%0DHow+to+copy+the+frontmost+Skim+PDF+document+to+Dropbox%0DVersion%3A+1.0%0DDate%3A+24+November+2012%0D%0D%2F%2F+LIKE+THIS+SCRIPT%3F%0DIf+this+AppleScript+is+helpful+to+you%2C+please+show+your+support+here%3A%0Dhttp%3A%2F%2Fwww.organognosi.com%2Fsupport%0D%0D%2F%2F+SCRIPT+INFORMATION+AND+UPDATE+PAGE%0Dwww.organognosi.com%2Fhow-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud%0D%2F%2F+REQUIREMENTS%0DApps%3A+Skim%2C+Dropbox%0D%0DCustomize+the+dropboxPath+variable+according+to+your+system%0D%0D%2F%2F+CHANGELOG%0D1.0+Initial+Release%0D%0D*%29%0D%0Dtell+application+%22Skim%22%0D%09set+namePDF+to+name+of+document+1%0D%09set+dropboxPath+to+%22%3AUsers%3AMB%3ADropbox%3A0+PDF+files%3A%22%0D%09set+last4char+to+characters+-1+thru+-4+of+namePDF+as+string%0D%09if+last4char+is+%22.pdf%22+then+set+namePDF+to+characters+1+thru+-5+of+namePDF+as+string%0D%09save+document+1+in+dropboxPath+%26+namePDF+as+%22PDF+with+Embedded+Notes%22%0Dend+tell">Click here to open the source code in AppleScript Editor</a></p>
<pre></pre>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="applescript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="coMULTI">(*</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">organognosi.com</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">How to copy the frontmost Skim PDF document to iCloud</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">Version: 1.0</span></div></li><li class="li2"><div class="de2"><span class="coMULTI">Date: 24 November 2012</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">// LIKE THIS SCRIPT?</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">If this AppleScript is helpful to you, please show your support here:</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li2"><div class="de2"><span class="coMULTI">http://www.organognosi.com/support</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">// SCRIPT INFORMATION AND UPDATE PAGE</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud</span></div></li><li class="li1"><div class="de1"><span class="coMULTI">// REQUIREMENTS</span></div></li><li class="li2"><div class="de2"><span class="coMULTI">Apps: PDFpen or PDFpen Cloud Access, Skim</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">Customize the value of the iCloudPDFpenPath variable according to your system</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">// CHANGELOG</span></div></li><li class="li2"><div class="de2"><span class="coMULTI">1.0 Initial Release</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="coMULTI">*)</span></div></li><li class="li1"><div class="de1">&nbsp;</div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Skim&quot;</span></div></li><li class="li2"><div class="de2">	<span class="kw3">set</span> namePDF <span class="kw3">to</span> <span class="kw1">name</span> <span class="kw3">of</span> <span class="kw1">document</span> 1</div></li><li class="li1"><div class="de1">	<span class="kw3">set</span> iCloudPDFpenPath <span class="kw3">to</span> <span class="st0">&quot;:Users:MB:Library:Mobile Documents:7PKJ6G4DXL~com~smileonmymac~PDFpen:Documents:&quot;</span></div></li><li class="li1"><div class="de1">	<span class="kw3">set</span> last4char <span class="kw3">to</span> characters <span class="sy0">-</span>1 <span class="kw2">thru</span> <span class="sy0">-</span>4 <span class="kw3">of</span> namePDF <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1">	<span class="kw3">if</span> last4char <span class="kw3">is</span> <span class="st0">&quot;.pdf&quot;</span> <span class="kw3">then</span> <span class="kw3">set</span> namePDF <span class="kw3">to</span> characters 1 <span class="kw2">thru</span> <span class="sy0">-</span>5 <span class="kw3">of</span> namePDF <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1">	<span class="kw1">save</span> <span class="kw1">document</span> 1 <span class="kw3">in</span> iCloudPDFpenPath <span class="sy0">&amp;</span> namePDF <span class="kw2">as</span> <span class="st0">&quot;PDF with Embedded Notes&quot;</span></div></li><li class="li2"><div class="de2"><span class="kw3">end</span> <span class="kw3">tell</span></div></li></ol></pre></div></div>
<pre>
<a href="applescript://com.apple.scripteditor?action=new&amp;script=%28*%0Dorganognosi.com%0DHow+to+copy+the+frontmost+Skim+PDF+document+to+iCloud%0DVersion%3A+1.0%0DDate%3A+24+November+2012%0D%0D%2F%2F+LIKE+THIS+SCRIPT%3F%0DIf+this+AppleScript+is+helpful+to+you%2C+please+show+your+support+here%3A%0Dhttp%3A%2F%2Fwww.organognosi.com%2Fsupport%0D%0D%2F%2F+SCRIPT+INFORMATION+AND+UPDATE+PAGE%0Dwww.organognosi.com%2Fhow-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud%0D%2F%2F+REQUIREMENTS%0DApps%3A+PDFpen+or+PDFpen+Cloud+Access%2C+Skim%0D%0DCustomize+the+iCloudPDFpenPath+variable+according+to+your+system%0D%0D%2F%2F+CHANGELOG%0D1.0+Initial+Release%0D%0D*%29%0D%0Dtell+application+%22Skim%22%0D%09set+namePDF+to+name+of+document+1%0D%09set+iCloudPDFpenPath+to+%22%3AUsers%3AMB%3ALibrary%3AMobile+Documents%3A7PKJ6G4DXL%7Ecom%7Esmileonmymac%7EPDFpen%3ADocuments%3A%22%0D%09set+last4char+to+characters+-1+thru+-4+of+namePDF+as+string%0D%09if+last4char+is+%22.pdf%22+then+set+namePDF+to+characters+1+thru+-5+of+namePDF+as+string%0D%09save+document+1+in+iCloudPDFpenPath+%26+namePDF+as+%22PDF+with+Embedded+Notes%22%0Dend+tell">Click here to open the source code in AppleScript Editor</a></pre>
<p>The post <a href="http://www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud/">How to copy the frontmost Skim PDF document to Dropbox and iCloud</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/how-to-copy-the-frontmost-skim-pdf-document-to-dropbox-and-icloud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wikis in University Teaching and Learning &#8211; Richard Buckland</title>
		<link>http://www.organognosi.com/wikis-in-university-teaching-and-learning-richard-buckland/</link>
		<comments>http://www.organognosi.com/wikis-in-university-teaching-and-learning-richard-buckland/#comments</comments>
		<pubDate>Wed, 17 Oct 2012 22:25:37 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=557</guid>
		<description><![CDATA[<p></p><p>The post <a href="http://www.organognosi.com/wikis-in-university-teaching-and-learning-richard-buckland/">Wikis in University Teaching and Learning &#8211; Richard Buckland</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p><iframe width="560" height="315" src="http://www.youtube.com/embed/m1-8OOrBi0o" frameborder="0" allowfullscreen></iframe></p>
<p>The post <a href="http://www.organognosi.com/wikis-in-university-teaching-and-learning-richard-buckland/">Wikis in University Teaching and Learning &#8211; Richard Buckland</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/wikis-in-university-teaching-and-learning-richard-buckland/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About OrganoGnosi</title>
		<link>http://www.organognosi.com/about-organognosi/</link>
		<comments>http://www.organognosi.com/about-organognosi/#comments</comments>
		<pubDate>Wed, 03 Oct 2012 22:24:29 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[the big picture]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=543</guid>
		<description><![CDATA[<p>Organo and gnosi are the transliterated forms of the Greek words &#8220;όργανο&#8221; and &#8220;γνώση&#8221;, respectively, which can be translated as tool and knowledge. This blog is about tools (e.g. computer applications, scripts) and methods (e.g. automated digital workflow, hypertext writing) that a researcher can use in order to be more efficient in his/her efforts for [...]</p><p>The post <a href="http://www.organognosi.com/about-organognosi/">About OrganoGnosi</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Organo and gnosi are the transliterated forms of the Greek words &#8220;όργανο&#8221; and &#8220;γνώση&#8221;, respectively, which can be translated as tool and knowledge. This blog is about tools (e.g. computer applications, scripts) and methods (e.g. automated digital workflow, hypertext writing) that a researcher can use in order to be more efficient in his/her efforts for finding and inventing new knowledge. The single most important element of my workflow is the creation and use of links or hyperlinks. A necessary condition for knowledge is the connection of at least two concepts. Moreover, in each academic work there are multiple references to previous works. These connections can be externalized, organized and saved for further study using links. The text in which there are links is called hypertext. The easiest way for writing hypertext is the use of a wiki program. Wikis are promoted largely as collaboration tools but they can be used in a personal setting as well. Unfortunately, the seamless use of links is not supported by the majority of the computer applications. This is the main reason for finding in my blog so many posts about how to create a certain kind of link. The programming language that I have written most of my scripts is called AppleScript and can be used only in Macintosh computers. However, a Windows user can still implement the core of my workflow, which is the writing of hypertext.</p>
<p>The post <a href="http://www.organognosi.com/about-organognosi/">About OrganoGnosi</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/about-organognosi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create universal indexes for your own books and papers</title>
		<link>http://www.organognosi.com/create-universal-indexes-for-your-own-books-and-papers/</link>
		<comments>http://www.organognosi.com/create-universal-indexes-for-your-own-books-and-papers/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 22:53:24 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[DevonThink]]></category>
		<category><![CDATA[Skim]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=529</guid>
		<description><![CDATA[<p>Almost every academic book has at the end of it an index ,which helps the reader find in it pertinent material regarding the indexed words or phrases. Using a more technical terminology, I can say that an index is a list of &#8220;dead&#8221; analog internal links (If you want to make them active you can [...]</p><p>The post <a href="http://www.organognosi.com/create-universal-indexes-for-your-own-books-and-papers/">Create universal indexes for your own books and papers</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Almost every academic book has at the end of it an index ,which helps the reader find in it pertinent material regarding the indexed words or phrases. Using a more technical terminology, I can say that an index is a list of &#8220;dead&#8221; analog internal links (If you want to make them active you can use AutoBookmark, but this is for another post).</p>
<p>Nowadays it is quite probable that any young academic researcher  has accumulated a considerable amount of academic sources in PDF format. If he uses Mac computers, DEVONthink and Skim from now on he can create universal indexes. By universal indexes I mean that the active links are not internal to a specific source but external to any document that contains the indexed word or phrase and is in a DEVONthink database. You can see an example of a part of  a universal index in MediaWiki format in the following image:</p>
<p><a href="http://www.organognosi.com/wp-content/uploads/2012/09/Universal-Index.png"><img class="alignnone  wp-image-531" title="Universal Index" src="http://www.organognosi.com/wp-content/uploads/2012/09/Universal-Index.png" alt="" width="351" height="297" /></a></p>
<p>The above text is produced automatically and you can see in it some of the conventions that I use in my workflow. For example the names of my PDF files follow the pattern &#8220;title &#8211; last name&#8221; and the corresponding MediaWiki page hat the &#8220;@&#8221; in front of the PDF name. The links named &#8220;correct logic&#8221; open the corresponding source in DEVONthink and all the instances of &#8220;correct logic&#8221; are highlighted. An example of a URL of these links is the following: x-devonthink-item://A6A8BAC2-B6E7-4568-A117-C74335C4C7BC?search=correct_logic.</p>
<p>Some advantages of universal indexes are the following:</p>
<ol>
<li>You can immediately see all the instances of the indexed word or phrase which are in each document.</li>
<li>You can copy a part or the whole of it in one or more documents.</li>
<li>You can freely annotate the index because it is just plain text. For example sometimes I find it quite useful to copy and paste the relevant excerpt from each page as is shown below:</li>
</ol>
<p><a href="http://www.organognosi.com/wp-content/uploads/2012/09/Universal-index-with-comments.png"><img class="alignnone  wp-image-532" title="Universal index with comments" src="http://www.organognosi.com/wp-content/uploads/2012/09/Universal-index-with-comments.png" alt="" width="579" height="504" /></a></p>
<p>The AppleScript which can create universal indexes is the following:<br />
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="applescript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="co1">--http://www.organognosi.com</span></div></li><li class="li1"><div class="de1"><span class="co1">-- 2012-09-30</span></div></li><li class="li1"><div class="de1"><span class="co1">--it matches exact phrases using quotes and single words</span></div></li><li class="li1"><div class="de1"><span class="co1">--the locked files in DEVONthink are excluded from the search</span></div></li><li class="li2"><div class="de2"><span class="co1">--the index is created for the active DEVONthink database</span></div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;DEVONthink Pro&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> searchWord <span class="kw3">to</span> <span class="kw1">text</span> returned <span class="kw3">of</span> <span class="br0">&#40;</span><span class="kw1">display dialog</span> <span class="st0">&quot;Enter the search word/phrase:&quot;</span> <span class="kw1">default answer</span> <span class="st0">&quot;&quot;</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> searchWordList <span class="kw3">to</span> <span class="kw2">every</span> word <span class="kw3">of</span> searchWord</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> numberOfSearchWords <span class="kw3">to</span> <span class="kw1">count</span> searchWordList</div></li><li class="li2"><div class="de2"><span class="kw3">set</span> <span class="kw2">the</span> searchWordWithoutSpaces <span class="kw3">to</span> replaceText<span class="br0">&#40;</span>searchWord, <span class="st0">&quot; &quot;</span>, <span class="st0">&quot;_&quot;</span><span class="br0">&#41;</span> <span class="kw3">of</span> <span class="kw1">me</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> searchWordQuoted <span class="kw3">to</span> <span class="st0">&quot;<span class="es0">\&quot;</span>&quot;</span> <span class="sy0">&amp;</span> searchWord <span class="sy0">&amp;</span> <span class="st0">&quot;<span class="es0">\&quot;</span>&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> resultList <span class="kw3">to</span> search searchWordQuoted <span class="kw3">in</span> current database locking <span class="kw1">no</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> numberResults <span class="kw3">to</span> <span class="kw1">count</span> resultList</div></li><li class="li1"><div class="de1"><span class="kw3">if</span> numberResults <span class="sy0">=</span> 0 <span class="kw3">then</span> <span class="kw1">display dialog</span> <span class="st0">&quot;No matches were found.&quot;</span> <span class="kw1">buttons</span> <span class="br0">&#123;</span><span class="st0">&quot;Cancel&quot;</span><span class="br0">&#125;</span></div></li><li class="li2"><div class="de2"><span class="kw3">set</span> numberOfDocuments <span class="kw3">to</span> <span class="kw1">text</span> returned <span class="kw3">of</span> <span class="br0">&#40;</span><span class="kw1">display dialog</span> <span class="st0">&quot;The found docs are &quot;</span> <span class="sy0">&amp;</span> numberResults <span class="sy0">&amp;</span> <span class="st0">&quot;, please set the numbers of docs for processing:&quot;</span> <span class="kw1">default answer</span> numberResults<span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="kw3">if</span> numberResults &gt; numberOfDocuments <span class="kw3">then</span> <span class="kw3">set</span> resultList <span class="kw3">to</span> <span class="kw1">items</span> 1 <span class="kw2">thru</span> numberOfDocuments <span class="kw3">of</span> resultList</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> RefType <span class="kw3">to</span> <span class="kw3">my</span> chooseRefType<span class="br0">&#40;</span><span class="br0">&#123;</span><span class="st0">&quot;MediaWiki&quot;</span>, <span class="st0">&quot;RTF&quot;</span><span class="br0">&#125;</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="kw3">if</span> RefType <span class="kw3">is</span> 1 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> indexLinks <span class="kw3">to</span> <span class="st0">&quot;===Universal index of <span class="es0">\&quot;</span>&quot;</span> <span class="sy0">&amp;</span> searchWord <span class="sy0">&amp;</span> <span class="st0">&quot;<span class="es0">\&quot;</span>===</span></div></li><li class="li2"><div class="de2"><span class="st0">number of sources:&quot;</span> <span class="sy0">&amp;</span> numberOfDocuments <span class="sy0">&amp;</span> <span class="st0">&quot; out of &quot;</span> <span class="sy0">&amp;</span> numberResults <span class="sy0">&amp;</span> <span class="st0">&quot; matches - &quot;</span> <span class="sy0">&amp;</span> <span class="br0">&#40;</span><span class="kw2">the</span> current date<span class="br0">&#41;</span> <span class="sy0">&amp;</span> <span class="st0">&quot;</span></div></li><li class="li1"><div class="de1"><span class="st0">&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> RefType <span class="kw3">is</span> 2 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> indexLinks <span class="kw3">to</span> <span class="st0">&quot;&lt;html&gt;</span></div></li><li class="li1"><div class="de1"><span class="st0">&lt;body&gt;</span></div></li><li class="li2"><div class="de2"><span class="st0">&lt;h3&gt;Universal index of <span class="es0">\&quot;</span>&quot;</span> <span class="sy0">&amp;</span> searchWord <span class="sy0">&amp;</span> <span class="st0">&quot;<span class="es0">\&quot;</span>&lt;/h3&gt;</span></div></li><li class="li1"><div class="de1"><span class="st0">number of sources: &quot;</span> <span class="sy0">&amp;</span> numberOfDocuments <span class="sy0">&amp;</span> <span class="st0">&quot; out of &quot;</span> <span class="sy0">&amp;</span> numberResults <span class="sy0">&amp;</span> <span class="st0">&quot; matches - &quot;</span> <span class="sy0">&amp;</span> <span class="br0">&#40;</span><span class="kw2">the</span> current date<span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">repeat</span> <span class="kw3">with</span> book <span class="kw3">in</span> resultList</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pathBook <span class="kw3">to</span> path <span class="kw3">of</span> book</div></li><li class="li2"><div class="de2"><span class="kw3">set</span> referenceURL <span class="kw3">to</span> reference URL <span class="kw3">of</span> book</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> nameBook <span class="kw3">to</span> <span class="kw1">name</span> <span class="kw3">of</span> book</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> wordInstances <span class="kw3">to</span> <span class="st0">&quot;&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Skim&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">try</span></div></li><li class="li2"><div class="de2"><span class="kw1">open</span> pathBook <span class="co1">--κολλάει εάν κάποια αρχεία δεν υπάρχου</span></div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">document</span> 1</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> all_pages <span class="kw3">to</span> <span class="kw1">count</span> <span class="kw3">of</span> pages <span class="co1">-- so we only calculate it once</span></div></li><li class="li1"><div class="de1"><span class="kw3">if</span> RefType <span class="kw3">is</span> 1 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> bookTitle <span class="kw3">to</span> <span class="st0">&quot;</span></div></li><li class="li2"><div class="de2"><span class="st0">====&quot;</span> <span class="sy0">&amp;</span> nameBook <span class="sy0">&amp;</span> <span class="st0">&quot;====</span></div></li><li class="li1"><div class="de1"><span class="st0">[&quot;</span> <span class="sy0">&amp;</span> referenceURL <span class="sy0">&amp;</span> <span class="st0">&quot;?search=&quot;</span> <span class="sy0">&amp;</span> searchWordWithoutSpaces <span class="sy0">&amp;</span> <span class="st0">&quot; &quot;</span> <span class="sy0">&amp;</span> searchWord <span class="sy0">&amp;</span> <span class="st0">&quot;] in [[@&quot;</span> <span class="sy0">&amp;</span> nameBook <span class="sy0">&amp;</span> <span class="st0">&quot;]]&lt;br /&gt;</span></div></li><li class="li1"><div class="de1"><span class="st0">&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">repeat</span> <span class="kw3">with</span> pageNumber <span class="kw3">from</span> 1 <span class="kw3">to</span> all_pages <span class="co1">--</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> DEVONthinkPageNumber <span class="kw3">to</span> pageNumber <span class="sy0">-</span> 1</div></li><li class="li2"><div class="de2"><span class="kw3">if</span> numberOfSearchWords ≤ 1 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageText <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw3">get</span> <span class="kw1">text</span> for page pageNumber<span class="br0">&#41;</span> <span class="co1">-- suck up the text into a string!</span></div></li><li class="li1"><div class="de1"><span class="kw3">ignoring</span> <span class="kw1">hyphens</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageText <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw2">every</span> word <span class="kw3">of</span> pageText<span class="br0">&#41;</span> <span class="kw2">as</span> <span class="kw1">list</span> <span class="co1">-- tokenise!</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">ignoring</span></div></li><li class="li2"><div class="de2"><span class="kw3">if</span> pageText <span class="kw2">contains</span> searchWord <span class="kw3">then</span> <span class="co1">-- record page number if word on page</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> wordInstances <span class="kw3">to</span> wordInstances <span class="sy0">&amp;</span> <span class="st0">&quot;[&quot;</span> <span class="sy0">&amp;</span> referenceURL <span class="sy0">&amp;</span> <span class="st0">&quot;?page=&quot;</span> <span class="sy0">&amp;</span> DEVONthinkPageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;&amp;?search=&quot;</span> <span class="sy0">&amp;</span> searchWordWithoutSpaces <span class="sy0">&amp;</span> <span class="st0">&quot; &quot;</span> <span class="sy0">&amp;</span> pageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;] &quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">else</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageText <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw3">get</span> <span class="kw1">text</span> for page pageNumber<span class="br0">&#41;</span> <span class="kw2">as</span> Unicode <span class="kw1">text</span> <span class="co1">-- suck up the text into a string!</span></div></li><li class="li2"><div class="de2"><span class="kw3">if</span> pageText <span class="kw2">contains</span> searchWord <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> wordInstances <span class="kw3">to</span> wordInstances <span class="sy0">&amp;</span> <span class="st0">&quot;[&quot;</span> <span class="sy0">&amp;</span> referenceURL <span class="sy0">&amp;</span> <span class="st0">&quot;?page=&quot;</span> <span class="sy0">&amp;</span> DEVONthinkPageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;?search=&quot;</span> <span class="sy0">&amp;</span> searchWordWithoutSpaces <span class="sy0">&amp;</span> <span class="st0">&quot; &quot;</span> <span class="sy0">&amp;</span> pageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;] &quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">repeat</span></div></li><li class="li2"><div class="de2"><span class="kw3">else</span> <span class="kw3">if</span> RefType <span class="kw3">is</span> 2 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> bookTitle <span class="kw3">to</span> <span class="st0">&quot;&lt;h4&gt;&quot;</span> <span class="sy0">&amp;</span> nameBook <span class="sy0">&amp;</span> <span class="st0">&quot;&lt;/h4&gt;</span></div></li><li class="li1"><div class="de1"><span class="st0">&lt;a href=&quot;</span> <span class="sy0">&amp;</span> referenceURL <span class="sy0">&amp;</span> <span class="st0">&quot;?search=&quot;</span> <span class="sy0">&amp;</span> searchWordWithoutSpaces <span class="sy0">&amp;</span> <span class="st0">&quot;&gt;&quot;</span> <span class="sy0">&amp;</span> searchWord <span class="sy0">&amp;</span> <span class="st0">&quot;&lt;/a&gt;: &quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">repeat</span> <span class="kw3">with</span> pageNumber <span class="kw3">from</span> 1 <span class="kw3">to</span> all_pages <span class="co1">--</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> DEVONthinkPageNumber <span class="kw3">to</span> pageNumber <span class="sy0">-</span> 1</div></li><li class="li2"><div class="de2"><span class="kw3">if</span> numberOfSearchWords ≤ 1 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageText <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw3">get</span> <span class="kw1">text</span> for page pageNumber<span class="br0">&#41;</span> <span class="co1">-- suck up the text into a string!</span></div></li><li class="li1"><div class="de1"><span class="kw3">ignoring</span> <span class="kw1">hyphens</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageText <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw2">every</span> word <span class="kw3">of</span> pageText<span class="br0">&#41;</span> <span class="kw2">as</span> <span class="kw1">list</span> <span class="co1">-- tokenise!</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">ignoring</span></div></li><li class="li2"><div class="de2"><span class="kw3">if</span> pageText <span class="kw2">contains</span> searchWord <span class="kw3">then</span> <span class="co1">-- record page number if word on page</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> wordInstances <span class="kw3">to</span> wordInstances <span class="sy0">&amp;</span> <span class="st0">&quot;&lt;a href=&quot;</span> <span class="sy0">&amp;</span> referenceURL <span class="sy0">&amp;</span> <span class="st0">&quot;?page=&quot;</span> <span class="sy0">&amp;</span> DEVONthinkPageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;&gt;&quot;</span> <span class="sy0">&amp;</span> pageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;&lt;/a&gt; &quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">else</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageText <span class="kw3">to</span> <span class="br0">&#40;</span><span class="kw3">get</span> <span class="kw1">text</span> for page pageNumber<span class="br0">&#41;</span> <span class="kw2">as</span> Unicode <span class="kw1">text</span> <span class="co1">-- suck up the text into a string!</span></div></li><li class="li2"><div class="de2"><span class="kw3">if</span> pageText <span class="kw2">contains</span> searchWord <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> wordInstances <span class="kw3">to</span> wordInstances <span class="sy0">&amp;</span> <span class="st0">&quot;&lt;a href=&quot;</span> <span class="sy0">&amp;</span> referenceURL <span class="sy0">&amp;</span> <span class="st0">&quot;?page=&quot;</span> <span class="sy0">&amp;</span> DEVONthinkPageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;&gt;&quot;</span> <span class="sy0">&amp;</span> pageNumber <span class="sy0">&amp;</span> <span class="st0">&quot;&lt;/a&gt; &quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">repeat</span></div></li><li class="li2"><div class="de2"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li><li class="li1"><div class="de1"><span class="kw1">close</span> <span class="kw1">document</span> 1</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">try</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li><li class="li2"><div class="de2"><span class="kw3">if</span> RefType <span class="kw3">is</span> 1 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> indexLinks <span class="kw3">to</span> indexLinks <span class="sy0">&amp;</span> bookTitle <span class="sy0">&amp;</span> wordInstances <span class="sy0">&amp;</span> <span class="st0">&quot;</span></div></li><li class="li1"><div class="de1"><span class="st0">&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> RefType <span class="kw3">is</span> 2 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> indexLinks <span class="kw3">to</span> indexLinks <span class="sy0">&amp;</span> bookTitle <span class="sy0">&amp;</span> wordInstances <span class="sy0">&amp;</span> <span class="st0">&quot;</span></div></li><li class="li2"><div class="de2"><span class="st0">&lt;/body&gt;</span></div></li><li class="li1"><div class="de1"><span class="st0">&lt;/html&gt;&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> RefType <span class="kw3">is</span> 3 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">repeat</span></div></li><li class="li2"><div class="de2"><span class="kw3">if</span> RefType <span class="kw3">is</span> 1 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw1">set <span class="kw2">the</span> clipboard to</span> indexLinks</div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> RefType <span class="kw3">is</span> 2 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw1">set <span class="kw2">the</span> clipboard to</span> indexLinks</div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Finder&quot;</span></div></li><li class="li2"><div class="de2"><span class="kw1">do shell script</span> <span class="st0">&quot;pbpaste | textutil -stdin -format html -convert rtf -stdout | pbcopy -Prefer rtf&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li><li class="li1"><div class="de1"><span class="kw3">on</span> chooseRefType<span class="br0">&#40;</span>typeList<span class="br0">&#41;</span></div></li><li class="li2"><div class="de2"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Skim&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> theResult <span class="kw3">to</span> <span class="kw1">choose <span class="kw3">from</span> list</span> typeList <span class="kw3">with</span> prompt <span class="st0">&quot;Reference type:&quot;</span> default <span class="kw1">items</span> <span class="br0">&#123;</span><span class="st0">&quot;RTF&quot;</span><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="kw3">if</span> theResult <span class="kw3">is</span> <span class="kw1">false</span> <span class="kw3">then</span> <span class="kw3">return</span> 0</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> refTypeNumber <span class="kw3">to</span> theResult <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1"><span class="kw3">if</span> refTypeNumber <span class="kw3">is</span> <span class="st0">&quot;MediaWiki&quot;</span> <span class="kw3">then</span></div></li><li class="li2"><div class="de2"><span class="kw3">return</span> 1</div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> refTypeNumber <span class="kw3">is</span> <span class="st0">&quot;RTF&quot;</span> <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">return</span> 2</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li><li class="li2"><div class="de2"><span class="kw3">return</span> RefType</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> chooseRefType</div></li><li class="li1"><div class="de1"><span class="kw3">on</span> replaceText<span class="br0">&#40;</span>thisText, searchString, replacementString<span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> AppleScript<span class="co2">'</span>s <span class="kw1">text</span> <span class="kw1">item</span> <span class="kw1">delimiters</span> <span class="kw3">to</span> <span class="kw2">the</span> searchString</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> <span class="kw2">the</span> itemList <span class="kw3">to</span> <span class="kw2">every</span> <span class="kw1">text</span> <span class="kw1">item</span> <span class="kw3">of</span> thisText</div></li><li class="li2"><div class="de2"><span class="kw3">set</span> AppleScript<span class="co2">'</span>s <span class="kw1">text</span> <span class="kw1">item</span> <span class="kw1">delimiters</span> <span class="kw3">to</span> <span class="kw2">the</span> replacementString</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> thisText <span class="kw3">to</span> <span class="kw2">the</span> itemList <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> AppleScript<span class="co2">'</span>s <span class="kw1">text</span> <span class="kw1">item</span> <span class="kw1">delimiters</span> <span class="kw3">to</span> <span class="br0">&#123;</span><span class="st0">&quot;&quot;</span><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="kw3">return</span> thisText</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> replaceText</div></li></ol></pre></div></div></p>
<p>The result is sent to the clipboard. The script is generally slow especially when there are a lot of matched documents. The index is created either in MediaWiki format or RTF format.</p>
<p>The post <a href="http://www.organognosi.com/create-universal-indexes-for-your-own-books-and-papers/">Create universal indexes for your own books and papers</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/create-universal-indexes-for-your-own-books-and-papers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create DEVONthink bookmark for the current PDF page</title>
		<link>http://www.organognosi.com/create-devonthink-bookmark-for-the-current-pdf-page/</link>
		<comments>http://www.organognosi.com/create-devonthink-bookmark-for-the-current-pdf-page/#comments</comments>
		<pubDate>Mon, 06 Aug 2012 22:18:34 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[DevonThink]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=470</guid>
		<description><![CDATA[<p>The AppleScript which performs this function is the following: The bookmark is created for the current PDF page in the frontmost DEVONthink window. After executing the script, the following window is shown: You can set the bookmark name and choose the group in which the bookmark will be sent. Special thanks to R.K. for providing [...]</p><p>The post <a href="http://www.organognosi.com/create-devonthink-bookmark-for-the-current-pdf-page/">Create DEVONthink bookmark for the current PDF page</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>The AppleScript which performs this function is the following:</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="applescript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="co1">--http://www.organognosi.com</span></div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;DEVONthink Pro&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> nameCurrentPDF <span class="kw3">to</span> <span class="kw1">name</span> <span class="kw3">of</span> <span class="kw1">content</span> record <span class="kw3">of</span> <span class="kw1">window</span> 1</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> targetgroup <span class="kw3">to</span> parent <span class="kw3">of</span> <span class="kw1">content</span> record <span class="kw3">of</span> <span class="kw1">window</span> 1</div></li><li class="li2"><div class="de2"><span class="kw3">set</span> AppleScript<span class="co2">'</span>s <span class="kw1">text</span> <span class="kw1">item</span> <span class="kw1">delimiters</span> <span class="kw3">to</span> <span class="br0">&#123;</span><span class="st0">&quot;&quot;</span><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> charFullStop <span class="kw3">to</span> character <span class="sy0">-</span>4 <span class="kw3">of</span> nameCurrentPDF</div></li><li class="li1"><div class="de1"><span class="kw3">if</span> charFullStop <span class="kw3">is</span> <span class="st0">&quot;.&quot;</span> <span class="kw3">then</span> <span class="kw3">set</span> nameCurrentPDF <span class="kw3">to</span> characters 1 <span class="kw2">thru</span> <span class="sy0">-</span>5 <span class="kw3">of</span> nameCurrentPDF <span class="kw2">as</span> <span class="kw1">string</span></div></li><li class="li1"><div class="de1"><span class="kw1">display dialog</span> <span class="st0">&quot;Enter bookmark name:&quot;</span> <span class="kw1">default answer</span> nameCurrentPDF <span class="kw1">buttons</span> <span class="br0">&#123;</span><span class="st0">&quot;Send bookmark to current group&quot;</span>, <span class="st0">&quot;Select the target group&quot;</span>, <span class="st0">&quot;Cancel&quot;</span><span class="br0">&#125;</span> default button 2</div></li><li class="li1"><div class="de1"><span class="kw3">copy</span> <span class="kw2">the</span> <span class="kw1">result</span> <span class="kw2">as</span> <span class="kw1">list</span> <span class="kw3">to</span> <span class="br0">&#123;</span>nameBookmark, selectedDestination<span class="br0">&#125;</span></div></li><li class="li2"><div class="de2"><span class="kw3">set</span> DEVONthinkPageNum <span class="kw3">to</span> current page <span class="kw3">of</span> <span class="kw1">window</span> 1</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> realCurrentPageNum <span class="kw3">to</span> DEVONthinkPageNum <span class="sy0">+</span> 1</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> DEVONthinkPage <span class="kw3">to</span> DEVONthinkPageNum <span class="kw2">as</span> <span class="kw1">text</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> realCurrentPage <span class="kw3">to</span> realCurrentPageNum <span class="kw2">as</span> <span class="kw1">text</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> fileLink <span class="kw3">to</span> <span class="kw2">the</span> reference URL <span class="kw3">of</span> <span class="kw1">content</span> record <span class="kw3">of</span> <span class="kw1">window</span> 1</div></li><li class="li2"><div class="de2"><span class="kw3">if</span> selectedDestination <span class="kw3">is</span> <span class="st0">&quot;Send bookmark to current group&quot;</span> <span class="kw3">then</span></div></li><li class="li1"><div class="de1">create record <span class="kw3">with</span> <span class="br0">&#123;</span>type:bookmark, <span class="kw1">name</span>:nameBookmark, URL:fileLink <span class="sy0">&amp;</span> <span class="st0">&quot;?page=&quot;</span> <span class="sy0">&amp;</span> DEVONthinkPage<span class="br0">&#125;</span> <span class="kw3">in</span> <span class="kw1">item</span> 1 <span class="kw3">of</span> targetgroup</div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> selectedDestination <span class="kw3">is</span> <span class="st0">&quot;Select the target group&quot;</span> <span class="kw3">then</span></div></li><li class="li1"><div class="de1">create record <span class="kw3">with</span> <span class="br0">&#123;</span>type:bookmark, <span class="kw1">name</span>:nameBookmark, URL:fileLink <span class="sy0">&amp;</span> <span class="st0">&quot;?page=&quot;</span> <span class="sy0">&amp;</span> DEVONthinkPage<span class="br0">&#125;</span> <span class="kw3">in</span> display group selector</div></li><li class="li1"><div class="de1"><span class="kw3">else</span> <span class="kw3">if</span> selectedDestination <span class="kw3">is</span> <span class="st0">&quot;Cancel&quot;</span> <span class="kw3">then</span></div></li><li class="li2"><div class="de2"><span class="co1">--do nothing</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li></ol></pre></div></div>
<p>The bookmark is created for the current PDF page in the frontmost DEVONthink window. After executing the script, the following window is shown:</p>
<p><a href="http://www.organognosi.com/wp-content/uploads/2012/08/Create-DEVONthink-bookmark.jpg"><img class="alignnone size-full wp-image-514" title="Create DEVONthink bookmark" src="http://www.organognosi.com/wp-content/uploads/2012/08/Create-DEVONthink-bookmark.jpg" alt="" width="532" height="149" /></a></p>
<p>You can set the bookmark name and choose the group in which the bookmark will be sent.</p>
<p>Special thanks to R.K. for providing ideas and support for the development of this script.</p>
<p>The post <a href="http://www.organognosi.com/create-devonthink-bookmark-for-the-current-pdf-page/">Create DEVONthink bookmark for the current PDF page</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/create-devonthink-bookmark-for-the-current-pdf-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skim and color codes of highlights</title>
		<link>http://www.organognosi.com/skim-and-highlighting-color-codes/</link>
		<comments>http://www.organognosi.com/skim-and-highlighting-color-codes/#comments</comments>
		<pubDate>Sun, 05 Aug 2012 22:29:21 +0000</pubDate>
		<dc:creator>John Sidiropoulos</dc:creator>
				<category><![CDATA[all my posts]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[Skim]]></category>

		<guid isPermaLink="false">http://www.organognosi.com/?p=502</guid>
		<description><![CDATA[<p>In my post &#8220;Export Skim notes according to their highlight colors&#8221; I presented how you can export Skim notes of a specific color using an appropriate AppleScript. The proper functioning of the script is depended on the correct representation of the color that is used in the highlights. In Skim&#8217;s wiki you can read that [...]</p><p>The post <a href="http://www.organognosi.com/skim-and-highlighting-color-codes/">Skim and color codes of highlights</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>In my post &#8220;<a title="Export Skim notes according to their highlight colors" href="http://www.organognosi.com/export-skim-notes-according-to-their-highlight-colors/">Export Skim notes according to their highlight colors</a>&#8221; I presented how you can export Skim notes of a specific color using an appropriate AppleScript. The proper functioning of the script is depended on the correct representation of the color that is used in the highlights. In <a href="http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript">Skim&#8217;s wiki</a> you can read that &#8220;colors are represented according to the RGBA (Red-Green-Blue-Alpha) model as a list of four integers, each one ranging from 0 to 65535 (= 2<sup>16</sup> &#8211; 1). For example, <tt>{65535, 0, 0, 65535}</tt> represents the color red&#8221;.</p>
<p>Some people have asked me how they can get these numbers for an arbitrary color. The solution to this problem can be given again by AppleScript and the following script:</p>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-collapsed"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Click here to see the source code</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/printer.png" /></a>&nbsp;<a href="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.organognosi.com/wp-content/plugins/wp-synhighlight/themes/active-theme/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: none;max-height: 3000px"><pre class="applescript" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="co1">--http://www.organognosi.com</span></div></li><li class="li1"><div class="de1"><span class="kw3">tell</span> <span class="kw1">application</span> <span class="st0">&quot;Skim&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> colorMessage <span class="kw3">to</span> <span class="st0">&quot;&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> pageNotes <span class="kw3">to</span> notes <span class="kw3">of</span> current page <span class="kw3">of</span> <span class="kw1">document</span> 1</div></li><li class="li2"><div class="de2"><span class="kw3">repeat</span> <span class="kw3">with</span> pageNote <span class="kw3">in</span> pageNotes</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> noteColor <span class="kw3">to</span> color <span class="kw3">of</span> pageNote</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> noteColorText <span class="kw3">to</span> <span class="st0">&quot;&quot;</span></div></li><li class="li1"><div class="de1"><span class="kw3">repeat</span> <span class="kw3">with</span> codeColor <span class="kw3">in</span> noteColor</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> noteColorText <span class="kw3">to</span> noteColorText <span class="sy0">&amp;</span> codeColor <span class="sy0">&amp;</span> <span class="st0">&quot; &quot;</span></div></li><li class="li2"><div class="de2"><span class="kw3">end</span> <span class="kw3">repeat</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> noteText <span class="kw3">to</span> <span class="kw1">text</span> <span class="kw3">of</span> pageNote</div></li><li class="li1"><div class="de1"><span class="kw3">set</span> lengthNoteText <span class="kw3">to</span> length <span class="kw3">of</span> noteText</div></li><li class="li1"><div class="de1"><span class="kw3">if</span> lengthNoteText &gt; 10 <span class="kw3">then</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> noteText <span class="kw3">to</span> characters 1 <span class="kw2">thru</span> 10 <span class="kw3">of</span> noteText <span class="kw2">as</span> <span class="kw1">text</span></div></li><li class="li2"><div class="de2"><span class="kw3">else</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> noteText <span class="kw3">to</span> noteText</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">if</span></div></li><li class="li1"><div class="de1"><span class="kw3">set</span> colorMessage <span class="kw3">to</span> colorMessage <span class="sy0">&amp;</span> <span class="st0">&quot;The color code of the note <span class="es0">\&quot;</span>&quot;</span> <span class="sy0">&amp;</span> noteText <span class="sy0">&amp;</span> <span class="st0">&quot;...<span class="es0">\&quot;</span> is &quot;</span> <span class="sy0">&amp;</span> noteColorText <span class="sy0">&amp;</span> <span class="kw3">return</span> <span class="sy0">&amp;</span> <span class="kw3">return</span></div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">repeat</span></div></li><li class="li2"><div class="de2"><span class="kw1">display dialog</span> colorMessage</div></li><li class="li1"><div class="de1"><span class="kw3">end</span> <span class="kw3">tell</span></div></li></ol></pre></div></div>
<p>The outcome of this script is a window in which the color codes of the <strong>current</strong> PDF page in Skim are shown.</p>
<p><a href="http://www.organognosi.com/wp-content/uploads/2012/08/AppleScript-and-color-codes.jpg"><img class="alignnone  wp-image-504" title="AppleScript and color codes" src="http://www.organognosi.com/wp-content/uploads/2012/08/AppleScript-and-color-codes.jpg" alt="" width="492" height="607" /></a></p>
<p>A non programming solution to the same problem is given by the excellent app <a href="http://www.latenightsw.com/">ScriptDebugger</a>. Specifically, one of its most powerful tools is the &#8220;Explorer&#8221; with which you can see in real time all the objects of an AppleScriptable application together with their properties and values. In our case, you can see in the following screenshot the color code of the first note.</p>
<p><a href="http://www.organognosi.com/wp-content/uploads/2012/08/ScriptDebugger-and-Color-codes.jpg"><img class="alignnone  wp-image-505" title="ScriptDebugger and Color codes" src="http://www.organognosi.com/wp-content/uploads/2012/08/ScriptDebugger-and-Color-codes.jpg" alt="" width="488" height="374" /></a></p>
<p>The post <a href="http://www.organognosi.com/skim-and-highlighting-color-codes/">Skim and color codes of highlights</a> appeared first on <a href="http://www.organognosi.com">A Digital Workflow for Academic Research</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.organognosi.com/skim-and-highlighting-color-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.organognosi.com @ 2013-05-20 14:27:32 -->