<?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>I Me Mine</title>
	<atom:link href="http://www.imemine.it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imemine.it</link>
	<description>Experiments</description>
	<lastBuildDate>Wed, 07 Dec 2011 07:29:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Repeat last command Alfred extension</title>
		<link>http://www.imemine.it/2011/12/01/repeat-last-command-alfred-extension/</link>
		<comments>http://www.imemine.it/2011/12/01/repeat-last-command-alfred-extension/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 01:09:48 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=98</guid>
		<description><![CDATA[I thought it could be useful if there was a way to tell Alfred to repeat the last command issued. I know that there is the option to remember the last query (in Appearance-&#62;Options you can turn it on). So I made a little extension that is nothing more than a trick to tell Alfred [...]]]></description>
			<content:encoded><![CDATA[<p>I thought it could be useful if there was a way to tell Alfred to repeat the last command issued. I know that there is the option to remember the last query (in Appearance-&gt;Options you can turn it on).</p>
<p>So I made a little extension that is nothing more than a trick to tell Alfred to repeat last command (having the &#8220;Remember the last query&#8221; option activated).</p>
<p>After installing this extension (download <a href="http://www.imemine.it/wp-content/uploads/2011/11/Repeat.alfredextension.zip" target="_blank">here</a>) you must create a global hotkey that call it.</p>
<p>I&#8217;ve chosen to assign the double tap on CTRL key (for a reason that I&#8217;ll explain below)</p>
<p>This extension come in handy used with command like another extension I have made (<a href="http://www.imemine.it/2011/11/24/use-alfred-almost-as-an-osx-service-updated/" target="_blank">this one</a> that let you apply a text filter to the selected text in any application &#8211; almost any).</p>
<p>Just an example (using the Filter extension):</p>
<p>1) I have a text document and I have to change several word to UPPERCASE &#8211; I select the first word and issue a &#8220;flt uc&#8221; command with Alfred</p>
<p>2) for the other words I only have to select the word and double tap on the CTRL key (the Repeat extension invokes Alfred and tell him to repeat the &#8220;fly uc&#8221; command)</p>
<p>There are some caveats:</p>
<p>1) the hotkey to invoke Alfred is hardcoded in the source of the extension (maybe there is a way to get it automatically but I had not time to investigate). At this time it&#8217;s my Alfred hotkey: OPTION + SPACE &#8211; If you have another key combo to invoke it you must change the extension accordingly.</p>
<p>2) the &#8221;Remember the last query&#8221; option in Appearance-&gt;Options must be activated</p>
<p>3) the extension send a RETURN keystroke to Alfred after invoking it so the command that is executed is the first listed by the last query.</p>
<p>4) the extension wait for a short time for the Alfred window to appear, you can change it and see how it works for you.</p>
<p>5) I&#8217;ve chosen to assign a double tap CTRL key combo to the Repeat hotkey because when the applescript of the extension send the keystrokes <strong>there must not be other key pressed</strong>. Otherwise it does not work.</p>
<p>The last thought is that perhaps it could be handy if there was a &#8220;Repeat last command&#8221; internal command in Alfred to be assigned directly to a global hotkey. An idea for Andrew&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/12/01/repeat-last-command-alfred-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Alfred (almost) as an OSX Service (UPDATED)</title>
		<link>http://www.imemine.it/2011/11/24/use-alfred-almost-as-an-osx-service-updated/</link>
		<comments>http://www.imemine.it/2011/11/24/use-alfred-almost-as-an-osx-service-updated/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 14:12:24 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=85</guid>
		<description><![CDATA[I was trying to extend the use of Alfredapp so that it could act on the currently selected text in the frontmost application. Here is the extension I&#8217;ve come out with&#8230;. something like a text filter (it can make text UPPERCASE, lowercase, strip HTML tags, expand a Zen coding selector &#8230; etc&#8230; see below or [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to extend the use of Alfredapp so that it could act on the currently selected text in the frontmost application.</p>
<p>Here is the extension I&#8217;ve come out with&#8230;. something like a  text filter (it can make text UPPERCASE, lowercase, strip HTML tags,  expand a Zen coding selector &#8230; etc&#8230; see below or have a look at the  filter.php file in the extension for the options).</p>
<p>You can download the extension <a href="http://www.imemine.it/wp-content/uploads/2011/11/Filter.alfredextension">here</a>.</p>
<p>It works like this (it&#8217;s a mix of applescript and php&#8230; perhaps  there are other ways to do this but it seems to work now &#8211; any  suggestion is welcome):</p>
<p>1) You select a text  you want to modify in an application (Textedit for example)</p>
<p>2) You invoke Alfred and the extension downloaded &#8211; I called it Filter (flt is the keyword) &#8211; like this: <strong>flt uc</strong> (where uc is the Alfredapp {query})</p>
<p>3) The command  gets the current content of the selection with applescript and write it to a tmp file (/tmp/paste.txt) &#8211; issuing a CMD &#8211; C with applescript</p>
<p>4) It invoke a php script passing it the parameter (uc in this  example)</p>
<p>5) The php script read the text from /tmp/paste.txt and apply the  text transform action chosen with the parameter (uc = UPPERCASE)</p>
<p>6) The output from the script is copied to the clipboard with pbcopy terminal command</p>
<p>7) The content of the clipboard is then pasted in the frontmost application taking the place of the current selection</p>
<p>It works almost like a standard OSX system service and it&#8217;s easy to add new functionality to the script&#8230;</p>
<p>At this time it accepts the following parameters:</p>
<p><strong>uc</strong>: UPPERCASE current selection<br />
<strong>lc</strong>: lowercase current selection<br />
<strong>uw</strong>: Uppercase All The Words In The Selection<br />
<strong>uf</strong>: Uppercase first word<br />
<strong>st</strong>: strip HTML tags<br />
<strong>zc</strong>: do a ZenCoding expand of the current selection (mainly usefull for web developers&#8230; see what ZenCoding is <a title="Zen Coding" href="http://code.google.com/p/zen-coding/" target="_blank">here</a>)</p>
<p>This is a version of the script packed as an Alfred extension&#8230; (I made some time ago another one (before Alfred could import/esport extensions) but it is replaced by this)</p>
<p>A warning &#8230; being an applescript it&#8217;s not so speedy&#8230; so it takes some time to work on my machine&#8230; your mileage may vary.</p>
<p><strong>PS</strong>: the script make use of <a href="http://philipwalton.com/2011/04/06/zen-coding-for-php-and-wordpress/" target="_blank">this class</a> from <a title="View all posts by Philip Walton" href="http://philipwalton.com/author/philip/" target="_blank">Philip Walton</a> for Zen Coding expand feature and is inspired by the works of @jdfwarrior (see <a href="http://jdfwarrior.tumblr.com/" target="_blank">http://jdfwarrior.tumblr.com/</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/11/24/use-alfred-almost-as-an-osx-service-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Find Lyrics and Set Lyrics in iTunes Alfred extensions</title>
		<link>http://www.imemine.it/2011/11/11/find-lyrics-and-set-lyrics-in-itunes-alfred-extensions/</link>
		<comments>http://www.imemine.it/2011/11/11/find-lyrics-and-set-lyrics-in-itunes-alfred-extensions/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 23:48:45 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[alfred]]></category>
		<category><![CDATA[extension]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=80</guid>
		<description><![CDATA[I&#8217;ve used several utilities to fill the Lyrics field of my mp3 library with varying results. There are always songs which lyrics are not found. So I came up with this couple of extensions for Alfred to speed up a bit the process of retrieving lyrics. There are two extensions: - Find Lyrics: (fl keyword) [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used several utilities to fill the Lyrics field of my mp3 library with varying results. There are always songs which lyrics are not found.<br />
So I came up with this couple of extensions for Alfred to speed up a bit the process of retrieving lyrics.</p>
<p>There are two extensions:<br />
- <strong>Find Lyrics</strong>: (fl keyword) which takes care of launching Safari to make a Google search of the track title + artist of the current track playing in iTunes<br />
- <strong>Set Lyrics</strong>: (sl keyword) this will copy the current content of the clipboard to the Lyrics field for the track that was searched before</p>
<p>You just have to invoke the first extension when you are listening to a song for which you need to get the lyrics, find the right source for the lyrics in Google results, copy the text and invoke the second extension.</p>
<p>These extensions are made with Alfred v0.9.10 which means you have to provide a parameter when calling the extension&#8230; any string will do, it is simply ignored. In Alfred 1.0 you&#8217;ll be able to call the extensions without parameters. I&#8217;ll make an update to the extensions once Alfred 1.0 is out.</p>
<p><strong>Note</strong>: The Find Lyrics extension save a txt file in your /tmp directory to have a reference to the current track in iTunes (it uses the database id field to be sure to work on the right track) and the Set Lyrics looks in this file to know where to put the contents.</p>
<p>You can download the extension <a href="http://www.imemine.it/wp-content/uploads/2011/11/FindAndSetLyrics.zip">here</a> (zip file).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/11/11/find-lyrics-and-set-lyrics-in-itunes-alfred-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Spotlight on a remote Mac with the help of Folder Actions and Dropbox (and an Alfred extension too)</title>
		<link>http://www.imemine.it/2011/10/27/use-spotlight-on-a-remote-mac-with-the-help-of-folder-actions-and-dropbox-and-an-alfred-extension-too/</link>
		<comments>http://www.imemine.it/2011/10/27/use-spotlight-on-a-remote-mac-with-the-help-of-folder-actions-and-dropbox-and-an-alfred-extension-too/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 07:49:34 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=60</guid>
		<description><![CDATA[I&#8217;ve thought often of how much it could be useful to be able to do a Spotlight search on your Mac at home when you are away. Just for when You need something you forgot to bring with you. Now I think I&#8217;ve found a practical solution. You need the following things to accomplish the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve thought often of how much it could be useful to be able to do a Spotlight search on your Mac at home when you are away.<br />
Just for when You need something you forgot to bring with you.</p>
<p>Now I think I&#8217;ve found a practical solution.</p>
<p>You need the following things to accomplish the task:</p>
<p>- a Mac from which you want to fetch content (your Mac at home, always on and connected)<br />
- a Dropbox account configured on it</p>
<p>The process is as follows</p>
<p>- on your Mac at home you install the files that are in <a title="spotlightremote.zip" href="http://www.imemine.it/wp-content/uploads/2011/10/spotlightremote.zip">this zip file</a>. Uncompress it in your Dropbox folder<br />
- download and install <a title="SpotlightRemoteWorkflow.tar" href="http://www.imemine.it/wp-content/uploads/2011/10/SpotlightRemoteWorkflow.tar">this Folder Action workflow</a> (unzip and double click on it)</p>
<p>Now your Mac is ready to receive commands.</p>
<p>All you have to do is to write a file in the spotlightremote/commands folder named as you wish.</p>
<p>Try writing the string &#8220;find .doc&#8221; without the quotes in a file named <em>find.txt</em> in your ~/Dropbox/spotlightremote/commands folder</p>
<p>After a few seconds you should have a new file created in ~/Dropbox/spotlightremote/output folder, named results.html<br />
It&#8217;s an HTML file with the results of the search.</p>
<p>The interesting part is that having the watched folder in your Dropbox You can execute commands from any pc or Mac with Dropbox client on it and also through the Dropbox web interface.</p>
<p>I&#8217;ve implemented for now only three commands:</p>
<ul>
<li><strong>find</strong>: find files by name (I&#8217;ll try to implement more search types in the future) in your home folder (ex: find .avi)</li>
<li><strong>preview</strong>: create a preview of a single file using the QuickLook engine (<em>qlmanage </em>shell command) and put it in the output folder;  need absolute path as a parameter,  you can copy it from the result.html file you got from a <em>find </em>command clicking on the corresponding link.</li>
<li><strong>copy</strong>: it copies the file you pass as a parameter to the output folder (also need full path of the file as a parameter)</li>
</ul>
<p>The last thing, to speed things up a little, is an <strong>Alfred extension</strong> you can use on your other Mac (your laptop or your Mac at work).<br />
Just <a title="Spotlight Remote.alfredextension.zip" href="http://www.imemine.it/wp-content/uploads/2011/10/Spotlight Remote.alfredextension.zip">download </a>and install.<br />
You can invoke it Just like this:</p>
<p><em>slr find .doc</em></p>
<p>It will save the command in the right place to trigger the folder action.</p>
<p><strong>Important</strong>: the folder action acts only on new files created. You have to first delete your command file and save a new one.  Speed of execution may vary.</p>
<p><strong>Note</strong>: it&#8217;s an experiment and may not work for you &#8211; Use at your own risk &#8211; at this time there are no checks on inputs so there are some security concerns to evaluate (if someone gain access to your Dropbox account may have access to all the files in your Mac at home). I&#8217;ll Try to improve it in the future. To remove the Folder Action go to ~/Library/WorkflowsApplications/Folder Actions/ and delete the Spotlight Remote.workflow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/10/27/use-spotlight-on-a-remote-mac-with-the-help-of-folder-actions-and-dropbox-and-an-alfred-extension-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clipboard History joiner extension for Alfred</title>
		<link>http://www.imemine.it/2011/10/19/clipboard-history-joiner-extension-for-alfred/</link>
		<comments>http://www.imemine.it/2011/10/19/clipboard-history-joiner-extension-for-alfred/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 07:18:31 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[alfred]]></category>
		<category><![CDATA[extension]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=48</guid>
		<description><![CDATA[The Clipboard History in Alfred is a great thing and this extension try to use it for a common task: joining several piece of text copied from different sources. Its use is simple&#8230; just have Clipboard History enabled in Alfred&#8230; An example: you have to copy several pieces of code from an HTML file and [...]]]></description>
			<content:encoded><![CDATA[<p>The Clipboard History in Alfred is a great thing and this extension try to use it for a common task: joining several piece of text copied from different sources.</p>
<p>Its use is simple&#8230; just have Clipboard History enabled in Alfred&#8230;</p>
<p>An example: you have to copy several pieces of code from an HTML file and they are not contiguos.<br />
Just copy them in the sequence you prefer. They are stored in Alfred&#8217;s Clipboard History. Just remember the number of pieces you have copied. Let&#8217;s say you copied 3 pieces of code.</p>
<p>All you have to do is to invoke the extension with 3 as the {query} parameter</p>
<p><strong>cj 3</strong></p>
<p>Now you should have in your clipboard the 3 pieces of code joined (in the sequence you copied them) ready to be pasted where you want.</p>
<p>The extension takes care of removing from clipboard history the joined pieces, so if you have chosen the wrong number as a parameter you can try again.</p>
<p>Please don&#8217;t blame me for the ugly code, shell coding is not my job&#8230; Any suggestion or correction is really appreciated.</p>
<p>Perhaps this could be made in a cleaner way with a Plugin API, but in the meantime you can download the extension <a href="http://www.imemine.it/wp-content/uploads/2011/10/Clipboard-Join.zip">here</a></p>
<p><strong>ATTENTION</strong>: this extension is experimental, it access directly Alfred&#8217;s   clipboard history db. I&#8217;ve tested it only on Leopard and it seems to  work correctly. If something goes wrong maybe your clipboard history db  may become corrupted.</p>
<p><strong>PS</strong>: thanks to @jdfwarrior for his extensions&#8230; they are always a source of inspiration (and I&#8217;ve borrowed some lines of code from his work, mainly the way to find the path of current user home dir)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/10/19/clipboard-history-joiner-extension-for-alfred/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FileZilla Alfred extension</title>
		<link>http://www.imemine.it/2011/10/04/filezilla-alfred-extension/</link>
		<comments>http://www.imemine.it/2011/10/04/filezilla-alfred-extension/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 22:57:02 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=42</guid>
		<description><![CDATA[I&#8217;ve made a simple Alfred extension to open an FTP site in Filezilla. You only need to have it defined in your sites in Filezilla and pass its name as an argument to the extension. For example if  you have a site whose name in Filezilla is &#8220;mywebserver&#8221; just call Alfred and write: fz mywebserver [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a simple Alfred extension to open an FTP site in Filezilla. You only need to have it defined in your sites in Filezilla and pass its name as an argument to the extension.</p>
<p>For example if  you have a site whose name in Filezilla is &#8220;mywebserver&#8221; just call Alfred and write:</p>
<p>fz mywebserver</p>
<p>The extension will open FileZilla and connect to the site.</p>
<p>It uses the parameters you can pass to FileZilla from the command line (see <a title="Filezilla Console parameters" href="http://wiki.filezilla-project.org/Command-line_arguments_(Client)" target="_blank">this</a> for details).</p>
<p>You may have to specify the folder where your site reside in in the Filezilla Site Manager.</p>
<p>You can download the extension <a href="http://www.imemine.it/wp-content/uploads/2011/10/FilezillaOpenSite.alfredextension" target="_blank">here</a>.</p>
<p>Link to Alfred website: <a href="http://www.alfredapp.com/">http://www.alfredapp.com</a></p>
<p>Link to Alfred extensions page:  <a href="http://support.alfredapp.com">http://support.alfredapp.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/10/04/filezilla-alfred-extension/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Use Alfredapp (almost) as an OSX system service</title>
		<link>http://www.imemine.it/2011/07/06/use-alfredapp-almost-as-an-osx-system-service/</link>
		<comments>http://www.imemine.it/2011/07/06/use-alfredapp-almost-as-an-osx-system-service/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 08:03:54 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=37</guid>
		<description><![CDATA[NOTE: this post is outdated&#8230; a new version of it with an Alfred extension ready to be downloaded and used is here I was trying to extend the use of Alfredapp so that it could act on the currently selected text in the frontmost application. Here is the Custom Command I&#8217;ve come out with&#8230;. something [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="color: #993300;"><strong>NOTE</strong>: this post is outdated&#8230; a new version of it with an Alfred extension ready to be downloaded and used is </span><a href="http://www.imemine.it/2011/11/24/use-alfred-almost-as-an-osx-service-updated/"><span style="color: #993300;">here</span></a></p></blockquote>
<p>I was trying to extend the use of Alfredapp so that it could act on the currently selected text in the frontmost application.</p>
<p>Here is the Custom Command I&#8217;ve come out with&#8230;. something like a text filter (it can make text UPPERCASE, lowercase, strip HTML tags, expand a Zen coding selector &#8230; etc&#8230; see below or have a look at the filter.php file for the options).</p>
<p>You can download the files <a href="http://www.imemine.it/wp-content/uploads/2011/07/filter.zip">here</a>. See at the bottom of the article for how to configure it.</p>
<p>It works like this (it&#8217;s a mix of applescript and php&#8230; perhaps there are other ways to do this but it seems to work now &#8211; any suggestion is welcome):</p>
<p>1) You select a text  you want to modify in an application (Textedit for example)</p>
<p>2) You invoke Alfred and the command you have defined &#8211; I called it Filter (flt is the keyword) &#8211; like this: <strong>flt uc</strong> (where uc is the Alfredapp {query})</p>
<p>3) The command  gets the current content of the selection with applescript and write it to a tmp file (/tmp/paste.txt)</p>
<p>4) It invoke a php script (filter.php &#8211; it must be in the same folder of the command applescript) passing it the parameter (uc in this example)</p>
<p>5) The php script read the text from /tmp/paste.txt and apply the text transform action chosen with the parameter (uc = UPPERCASE)</p>
<p>6) The output from the script is copied to the clipboard with pbcopy terminal command</p>
<p>7) The content of the clipboard is then pasted in the frontmost application taking the place of the current selection</p>
<p>It works almost like a standard OSX system service and it&#8217;s easy to add new functionality to the script&#8230;</p>
<p>At this time it accepts the following parameters:</p>
<p>uc: UPPERCASE current selection<br />
lc: lowercase current selection<br />
uw: Uppercase All The Words In The Selection<br />
uf: Uppercase first word<br />
st: strip HTML tags<br />
zc: do a ZenCoding expand of the current selection (see what ZenCoding is <a title="Zen Coding" href="http://code.google.com/p/zen-coding/" target="_blank">here</a>)</p>
<p>Configuration in Alfredapp<br />
Unpack the zip file wherever you put your Alfredapp commands (maybe you already have other ones)</p>
<p>Add a command to Alfredapp from the Preferences</p>
<blockquote><p>osascript &lt;path to where you extracted the zip&gt;/filter.scpt {query}</p></blockquote>
<p>I&#8217;ve named it &#8220;filter&#8221; with a &#8220;flt&#8221; keyword. Choose one you like.<br />
Make it silent and test it.</p>
<p>A warning &#8230; being an applescript it&#8217;s not so speedy&#8230; so it takes a few seconds to work on my machine&#8230; your mileage may vary.</p>
<p>PS: the script make use of <a href="http://philipwalton.com/2011/04/06/zen-coding-for-php-and-wordpress/" target="_blank">this class</a> from <a title="View all posts by Philip Walton" href="http://philipwalton.com/author/philip/" target="_blank">Philip Walton</a> for Zen Coding expand feature and is inspired by the works of @jdfwarrior (see <a href="http://jdfwarrior.tumblr.com/" target="_blank">http://jdfwarrior.tumblr.com/</a>)<br />
PPS: a big thank also to the developer of Alfredapp (@preppeller) &#8211; I always have so much fun customizing Alfred&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/07/06/use-alfredapp-almost-as-an-osx-system-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paste the result of a command in the frontmost application (in Alfredapp)</title>
		<link>http://www.imemine.it/2011/07/01/paste-the-result-of-a-command-in-the-frontmost-application-in-alfredapp/</link>
		<comments>http://www.imemine.it/2011/07/01/paste-the-result-of-a-command-in-the-frontmost-application-in-alfredapp/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 07:37:25 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=34</guid>
		<description><![CDATA[I&#8217;ve made a simple applescript that take care to automatically paste the result of a command set in Alfredapp I&#8217;ll use as an example this command made by @jdfwarrior ( a lorem ipsum generator ) &#8211; Install it first. Download this zip file and extract where you like (an alfredscripts folder in Applications?): paste.scpt When [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made a simple applescript that take care to automatically paste the result of a command set in Alfredapp</p>
<p>I&#8217;ll use as an example <a href="http://jdfwarrior.tumblr.com/post/7079854264" target="_blank">this command</a> made by @jdfwarrior ( a lorem ipsum generator ) &#8211; Install it first.</p>
<p>Download this zip file and extract where you like (an alfredscripts folder in Applications?): <a href="http://www.imemine.it/wp-content/uploads/2011/07/paste.scpt_.zip">paste.scpt</a></p>
<p>When you setup the lipsum command just add the following text to the command:</p>
<blockquote><p>; osascript <em>&lt;extracted path&gt;/paste.scpt</em></p></blockquote>
<p><em>Remember to put in also the &#8220;;&#8221; &#8230;.</em></p>
<p><em>Issuing the command with Alfred will auto paste the result of the command in the frontmost application. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/07/01/paste-the-result-of-a-command-in-the-frontmost-application-in-alfredapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two applescript and a workflow for Alfredapp: Find lyrics of the current playing track in iTunes, Set Lyrics of current track, AlfredIgnore</title>
		<link>http://www.imemine.it/2011/06/30/two-applescript-and-a-workflow-for-alfredapp-find-lyrics-of-the-current-playing-track-in-itunes-set-lyrics-of-current-track-alfredignore/</link>
		<comments>http://www.imemine.it/2011/06/30/two-applescript-and-a-workflow-for-alfredapp-find-lyrics-of-the-current-playing-track-in-itunes-set-lyrics-of-current-track-alfredignore/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 22:57:10 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=27</guid>
		<description><![CDATA[Here are two applescripts that come from a macosxhint.com article: FindLyrics.scpt: it is an applescript that try to get the lyrics of the current playing track in iTunes (it opens Safari to do a Google Search) SetLyrics: it gets the current selection in the current window of Safari and put that text in the Lyrics [...]]]></description>
			<content:encoded><![CDATA[<p>Here are two applescripts that come from a macosxhint.com <a href="http://hints.macworld.com/article.php?story=20080713080757867" target="_blank">article</a>:</p>
<p><strong>FindLyrics.scpt</strong>: it is an applescript that try to get the lyrics of the current playing track in iTunes (it opens Safari to do a Google Search)</p>
<p><strong>SetLyrics</strong>: it gets the current selection in the current window of Safari and put that text in the Lyrics panel of the current track in iTunes</p>
<p>Just put them in the Applications folder (maybe You can make a subfolder &#8211; like &#8220;alfredscripts&#8221; &#8211; mine contain also <a href="http://jdfwarrior.tumblr.com/post/7079854264" target="_blank">this script</a> from @jdfwarrior &#8211; a &#8220;Lorem  ipsum sit amet&#8221; generator for Alfredapp)</p>
<p><a href="http://hints.macworld.com/article.php?story=20080713080757867" target="_blank"></a>And for who wants to exclude several files or folders from Alfredapp results  there is a little modification of  the workflow described <a href="http://momentummediadesigns.com/blog/?p=282" target="_blank">here</a>:</p>
<p><a href="http://www.imemine.it/wp-content/uploads/2011/06/alfredignore.jpg"><img class="size-medium wp-image-28 alignright" title="alfredignore" src="http://www.imemine.it/wp-content/uploads/2011/06/alfredignore-300x175.jpg" alt="" width="300" height="175" /></a><strong>AlfredIgnore.workflow (and the corresponding app)</strong>: It&#8217;s a simple workflow for the finder that asks to set comments for the currently selected files (or folders, recursively) with the &#8220;alfred:ignore&#8221; string as a default. I have put the app in the finder toolbar as you can see in the pic (just drag the app there).</p>
<p>You can find all the files in this zip: <a href="http://www.imemine.it/wp-content/uploads/2011/06/alfredscripts.zip">alfredscripts.zip </a> (300KB).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/06/30/two-applescript-and-a-workflow-for-alfredapp-find-lyrics-of-the-current-playing-track-in-itunes-set-lyrics-of-current-track-alfredignore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alfred</title>
		<link>http://www.imemine.it/2011/03/30/alfred/</link>
		<comments>http://www.imemine.it/2011/03/30/alfred/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 23:40:42 +0000</pubDate>
		<dc:creator>maxtofa</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.imemine.it/?p=7</guid>
		<description><![CDATA[Sto scrivendo questo post perchè al momento non ho trovato in rete molto materiale relativo all&#8217;applicazione per Mac OS X Alfred (http://www.alfredapp.com). Penso che sia un&#8217;applicazione veramente comoda e soprattutto, visto il ritmo di sviluppo e i miglioramenti apportati, molto promettente. Alfred in pratica cerca di farvi svolgere nel modo più rapido possibile una delle [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.alfredapp.com/images/alfred-logo.png" alt="" width="200" />Sto scrivendo questo post perchè al momento non ho trovato in rete molto materiale relativo all&#8217;applicazione per Mac OS X Alfred (<a href="http://www.alfredapp.com" target="_blank">http://www.alfredapp.com</a>).<br />
Penso che sia un&#8217;applicazione veramente comoda e soprattutto, visto il ritmo di sviluppo e i miglioramenti apportati, molto promettente.<br />
Alfred in pratica cerca di farvi svolgere nel modo più rapido possibile una delle attività più comuni: la ricerca.<br />
Sia questa la ricerca di applicazioni o file sul computer, la ricerca su siti web. Un rimpiazzo per Spotlight (di cui utilizza l&#8217;infrastruttura) con molte funzionalità aggiuntive.<span id="more-7"></span></p>
<p>Esistono due versioni di Alfred, una gratis che contempla le funzioni base e la versione dotata di PowerPack, una serie di funzionalità aggiuntive (che sono secondo la mia opinione la parte migliore dell&#8217;applicazione).</p>
<p>La versione base permette di:<br />
- Lanciare applicazioni scrivendo solo le prime lettere del nome dell&#8217;applicazione (e Alfred impara dalle vostre scelte&#8230;)<br />
- Accedere velocemente a ricerche web, ai vostri segnalibri e altro (possibilità di definire ricerche custom nei vostri siti preferiti)<br />
- Navigare e suonare la musica della vostra Libreria iTunes<br />
- Effettuare azioni (copia, sposta e invia per email)</p>
<p>Con il PowerPack ci sono anche:<br />
- Navigazione del file system<br />
- Azioni sui risultati di una ricerca file (copia, sposta, invia per email)<br />
- iTunes Mini Player (per controllare iTunes senza usarne l&#8217;interfaccia)<br />
- Clipboard History e Snippets (Alfred tiene in memoria gli ultimi testi copiati nella clipboard di sistema e permette di definire pezzi di testo facilmente richiamabili tramite abbreviazioni)<br />
- ricerca nella Rubrica Indirizzi e azioni sui dati in essa contenuti (copia dati, invia email al contatto)<br />
- Documenti Recenti: accesso rapido ai documenti recenti di una applicazione<br />
- Temi: possibilità di definire l&#8217;aspetto grafico dell&#8217;applicazione<br />
- Ricerche di default custom: se Alfred non riesce a trovare niente vengono suggeriti altri tipi di ricerca<br />
- Possibilità di lanciare comandi shell direttamente dall&#8217;interfaccia di Alfred</p>
<p>Il PowerPack costa al momento £12 (l&#8217;applicazione è alla versione 0.8.2 ed il prezzo credo verrà mantenuto per tutta la fase pre-1.0)</p>
<p>Alcuni link di riferimento con consigli di utilizzo e materiale aggiuntivo (Custom Searches e Temi) si trovano nei seguenti siti:</p>
<p><a href="http://alfredtips.tumblr.com/" target="_blank">http://alfredtips.tumblr.com/</a><br />
<a href="http://alfredtips.com" target="_blank"> http://alfredtips.com</a><br />
<a href="http://preppeller.tumblr.com/" target="_blank"> http://preppeller.tumblr.com/</a> (tumblr dello sviluppatore)</p>
<p>Seguite <a href="http://twitter.com/alfredapp" target="_blank">@alfredapp</a> su twitter per essere informati sugli aggiornamenti.</p>
<p>&nbsp;</p>
<p>E adesso un contributo personale (se trovo il tempo ne seguiranno altri):<br />
<a name="customsearch"></a><br />
<strong>Un modo veloce per creare ricerche custom (Custom Search) in Alfred</strong></p>
<p>Trascinate il seguente link sulla vostra barra dei segnalibri<br />
<a href="javascript:t=document.title;key=prompt('Choose%20keyword','');if(key!=null&#038;&#038;key!=""){v=location.href.replace('alfred','{query}');csu='alfredapp://customsearch/'+t+'/'+key+'/ascii/url='+v;window.open(csu)}">Alfred Custom Search</a></p>
<p>poi:<br />
1) andate su un sito per cui vorreste creare una Custom Search con Alfred&#8230;<br />
2) Cercate la parola &#8220;alfred&#8221; (tutto minuscolo) (&#8230;lo so che non ha senso&#8230;)<br />
3) Cliccate sul segnalibro che avete precedentemente creato</p>
<p>Vi verrà chiesto la parola chiave che vorrete associare alla Custom Search e una richiesta di conferma per aggiungere la stessa in Alfred.</p>
<p>E&#8217; la prima versione e ha bisogno di essere ancora testata. Funziona con Alfred versione 0.8.2 o superiori (sfrutta lo url-scheme &#8220;alfredapp://&#8221; definito a partire da quella versione).<br />
E&#8217; testata solo su Safari e per ricerche che usano charset ASCII, non so come si potrebbe comportare con siti che usano UTF-8.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imemine.it/2011/03/30/alfred/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

