<?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>mim.Armand &#187; dev</title>
	<atom:link href="http://armand.eu/blog/category/dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://armand.eu/blog</link>
	<description>Artist, inventor and developer!</description>
	<lastBuildDate>Wed, 24 Jun 2015 12:02:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.2</generator>
	<item>
		<title>Paris Air Quality app (v 1.0)</title>
		<link>http://armand.eu/blog/paris-air-quality-app-v-1-0/</link>
		<comments>http://armand.eu/blog/paris-air-quality-app-v-1-0/#comments</comments>
		<pubDate>Wed, 24 Jun 2015 11:54:03 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[app]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Air particles]]></category>
		<category><![CDATA[Air Quality]]></category>
		<category><![CDATA[Air Quality Index]]></category>
		<category><![CDATA[AirParif]]></category>
		<category><![CDATA[AirParis]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[AQI]]></category>
		<category><![CDATA[CO2]]></category>
		<category><![CDATA[Île-de-France]]></category>
		<category><![CDATA[native app]]></category>
		<category><![CDATA[O3]]></category>
		<category><![CDATA[paris]]></category>
		<category><![CDATA[PM10]]></category>
		<category><![CDATA[Pollution]]></category>
		<category><![CDATA[qualité de l'air]]></category>
		<category><![CDATA[Widget]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=90</guid>
		<description><![CDATA[Paris Air Quality is an app I developed in two weeks. It simply shows you the current status of air quality in percentage (It is the French standard so don&#8217;t ask me what would mean a 100% polluted air!) for Paris and Île-de-France region. But the cool thing about this app is that first of &#8230; <a href="http://armand.eu/blog/paris-air-quality-app-v-1-0/" class="more-link">Continue reading <span class="screen-reader-text">Paris Air Quality app (v 1.0)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_91" style="width: 474px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2015/06/Feature-Graphic_1024x500.jpg"><img class="size-large wp-image-91" src="http://armand.eu/blog/wp-content/uploads/2015/06/Feature-Graphic_1024x500-1024x500.jpg" alt="Paris Air Quality app and Widget is now available on Google-Play!" width="474" height="231" /></a><figcaption class="wp-caption-text">Paris Air Quality app and Widget is now available on Google-Play!</figcaption></figure>
<p><strong><a href="https://play.google.com/store/apps/details?id=eu.armand.parisairquality" target="_blank">Paris Air Quality is an app </a></strong>I developed in two weeks.<br />
It simply shows you the current status of air quality in percentage (It is the French standard so don&#8217;t ask me what would mean a 100% polluted air!) for Paris and Île-de-France region.</p>
<p>But the cool thing about this app is that first of all it works! (in contrary to the <a href="https://play.google.com/store/apps/details?id=fr.asso.airparif.mobile" target="_blank">AirParif </a>app with 10m$ budget!! -will write more about that later!-) and secondly the fact that it is based on good UX design, It has a Widget that you can put in your Android home-screen and it will update itself every once in a while without using too much of your cellphone battery! and aesthetically it is very pleasant!</p>
<figure id="attachment_92" style="width: 512px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2015/06/icon_512.png"><img class="size-full wp-image-92" src="http://armand.eu/blog/wp-content/uploads/2015/06/icon_512.png" alt="Paris Air Quality app and Widget is now available on Google-Play!" width="512" height="512" /></a><figcaption class="wp-caption-text">Paris Air Quality app and Widget icon (app available on Google-Play)</figcaption></figure>
<p>Other features:</p>
<ul>
<li>Native Android app (not web-view based like AirParif).</li>
<li>Has a beautiful and battery-efficient widget.</li>
<li>beautiful widget designed for your home-screen.</li>
<li>resizable widget with different layouts for different widget sizes.</li>
<li>It is completely free.</li>
<li>It is completely ad-free (No advertising at all).</li>
<li>Independent development.</li>
<li>No permissions required except of internet connection! (very secure)</li>
<li>Available on Google Play, Amazon and other Android Markets.</li>
<li>Easy to use (Just drop the widget on home-screen and that&#8217;s it!).</li>
<li>Open-Source.</li>
</ul>
<p>So if you live in mentioned area (Paris and Île-de-France) <a href="https://play.google.com/store/apps/details?id=eu.armand.parisairquality" target="_blank">go check this useful (and honestly must to have!) application on Google-market</a> right away!</p>
<p>If you live in <strong>US</strong>, <strong>Canada</strong> or <strong>Mexico</strong> <a href="https://play.google.com/store/apps/details?id=eu.armand.app.airus" target="_blank">you can use this app (<strong>Air Quality USA</strong>) instead</a> (an update for this is scheduled).</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/paris-air-quality-app-v-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Air US, real-time Air quality monitoring app for USA, Canada &amp; Mexico!</title>
		<link>http://armand.eu/blog/air-us-real-time-air-quality-monitoring-app-for-usa-canada-and-mexico/</link>
		<comments>http://armand.eu/blog/air-us-real-time-air-quality-monitoring-app-for-usa-canada-and-mexico/#comments</comments>
		<pubDate>Fri, 01 May 2015 10:24:23 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[app]]></category>
		<category><![CDATA[dev]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=87</guid>
		<description><![CDATA[&#160; Long time, no post, but that was because I was super busy with different projects which I will talk about later, bu today I want to present an application I worked on during last week and is published in Google play and will be published soon in Windows phone app store as well: Air &#8230; <a href="http://armand.eu/blog/air-us-real-time-air-quality-monitoring-app-for-usa-canada-and-mexico/" class="more-link">Continue reading <span class="screen-reader-text">Air US, real-time Air quality monitoring app for USA, Canada &#038; Mexico!</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<figure id="attachment_88" style="width: 1024px;" class="wp-caption aligncenter"><a title="Air US (Real time, detailed air quality monitoring )" href="https://play.google.com/store/apps/details?id=eu.armand.app.airus" target="_blank"><img class="size-full wp-image-88" src="http://armand.eu/blog/wp-content/uploads/2015/05/Feature-Graphic_1024x500.jpg" alt="Air US" width="1024" height="500" /></a><figcaption class="wp-caption-text">Air US is an application that helps you to monitor (in real time) the Air Quality Index of your area.</figcaption></figure>
<p>Long time, no post, but that was because I was super busy with different projects which I will talk about later, bu today I want to present an application I worked on during last week and is published in Google play and will be published soon in Windows phone app store as well:</p>
<p><a title="Air US (Real time, detailed air quality monitoring )" href="https://play.google.com/store/apps/details?id=eu.armand.app.airus" target="_blank">Air US (Air quality in US, Canada and Mexico)</a> &lt;&#8211; Android</p>
<p><a href="https://www.windowsphone.com/en-us/store/app/airus/ffd34e8f-0a25-4425-becc-118e136f23c7" target="_blank">And On WP8 and up!</a></p>
<p>It&#8217;s both free and ad-free so go check it out if you live in these areas, it&#8217;s pretty useful and (to be honest) kind of addictive (it was at least for me)</p>
<p>It shows you <a title="Air Quality Index." href="http://en.wikipedia.org/wiki/Air_quality_index" target="_blank">AQI </a>(Air Quality Index) in real time for up to 5 different important components (depending on the availability of data in your area).</p>
<p>Knowing the air quality will help you be healthier by adapting your physical activities and your preparation for the matter. Just <a title="AirUS (Air quality monitoring)" href="https://play.google.com/store/apps/details?id=eu.armand.app.airus" target="_blank">check it out</a>!</p>
<p><del>PS: I&#8217;ll let you know when the WP8 version is ready.</del>  It is ready&#8211;&gt; <strong><a href="https://www.windowsphone.com/en-us/store/app/airus/ffd34e8f-0a25-4425-becc-118e136f23c7" target="_blank">Air US on WP8 store!</a></strong></p>
<p>mim,</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/air-us-real-time-air-quality-monitoring-app-for-usa-canada-and-mexico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BaaS (Backend as a service) review &#8211; 2014</title>
		<link>http://armand.eu/blog/baas-backend-as-a-service-review-2014/</link>
		<comments>http://armand.eu/blog/baas-backend-as-a-service-review-2014/#comments</comments>
		<pubDate>Wed, 10 Sep 2014 11:07:56 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[app]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[BaaS]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[MBaaS]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=84</guid>
		<description><![CDATA[For my projects I was studying some of the services available today and to keep track of the results in future and also to share them with anyone who would be interested I&#8217;ll put a list of services I found promising here: FireBase Apigee appcelerator AWS Mobile Services CloudMine FeedHenry IBM BlueMix Kinvey Kony Microsoft &#8230; <a href="http://armand.eu/blog/baas-backend-as-a-service-review-2014/" class="more-link">Continue reading <span class="screen-reader-text">BaaS (Backend as a service) review &#8211; 2014</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_85" style="width: 964px;" class="wp-caption aligncenter"><img class="size-full wp-image-85" src="http://armand.eu/blog/wp-content/uploads/2014/09/Firewall.png.jpg" alt="MBaaS (Mobile Backend as a Service)" width="964" height="336" /><figcaption class="wp-caption-text">MBaaS (Mobile Backend as a Service)</figcaption></figure>
<p>For my projects I was studying some of the services available today and to keep track of the results in future and also to share them with anyone who would be interested I&#8217;ll put a list of services I found promising here:</p>
<ul>
<li><a title="Firebase" href="https://www.firebase.com/" target="_blank">FireBase</a></li>
<li><a title="Apigee" href="https://apigee.com" target="_blank">Apigee</a></li>
<li><a title="Appcelerator" href="http://www.appcelerator.com/" target="_blank">appcelerator</a></li>
<li><a title="AWS Mobile Services" href="http://aws.amazon.com/mobile/" target="_blank">AWS Mobile Services</a></li>
<li><a title="CloudMine" href="https://cloudmine.me/" target="_blank">CloudMine</a></li>
<li><a title="FeedHenry" href="http://www.feedhenry.com/" target="_blank">FeedHenry</a></li>
<li><a title="IBM BlueMix" href="www.ibm.com/bluemix" target="_blank">IBM BlueMix</a></li>
<li><a title="Kinvey" href="http://www.kinvey.com/" target="_blank">Kinvey</a></li>
<li><a title="Kony" href="http://www.kony.com/" target="_blank">Kony</a></li>
<li><a title="Microsoft Azure" href="http://azure.microsoft.com/en-us/services/mobile-services/" target="_blank">Microsoft Azure</a></li>
<li><a title="Parse" href="https://parse.com/" target="_blank">Parse</a></li>
<li><a title="Salesforce" href="https://www.salesforce.com" target="_blank">Salesforce</a></li>
<li><a title="SAP" href="http://www.sap.com" target="_blank">SAP</a></li>
</ul>
<p>Have a good day!<br />
mim, <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/baas-backend-as-a-service-review-2014/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Objects like Arrays in JavaScript.</title>
		<link>http://armand.eu/blog/how-to-use-objects-like-arrays-in-javascript/</link>
		<comments>http://armand.eu/blog/how-to-use-objects-like-arrays-in-javascript/#comments</comments>
		<pubDate>Thu, 17 Jul 2014 22:06:38 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Array]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Keys]]></category>
		<category><![CDATA[Length]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[OOP]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=79</guid>
		<description><![CDATA[In some situations, there can be a lot of advantages of using Objects instead of Arrays in JavaScript. But some of programmers just don&#8217;t like objects! Here I don&#8217;t want to enter this debate about why or what! I just want to show you how to use a JavaScript Object like an Array! So one &#8230; <a href="http://armand.eu/blog/how-to-use-objects-like-arrays-in-javascript/" class="more-link">Continue reading <span class="screen-reader-text">Using Objects like Arrays in JavaScript.</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In some situations, there can be a lot of advantages of using Objects instead of Arrays in JavaScript.<br />
But some of programmers just don&#8217;t like objects! Here I don&#8217;t want to enter this debate about why or what! I just want to show you how to use a JavaScript Object like an Array!</p>
<p>So one of the very useful methods of Arrays (in JavaScript! otherwise it&#8217;s just the opposite side let&#8217;s say in Java for example!) is that you can get and set the length of any array any-time you want! then you can iterate between items inside the array and do literally any thing you want (you can do this because you know the length!).</p>
<p>And you can do the exact (well in pragmatic point of view) same thing in new versions of JavaScript with Objects too! using the Keys function:</p>
<pre class="syntaxbox  language-html" data-prism-prevent-line-number="1"><code class=" language-javascript">Object.keys(obj);
</code></pre>
<p>But you should know that: first of all this wasn&#8217;t there in older versions of JavaScript (So your code wouldn&#8217;t function properly in old IE browsers for instance) and secondary, in proprietary / customized versions of JavaScript that aren&#8217;t that fast to get up to date with the advances of JavaScript, you won&#8217;t probably have it even in the future! (for example in Adobe products they are still using VERY old versions of JS in their VERY modern products), so what can you do about it?</p>
<p>Here is the solution!<br />
If your problem is old browsers / IE, you can use <a title="Add compatible Object.keys support in older environments that do not natively support it." href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys#Polyfill" target="_blank">sophisticated Amazon solution</a> which will make the functionality available in most of the older browsers /IE:<br />
<script src="https://gist.github.com/mim-Armand/fc8c929c0b12d34ed412.js"></script><br />
<small>Please note that you can use this function in other environments as well, but it would be a little bit over-kill since in embedded systems for example you may know most of the times the version of JavaScript and if it&#8217;s available or not so you don&#8217;t need to and probably shouldn&#8217;t check it!</small></p>
<p>And for the environments, where you know that uses an older version of JavaScript and/or this function doesn&#8217;t exist, you can write a very simple function yourself that will tell you the length of the object properties and the key values (since knowing only the length won&#8217;t help you, since you can&#8217;t access properties by index!) like so:</p>
<p><script src="https://gist.github.com/mim-Armand/f7f1015d040969b52b82.js"></script><br />
<small>Here by passing an object to this function you will get back an array of Object property keys and of-course you can get the length from it like a simple array as well!</small></p>
<p>As you see it is a super simple and very short function!</p>
<p>See you later, mim, <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/how-to-use-objects-like-arrays-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe InDesign Plugin &#8220;ID ToolKit&#8221; v0.1 Beta release! (soon!)</title>
		<link>http://armand.eu/blog/adobe-indesign-plugin-id-toolkit-v0-1-beta-release-soon/</link>
		<comments>http://armand.eu/blog/adobe-indesign-plugin-id-toolkit-v0-1-beta-release-soon/#comments</comments>
		<pubDate>Wed, 09 Jul 2014 17:39:54 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Adobe ExtendScript]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[ID-ToolKit]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Demonstration]]></category>
		<category><![CDATA[ExtendScript]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[mim.Armand]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[ToolKit]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=76</guid>
		<description><![CDATA[Here is a video of the plug-in (or extension!) in action! I hope you like it!]]></description>
				<content:encoded><![CDATA[<p><iframe width="640" height="360" src="//www.youtube.com/embed/ruQRnnkXjnU?rel=0&#038;vq=hd1080" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>Here is a video of the plug-in (or extension!) in action!<br />
I hope you like it! <img src="http://armand.eu/blog/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/adobe-indesign-plugin-id-toolkit-v0-1-beta-release-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Icon set for my InDesign plugin!</title>
		<link>http://armand.eu/blog/an-icon-set-for-my-indesign-plugin/</link>
		<comments>http://armand.eu/blog/an-icon-set-for-my-indesign-plugin/#comments</comments>
		<pubDate>Sun, 06 Jul 2014 20:06:51 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[graphic design]]></category>
		<category><![CDATA[ico]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[icon design]]></category>
		<category><![CDATA[icon-set]]></category>
		<category><![CDATA[icon.ico]]></category>
		<category><![CDATA[icon.png]]></category>
		<category><![CDATA[indesign toolkit]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=74</guid>
		<description><![CDATA[Here is the Icon-set I designed for my InDesign plugin! I guess I like the last one on the right in the second row more! what you think?! Also I am still thinking about the name of the plugin but sofar I guess I&#8217;ll stick with the one I picked from the beginning! &#8220;InDesign ToolKit!&#8221; &#8230; <a href="http://armand.eu/blog/an-icon-set-for-my-indesign-plugin/" class="more-link">Continue reading <span class="screen-reader-text">An Icon set for my InDesign plugin!</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_75" style="width: 450px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/07/indesign_toolkit_iconset.jpg"><img class="size-full wp-image-75" src="http://armand.eu/blog/wp-content/uploads/2014/07/indesign_toolkit_iconset.jpg" alt="An Icon-set for my InDesign plugin!" width="450" height="270" /></a><figcaption class="wp-caption-text">An Icon-set for my InDesign plugin!</figcaption></figure>
<p>Here is the Icon-set I designed for my InDesign plugin! I guess I like the last one on the right in the second row more! what you think?!</p>
<p>Also I am still thinking about the name of the plugin but sofar I guess I&#8217;ll stick with the one I picked from the beginning! &#8220;InDesign ToolKit!&#8221; <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>PS: Ah! And I designed a title logo as well! I&#8217;ll post it later! I didn&#8217;t need to design this many logos and icons, but I like to! :))</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/an-icon-set-for-my-indesign-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change app Icon in Processing (for Windows)</title>
		<link>http://armand.eu/blog/how-to-change-app-icon-in-processing-for-win/</link>
		<comments>http://armand.eu/blog/how-to-change-app-icon-in-processing-for-win/#comments</comments>
		<pubDate>Fri, 04 Jul 2014 16:06:40 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[*.ico file]]></category>
		<category><![CDATA[*icns file]]></category>
		<category><![CDATA[changinf app icon]]></category>
		<category><![CDATA[changing title bar icon]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[icon file]]></category>
		<category><![CDATA[processing hacks]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=71</guid>
		<description><![CDATA[For one of my projects I was looking up to see how and if I can change the exported application Icon from Processing and surprisingly found nothing! In-fact looks like that you can change Icons easily in Mac OS: by using &#8220;Show Package Contents&#8221; and editing Info.plist or replacing sketch.icns with something more exciting. But &#8230; <a href="http://armand.eu/blog/how-to-change-app-icon-in-processing-for-win/" class="more-link">Continue reading <span class="screen-reader-text">How to change app Icon in Processing (for Windows)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_72" style="width: 512px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/07/processing2-logo.jpg"><img class="size-full wp-image-72" src="http://armand.eu/blog/wp-content/uploads/2014/07/processing2-logo.jpg" alt="Processing 2 logo (Processing.org)" width="512" height="512" /></a><figcaption class="wp-caption-text">Processing 2 logo (Processing.org)</figcaption></figure>
<p>For one of my projects I was looking up to see how and if I can change the exported application Icon from Processing and surprisingly found nothing!<br />
In-fact looks like that <a title="search the page for &quot;icon&quot; keyword" href="http://wiki.processing.org/w/Export_Info_and_Tips" target="_blank">you can change Icons easily</a> in Mac OS:</p>
<blockquote><p>by using &#8220;Show Package Contents&#8221; and editing Info.plist or replacing sketch.icns with something more exciting.</p></blockquote>
<p>But you are out of luck in Windows! although you can change the title bar&#8217;s icon using <a title="Fun with the frame object" href="http://wiki.processing.org/w/Fun_with_the_frame_object" target="_blank">frame object</a> like:<br />
<script src="https://gist.github.com/mim-Armand/492121291be9540ed6d3.js"></script></p>
<p>Although even that doesn&#8217;t work perfectly since you are limited to a 16&#215;16 px icon which looks horrible (when you use alt-tab for instance in Windows, etc.) But anyway I didn&#8217;t find anything explaining how to change the application icon itself (that means even before running it), then I tried a few resource hacker/ editor tool-kits, like <a title="Resource Editor by Andres Melander" href="http://melander.dk/reseditor/" target="_blank">Resource Editor</a> by Anders Melander, <a title="XN Resource Editor by Collin Wilson" href="http://www.wilsonc.demon.co.uk/d10resourceeditor.htm" target="_blank">XN Resource Editor</a> by Colin Wilson, to edit embedded icons later-on (after exporting the app) which kind of work (you&#8217;ll be able to just edit a few icon resolutions and your pretty much limited to the tools you have access to in the toolkit, and you have to repeat the task every-time you want to rebuild the app!), hmm! yeah but not very convenient! so I started digging in processing source files and found out you have a better chance if you edit and build it yourself but then I found even an easier way to do it!</p>
<h2>Solution:</h2>
<p>1. Create your Multi-page / multi-resolution Icon file (I did a lot of research to find a way to do this too! and only &#8220;good&#8221; options available (to my knowledge) are 1. <a title="FavIcon Web Page Link Thumbnail by ImageMagick" href="http://www.imagemagick.org/Usage/thumbnails/#favicon" target="_blank">using</a> <a title="ImageMagick®" href="http://www.imagemagick.org/" target="_blank">ImageMagick </a>command line tool, and  2. awesome free <a title="Free GNU Image Manipulation Program!" href="http://www.gimp.org/" target="_blank">GIMP </a>(Even Adobe CS doesn&#8217;t have this options!) (you need: 16&#215;16, 32&#215;32, 48&#215;48, 64&#215;64, 128&#215;128, 256&#215;256 px versions of it in one file with color depth of 32)</p>
<p>2. Duplicate your *.ico file and change the extension of one of them to *.icns then rename both of them to &#8220;sketch&#8221; ( sketch.icns and sketch.ico )</p>
<p>3. In your processing folder (where you installed/copied the software) navigate to these two address:<br />
<code>(processing-2.2.x)\modes\java\application</code><br />
and:<br />
<code>(processing-2.2.x)\modes\java\application\template.app\Contents\Resources</code></p>
<p>4. make a back-up of sketch.ico and sketch.icns files and replace the original ones with your new files (please be aware that it will change the icons in all the exported apps forever and not just for the current sketch -if there is any!-  (as far as you don&#8217;t restore your backed-up icon files))</p>
<p>5. That&#8217;s it! now if you export your app it will have the new icons (the file icon viewable from the explorer) and of-course to change the title-bar icon you should still use the code mentioned above.</p>
<p>&#8211; Alright! Please let me know if you had any questions or if it didn&#8217;t work for you, <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
,mim</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/how-to-change-app-icon-in-processing-for-win/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hard at work on an InDesign plugin! (wait for beta testing release!)</title>
		<link>http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/</link>
		<comments>http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/#comments</comments>
		<pubDate>Wed, 02 Jul 2014 12:06:18 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Adobe ExtendScript]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[beta release]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ExtendScript]]></category>
		<category><![CDATA[hard at work]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[indesign plugin]]></category>
		<category><![CDATA[mim.Armand]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=69</guid>
		<description><![CDATA[Once I said: Developing software is like panning for gold, you may find something that shines to you, but before getting it to market you just don&#8217;t know if it is real!! I&#8217;m hard at work on my first InDesign plugin! and that&#8217;s why I&#8217;m not that active for the moment here! It&#8217;s been more &#8230; <a href="http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/" class="more-link">Continue reading <span class="screen-reader-text">Hard at work on an InDesign plugin! (wait for beta testing release!)</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_70" style="width: 612px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/07/Indesign_plugin_preview_02.jpg"><img class="size-full wp-image-70" src="http://armand.eu/blog/wp-content/uploads/2014/07/Indesign_plugin_preview_02.jpg" alt="In-Design plugin preview (one of the few dialogs of the UI)" width="612" height="492" /></a><figcaption class="wp-caption-text">In-Design plugin preview (one of the few dialogs of the UI)</figcaption></figure>
<p>Once I said:</p>
<blockquote><p>Developing software is like panning for gold, you may find something that shines to you, but before getting it to market you just don&#8217;t know if it is real!!</p></blockquote>
<p>I&#8217;m hard at work on my first InDesign plugin! and that&#8217;s why I&#8217;m not that active for the moment here! It&#8217;s been more than two weeks already that I started working on it and it&#8217;s going very well so far!</p>
<p>So I think I&#8217;ll be able to announce a pre-release beta testing call for it in few days (or weeks perhaps!), I worked really hard on it and the plugin with all its options won&#8217;t be available for free ( will be free during beta testing) but I will release a free version as well for folks just like myself who can&#8217;t afford paying for these kind of stuff! After all I hope to be able to sell a few of it after all these nights staying awake and writing codes till morning!</p>
<p>Please let me know if you are interested in the beta release.<br />
Also I have to pick a name for my plugin! so please let me know if you have an idea about it! :))</p>
<p>Ok, back to work! <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> have a good day!</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/hard-at-work-on-an-indesign-plugin-wait-for-beta-testing-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>manage paths in Adobe Extend-Script</title>
		<link>http://armand.eu/blog/manage-paths-in-adobe-extend-script/</link>
		<comments>http://armand.eu/blog/manage-paths-in-adobe-extend-script/#comments</comments>
		<pubDate>Wed, 25 Jun 2014 18:45:45 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Adobe ExtendScript]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Absolute path]]></category>
		<category><![CDATA[Adobe CS]]></category>
		<category><![CDATA[Adobe extend-script]]></category>
		<category><![CDATA[AES]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Paths]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Relative path]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=62</guid>
		<description><![CDATA[Managing paths obtained from Adobe Extend-Script, Specially when you want to share these paths with an external 3th application (to do things which aren&#8217;t possible with just ExtendScript) is kind of difficult! For instance let&#8217;s say we want to get the Path of an In-Design file being opened (and in front) in in-Design, we may &#8230; <a href="http://armand.eu/blog/manage-paths-in-adobe-extend-script/" class="more-link">Continue reading <span class="screen-reader-text">manage paths in Adobe Extend-Script</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_66" style="width: 674px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/Header_cs_sdk_brnd_ex.jpg"><img class="size-full wp-image-66" src="http://armand.eu/blog/wp-content/uploads/2014/06/Header_cs_sdk_brnd_ex.jpg" alt="Adobe Exten-Script (source: internet)" width="674" height="208" /></a><figcaption class="wp-caption-text">Adobe Exten-Script (source: internet)</figcaption></figure>
<p>Managing paths obtained from Adobe Extend-Script, Specially when you want to share these paths with an external 3th application (to do things which aren&#8217;t possible with just ExtendScript) is kind of difficult!<br />
For instance let&#8217;s say we want to get the Path of an In-Design file being opened (and in front) in in-Design, we may simply do:</p>
<p><script src="https://gist.github.com/mim-Armand/10bf1ff8483dc5d7ad5c.js"></script><br />
 And get:</p>
<figure id="attachment_63" style="width: 299px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_01.jpg"><img class="size-full wp-image-63" src="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_01.jpg" alt="alert(app.activeDocument.filePath);" width="299" height="181" /></a><figcaption class="wp-caption-text">alert(app.activeDocument.filePath);</figcaption></figure>
<p>But there is obviously 3 (+1 not obvious here!) possible problems with this path (even if you can transfer that variable as easily as shout it out in an alert! <small>look at #3</small>):</p>
<ol>
<li>the Tilde (<a title="Tilde on Wikipedia!" href="http://en.wikipedia.org/wiki/Tilde" target="_blank"><code>~</code></a>) character at the beginning, an environment variable meaning &#8220;<a title="Home Directory Path" href="http://en.wikipedia.org/wiki/Home_directory" target="_blank">Home Directory</a>&#8220;, which is not a recognizable standard character in all the different programing environments (for instance it&#8217;d be <a title="Batch parameters" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true" target="_blank"><code>%~dp0</code></a> in <a title="Windows Batch Scripting" href="http://en.wikibooks.org/wiki/Windows_Batch_Scripting" target="_blank">Batch scripting</a> and <code><a title="System Properties in Java" href="http://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html" target="_blank">user.home</a></code>, (<a title="Bug # 4787391 (mostly Windows Fault than Java!)" href="http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4787931" target="_blank">more or less!</a>) in Java) although it is supposed to be the absolute path using above code!</li>
<li>existence of Slash characters (<a title="Slash character" href="http://en.wikipedia.org/wiki/Slash_%28punctuation%29" target="_blank"><code>/</code></a>) in the path instead of Backslash (<a title="Backslash character" href="http://en.wikipedia.org/wiki/Backslash" target="_blank"><code>\</code></a>), making it hard (not so much tho!) to send it through a <a title="JSON (JavaScript Object Notation)" href="http://json.org/" target="_blank">JSON</a> package for example (or save it in a <a title="Batch File" href="http://en.wikipedia.org/wiki/Batch_file" target="_blank">batch file</a> -again- for instance), be-cause in most environments it&#8217;d be considered as a <a title="Escape characters" href="http://en.wikipedia.org/wiki/Escape_character" target="_blank">escape character</a> and not a path level separator.</li>
<li>It is an object and not a string (apparently!) and you can send, save or sometimes even use the <a title="myPath var in the above Gist" href="https://gist.github.com/mim-Armand/10bf1ff8483dc5d7ad5c#file-aes_path_01-jsx" target="_blank"><code>myPath</code> </a>variable for instance directly! (it will give you an <code>[object]</code> instead of the path, <small>which I <b>guess</b> should be the parent <code>File object</code> itself</small>)</li>
<li>in addition if our file wasn&#8217;t in our Desktop folder and was in a disk drive instead, we would have this problem too:
<figure id="attachment_64" style="width: 164px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_02.jpg"><img class="size-full wp-image-64" src="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_02.jpg" alt="alert(app.activeDocument.filePath);" width="164" height="181" /></a><figcaption class="wp-caption-text">alert(app.activeDocument.filePath);</figcaption></figure>
<p>as you can see, an additional Slash character (<a title="Slash character" href="http://en.wikipedia.org/wiki/Slash_%28punctuation%29" target="_blank"><code>/</code></a>) before the Drive letter (c)! which is incomprehensible to me why it is!! but it seems that Extend-Script itself doesn&#8217;t have any problem with it, but as I said when you want o communicate with 3th party apps it will become a problem immediately!
</li>
<p>    So as you may guess there is a lot of solutions for any and each of mentioned problems, but here I just wanted to suggest the most convenient one I figured out after trying a lot of different shenanigan techniques!<script src="https://gist.github.com/mim-Armand/1124e39b165172f1129e.js"></script><br />
Here we used <a title="Regulra expressions" href="https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions" target="_blank">Regular Expression</a> Patterns to <a title="str.replace(regexp|substr, newSubStr|function[,flags]);" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace" target="_blank"><code>Replace()</code></a> all (by using the <code>g</code> pseudo) the Slashes with Backslashes and by using <a title="Look at the references for fsName!" href="http://www.jongware.com/idjshelp.html" target="_blank"><code>fsName</code> </a>instead of <a title="look at the references for filePath!" href="http://www.jongware.com/idjshelp.html" target="_blank"><code>filePath</code> </a>eliminating other problems (like getting &#8220;relative paths&#8221; (or fake absolutes!) instead of absolutes and the beginning slash character)<br />
And the result:</p>
<figure id="attachment_65" style="width: 398px;" class="wp-caption aligncenter"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_03.jpg"><img class="size-full wp-image-65" src="http://armand.eu/blog/wp-content/uploads/2014/06/AES_path_03.jpg" alt="alert(app.activeDocument.fullName.parent.fsName).toString().replace(/\\/g, '/');" width="398" height="180" /></a><figcaption class="wp-caption-text">alert(app.activeDocument.fullName.parent.fsName).toString().replace(/\\/g, &#8216;/&#8217;);</figcaption></figure>
<p>Awesome! <img src="http://s.w.org/images/core/emoji/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
<small>Please let me know if you have a better idea to this or if you see a problem or something, I appreciate it <img src="http://s.w.org/images/core/emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></small><br />
mim,</p>
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/manage-paths-in-adobe-extend-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>working with measurement units in adobe extendScript</title>
		<link>http://armand.eu/blog/working-with-measurement-units-in-adobe-extendscript/</link>
		<comments>http://armand.eu/blog/working-with-measurement-units-in-adobe-extendscript/#comments</comments>
		<pubDate>Tue, 24 Jun 2014 19:47:25 +0000</pubDate>
		<dc:creator><![CDATA[mim]]></dc:creator>
				<category><![CDATA[Adobe ExtendScript]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Agates]]></category>
		<category><![CDATA[Centimeters]]></category>
		<category><![CDATA[change units in extendScript]]></category>
		<category><![CDATA[Ciceros]]></category>
		<category><![CDATA[Extend-Script]]></category>
		<category><![CDATA[ExtendScript]]></category>
		<category><![CDATA[in-design]]></category>
		<category><![CDATA[Inches]]></category>
		<category><![CDATA[Inches Decimal]]></category>
		<category><![CDATA[indesign scripts]]></category>
		<category><![CDATA[measurement]]></category>
		<category><![CDATA[Millimeters]]></category>
		<category><![CDATA[Picas]]></category>
		<category><![CDATA[Pixels]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Points]]></category>
		<category><![CDATA[units]]></category>

		<guid isPermaLink="false">http://armand.eu/blog/?p=58</guid>
		<description><![CDATA[While working with Adobe ExtendScript to extend Adobe CS features (through scripts and/or plugins), there is a good chance you need to get or set an elements dimensions (document dimensions for instance). When you ask the Software about the dimensions, it will give you back a number, but this number could be in a lot &#8230; <a href="http://armand.eu/blog/working-with-measurement-units-in-adobe-extendscript/" class="more-link">Continue reading <span class="screen-reader-text">working with measurement units in adobe extendScript</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<figure id="attachment_60" style="width: 466px;" class="wp-caption alignnone"><a href="http://armand.eu/blog/wp-content/uploads/2014/06/1368370718153279968windows_8_icons_measurement_units1.png"><img class=" wp-image-60" src="http://armand.eu/blog/wp-content/uploads/2014/06/1368370718153279968windows_8_icons_measurement_units1.png" alt="measurement_units (img from internet)" width="466" height="118" /></a><figcaption class="wp-caption-text">measurement_units (img from internet)</figcaption></figure>
<p style="text-align: justify;">While working with <a title="Adobe extend script" href="http://www.adobe.com/devnet/scripting.html" target="_blank">Adobe ExtendScript</a> to extend <a title="Adobe dot com!" href="https://www.adobe.com" target="_blank">Adobe CS</a> features (through scripts and/or plugins), there is a good chance you need to get or set an elements dimensions (document dimensions for instance).<br />
When you ask the Software about the dimensions, it will give you back a number, but this number could be in a lot of different units (Points, <a title="Pica in Wikipedia" href="http://en.wikipedia.org/wiki/Pica_%28typography%29" target="_blank">Picas</a>, Inches, Inches <a title="Decimal" href="http://en.wikipedia.org/wiki/Decimal" target="_blank">Decimal</a>, Millimeters, Centimeters, <a title="Cisero" href="http://en.wikipedia.org/wiki/Cicero_%28typography%29" target="_blank">Ciceros</a>, <a title="Agate (unit)" href="http://en.wikipedia.org/wiki/Agate_%28typography%29" target="_blank">Agates</a>, Pixels, etc.) and it&#8217;s gonna be the same when you set a number as well.<br />
There is a lot of different ways to handle this issue, like getting the unit as well and trying to convert them etc. but it may add a huge overload on your code, your time and a lot of unnecessary complexity which can make your code harder to debug as-well.</p>
<p style="text-align: justify;">Here I&#8217;ll put a simple solution I use in my own codes which may come helpful to you too (This code is written for In-design but should work less or more for the whole CS collection -maybe with a bit of tweaking- ):</p>
<p style="text-align: justify;">I just get the current document units (for both Vertical and Horizontal measurement units in In-Design), keep them in a (pair of) variable(s) (I check to see if the variable is defined before and set it if it isn&#8217;t defined already, doing this we can be sure that even if we forgot to remove the vars later on, we don&#8217;t set them to our newly defined units again), change the units (for the whole document) and run my code and then when I was done with it change it back to original units and remove the created variables.<br />
I found this technique to be the easiest, cleanest, fastest and the most performant way to handle the units issue in extend-script.</p>
<p style="text-align: justify;">Here is the simple code I use; two functions, one to run before the main script and one when the script was done to set everything back to what they were before we run the script:<br />
<script src="https://gist.github.com/mim-Armand/53f825c889995b4a65e0.js"></script></p>
<p style="text-align: justify;">Note: here I use the very front document but you can easily pass desired document to the function through an argument as well.</p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://armand.eu/blog/working-with-measurement-units-in-adobe-extendscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
