<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Productive Geek Forums &#187; Forum: Lifehacker Coders - Recent Topics</title>
<link>http://productivegeek.com/forums/</link>
<description>The Geeky Way to Get Things Done</description>
<language>en</language>
<pubDate>Fri, 30 Jul 2010 11:23:13 +0000</pubDate>

<item>
<title>spirion on "Script Suggestion: Turn Off Music If Inactive 5 Minutes"</title>
<link>http://productivegeek.com/forums/topic/script-suggestion-turn-off-music-if-inactive-5-minutes#post-1729</link>
<pubDate>Tue, 18 May 2010 19:01:58 +0000</pubDate>
<dc:creator>spirion</dc:creator>
<guid isPermaLink="false">1729@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I tend to get dragged into new tasks as I meander around the building and sometimes going for a drink of water ends of turning into an hour long tech support venture. If I'm just running to the drinking fountain I usually don't turn off my music. I'm wondering if anyone has written a script that detects both key presses and mouse movement simultaneously? Ideally I'd love to have a script that if neither are detected after 5 mins, it closes my music app.
&#60;/p&#62;</description>
</item>
<item>
<title>jitsejan on "Help and tips with mobile app"</title>
<link>http://productivegeek.com/forums/topic/help-and-tips-with-mobile-app#post-1721</link>
<pubDate>Sat, 15 May 2010 01:31:12 +0000</pubDate>
<dc:creator>jitsejan</dc:creator>
<guid isPermaLink="false">1721@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I need to make an application on a mobile phone which reads the accelerometer and sends the data through BlueTooth which is then received by a computer. Does anyone here has some experience with developing on mobile phones? It has to work on most of the recent cell phones (the ones with accelrometer ofcourse). Should you really use all the seperate SDK's or is there something more easy?&#60;/p&#62;
&#60;p&#62;Best regards,&#60;/p&#62;
&#60;p&#62;JJ
&#60;/p&#62;</description>
</item>
<item>
<title>groelzj on "AHK windows with similar names"</title>
<link>http://productivegeek.com/forums/topic/ahk-windows-with-similar-names#post-1610</link>
<pubDate>Thu, 11 Mar 2010 16:48:06 +0000</pubDate>
<dc:creator>groelzj</dc:creator>
<guid isPermaLink="false">1610@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I'm trying to modify a .ahk file to turn it into a shortcut that users can click on from their desktop instead of having to launch internet explorer and then click on a bookmark.&#60;/p&#62;
&#60;p&#62;#Persistent&#60;br /&#62;
winset,alwaysontop,on&#60;br /&#62;
run c:\Program Files\Internet Explorer\iexplore.Exe &#60;a href=&#34;http://appserver/vision/#&#34; rel=&#34;nofollow&#34;&#62;http://appserver/vision/#&#60;/a&#62;&#60;br /&#62;
sleep,5000&#60;br /&#62;
WinActivate,Deltek Vision&#60;br /&#62;
Winclose,Deltek Vision&#60;/p&#62;
&#60;p&#62;The trouble is, the name of the second window that is opened is &#34;Deltek Vision 5.1&#34; and it ends up closing the second window instead of the first.&#60;/p&#62;
&#60;p&#62;When the link is clicked from IE, we don't have that trouble.&#60;/p&#62;
&#60;p&#62;Any advice?&#60;/p&#62;
&#60;p&#62;Thanks in advance.&#60;br /&#62;
Jon
&#60;/p&#62;</description>
</item>
<item>
<title>angryliberalpanda on "Mac Aluminum Keyboard Scripted to work in windows 7"</title>
<link>http://productivegeek.com/forums/topic/mac-aluminum-keyboard-scripted-to-work-in-windows-7#post-1710</link>
<pubDate>Wed, 28 Apr 2010 01:16:08 +0000</pubDate>
<dc:creator>angryliberalpanda</dc:creator>
<guid isPermaLink="false">1710@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Hi, I Created this AHK file after aggregating several other sources to make a script that worked well for me. It has every one of the printed keys on the slim aluminum keyboard (with keypad) working more or less as it should on a mac. (the only difference is the F5 key which summons the task manager in windows :D) another thing of note is that for this to work just swimmingly, you need to install two stand alone programs called &#60;a href=&#34;http://www.nirsoft.net/utils/volumouse.html&#34;&#62;Volumouse &#60;/a&#62;and &#60;a href=&#34;http://insentient.net/&#34;&#62;switcher&#60;/a&#62;. Volumouse is designed to make the scroll wheel on your mouse a volume wheel, but in options I just set a rule so that some combo I’ll never accidentally use has control over the brightness and script AHK to do that for F1 and F2. And switcher is a nice way to create the exposé effect on a windows machine.&#60;a href=&#34;http://blog.lib.umn.edu/ayubx003/dividebyzero/2009/01/05/expose_for_windows_vista_clone.html&#34;&#62; Some guides online&#60;/a&#62; can help you set it up so it looks JUST like OS X’s exposé feature, but either way it’ll get the job done. Another thing I should mention is the Eject key WILL NOT WORK WITHOUT DRIVERS! So I instead ignored it and went the apple pro keyboard route and put the eject on the far right hand F-key (F19). Since I also have a second optical drive, when you hold ctrl and press F19 it opens and closes the secondary drive! If your drives don’t follow the naming conventions I have, its ok just change the drive letter in the code itself to match yours! And lastly to make my knock-off mighty mouse activate exposé I set it to activate switcher’s hotkey when both mouse buttons are pressed, again that is up to you to change. &#60;/p&#62;
&#60;p&#62;Of special note, the sites and ideas that I compiled to make this AHK script are all noted in the code itself in a comment. If you’d like to change what I’ve done to make it (better, faster, stronger, whatever ) please feel free to change and redistribute, but give credit to the authors that I took from and remember keep it free and open&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win 7
; Author:         Madison &#38;lt;angryliberalpanda@gmail.com&#38;gt;
;
; Script Function:
;	get the friggin aluminum mac keyboard working in windows 7
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

F1::Send {ALTDOWN}{WheelDown}{ALTUP}
F2::Send {ALTDOWN}{WheelUp}{ALTUP}

F3::Send, {LWinDOWN}{q}{LWinUP}
F4::Send, {SHIFTDOWN}{CTRLDOWN}{ESC}{SHIFTUP}{CTRLUP}

F7::
DetectHiddenWindows , On
IfWinExist , iTunes ahk_class iTunes
	ControlSend , ahk_parent, ^{left}, iTunes ahk_class iTunes
else
	Send {p}{Media_Prev}
DetectHiddenWindows , Off
return

F8::
DetectHiddenWindows , On
IfWinExist , iTunes ahk_class iTunes
	ControlSend , ahk_parent, {space}, iTunes ahk_class iTunes
else
	send {Space}{Media_Play_Pause}
DetectHiddenWindows , Off
return

F9::
DetectHiddenWindows , On
IfWinExist , iTunes ahk_class iTunes
ControlSend , ahk_parent, ^{right}, iTunes ahk_class iTunes
else
	Send {n}{Media_Next}
DetectHiddenWindows , Off
return

F10::Send {Volume_Mute}
F11::Send {Volume_Down 5}
F12::Send {Volume_Up 5}

F13::Send {PrintScreen}

F16::Send {NumLock}

F19::
Drive, Eject, D:
; If the command completed quickly, the tray was probably already ejected.
; In that case, retract it:
if A_TimeSinceThisHotkey &#38;lt; 100  ; Adjust this time if needed.
    Drive, Eject,, 1
return

^F19::
Drive, Eject, E:
if A_TimeSinceThisHotkey &#38;lt; 100
    Drive, Eject,E:,1
return

~ LButton &#38;amp; RButton::Send, {LWinDOWN}{q}{LWinUP}

;special thanks to:
	;Autohotkey and their wonderful Documentation section
		;http://www.autohotkey.com/docs/
	;Eric F. Savage and his mac keyboard blog post which started me off on this
		;http://www.efsavage.com/blog/posts/enable_buttons_on_apple_keyboard_in_windows/
	;the author of &#38;quot;Controlling iTunes with AutoHotKey&#38;quot; for getting me exactly the commands i needed
		;http://www.switchonthecode.com/tutorials/controlling-itunes-with-autohotkey
	;and Raymond for his article on brightness controls.
		;http://www.raymond.cc/blog/archives/2008/08/13/how-to-dim-or-increase-the-brightness-of-laptop-or-notebook-lcd-screen/&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>bobbo33 on "Let&#039;s do a simple AHK project together:  AVI joiner"</title>
<link>http://productivegeek.com/forums/topic/lets-do-a-simple-ahk-project-together-avi-joiner#post-1056</link>
<pubDate>Thu, 21 Jan 2010 20:07:44 +0000</pubDate>
<dc:creator>bobbo33</dc:creator>
<guid isPermaLink="false">1056@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I've got a simple AHK project I've been meaning to get to, but haven't started yet.  I often have lots of little AVI files (camcorder et al) that I want to join together into one file.  Searching the web, the solutions I found are either commercial products or full-blown video editing solutions.  Eventually I found the simple solution of a command line call to mencoder.exe (part of the open source mplayer package):&#60;/p&#62;
&#60;p&#62;mencoder -oac copy -ovc copy -idx -o output.avi video1.avi video2.avi video3.avi&#60;br /&#62;
(credit: &#60;a href=&#34;http://www.misterhowto.com/index.php?category=Computers&#38;amp;subcategory=Video&#38;amp;article=join_with_mencoder&#34; rel=&#34;nofollow&#34;&#62;http://www.misterhowto.com/index.php?category=Computers&#38;amp;subcategory=Video&#38;amp;article=join_with_mencoder&#60;/a&#62; )&#60;/p&#62;
&#60;p&#62;So what we need is a simple GUI that will let us select files, reorder them, select the output file name, then run the right command line.  For bonus points, we'll need to recognize if the resolution/codec of the input videos match, and if not, transcode first.  Who wants to help?&#60;/p&#62;
&#60;p&#62;&#60;b&#62;[Update]&#60;/b&#62;&#60;br /&#62;
Here's the link to the download files... you'll want to grab AVI_Joiner.zip for the portable version, or grab the setup files if you want to install it.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://drop.io/tputvxe/blog&#34; rel=&#34;nofollow&#34;&#62;http://drop.io/tputvxe/blog&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jitsejan on "How do you develop your website(s)?"</title>
<link>http://productivegeek.com/forums/topic/how-do-you-develop-your-websites#post-1587</link>
<pubDate>Thu, 04 Mar 2010 19:11:20 +0000</pubDate>
<dc:creator>jitsejan</dc:creator>
<guid isPermaLink="false">1587@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;What is the best way to develop a webpage? I only build them in my spare time (never made a site for a company or such, just for fun) and since two months I'm trying out Drupal. I use Notepad++ for the most of the work. How do you program your site and how do you check it's compatibility? I use Firefox with FireBug and the WebDev toolbar, but it's not the best way to test its crossbrowserish capability (what's the right word?). Any ideas on this?&#60;/p&#62;
&#60;p&#62;Let me know what you use.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbo33 on "TouchFreeze alternative in AHK"</title>
<link>http://productivegeek.com/forums/topic/touchfreeze-alternative-in-ahk#post-1532</link>
<pubDate>Mon, 22 Feb 2010 22:28:16 +0000</pubDate>
<dc:creator>bobbo33</dc:creator>
<guid isPermaLink="false">1532@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;A few months back, LH posted a link to TouchFreeze:  &#60;a href=&#34;http://lifehacker.com/5412986/touchfreeze-disables-your-touchpad-as-soon-as-you-start-typing&#34; rel=&#34;nofollow&#34;&#62;http://lifehacker.com/5412986/touchfreeze-disables-your-touchpad-as-soon-as-you-start-typing&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This program was designed to stop you from accidentally hitting your laptop/netbook's trackpad with your thumbs while you are typing.  However, this program didn't really work for me - I still accidentally jumped the cursor from time-to-time.&#60;/p&#62;
&#60;p&#62;So here's my Autohotkey version, which has been working very well for me for the last couple of weeks since I created it.  (Note that you can tweak the timer line if the 500ms default still isn't quite long enough for you.)  I've noticed no performance lag at all with method, since it's a keyboard hook.&#60;/p&#62;
&#60;p&#62;I think it's always better to add little functions like these to my AHK master script, rather than installing YAU (yet another utility) for these small tweaks. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;; Script Function:
;	Disables trackpad for 500ms any time a key is pressed (prevents accidental mouse clicks)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;keyboard hook code credit: &#60;a href=&#34;http://www.autohotkey.com/forum/post-127490.html#127490&#34; rel=&#34;nofollow&#34;&#62;http://www.autohotkey.com/forum/post-127490.html#127490&#60;/a&#62;
#Persistent
OnExit, Unhook

hHookKeybd := SetWindowsHookEx(WH_KEYBOARD_LL   := 13, RegisterCallback(&#38;quot;Keyboard&#38;quot;, &#38;quot;Fast&#38;quot;))
Return

ReenableTrackpad:
BlockInput, MouseMoveOff
Return

Unhook:
UnhookWindowsHookEx(hHookKeybd)
ExitApp

Keyboard(nCode, wParam, lParam)
{
   Critical
   If !nCode
   {
      BlockInput, MouseMove
      SetTimer, ReenableTrackpad, 500
   }
   Return CallNextHookEx(nCode, wParam, lParam)
}

SetWindowsHookEx(idHook, pfn)
{
   Return DllCall(&#38;quot;SetWindowsHookEx&#38;quot;, &#38;quot;int&#38;quot;, idHook, &#38;quot;Uint&#38;quot;, pfn, &#38;quot;Uint&#38;quot;, DllCall(&#38;quot;GetModuleHandle&#38;quot;, &#38;quot;Uint&#38;quot;, 0), &#38;quot;Uint&#38;quot;, 0)
}

UnhookWindowsHookEx(hHook)
{
   Return DllCall(&#38;quot;UnhookWindowsHookEx&#38;quot;, &#38;quot;Uint&#38;quot;, hHook)
}

CallNextHookEx(nCode, wParam, lParam, hHook = 0)
{
   Return DllCall(&#38;quot;CallNextHookEx&#38;quot;, &#38;quot;Uint&#38;quot;, hHook, &#38;quot;int&#38;quot;, nCode, &#38;quot;Uint&#38;quot;, wParam, &#38;quot;Uint&#38;quot;, lParam)
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Taloncarde on "Greasemonkey Script request"</title>
<link>http://productivegeek.com/forums/topic/greasemonkey-script-request#post-1556</link>
<pubDate>Fri, 26 Feb 2010 14:05:15 +0000</pubDate>
<dc:creator>Taloncarde</dc:creator>
<guid isPermaLink="false">1556@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I was wondering if you fine coders could help me with a greasemonkey script. I've been using this fine script for Netflix queue management, &#60;a href=&#34;http://userscripts.org/scripts/show/35183&#34; rel=&#34;nofollow&#34;&#62;http://userscripts.org/scripts/show/35183&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I would love to have something similar for the Q in Gamefly. Was wondering if anyone could &#60;/p&#62;
&#60;p&#62;A) Know a script like this that I have been unable to find&#60;br /&#62;
B) Possibly create a script like this&#60;br /&#62;
C) Point me to a better location where I can possibly find help on creating such a script.&#60;/p&#62;
&#60;p&#62;I've done some basic programming, but I learned long ago that I don't code very well, i've tried to understand the javascript concepts to be able to create this on my own to no avail. Look forward to any feedback or advice!
&#60;/p&#62;</description>
</item>
<item>
<title>c.barber78 on "AutoHotKey vs Activewords"</title>
<link>http://productivegeek.com/forums/topic/autohotkey-vs-activewords#post-1458</link>
<pubDate>Sun, 14 Feb 2010 02:11:07 +0000</pubDate>
<dc:creator>c.barber78</dc:creator>
<guid isPermaLink="false">1458@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Never really heard of Activewords until recently, however now that I have (and I use AutoHotkey for many things now) I was wondering if it is worth using in addition? Can autohotkey assign commands to words (not through hotstrings - unless that is the only way)?
&#60;/p&#62;</description>
</item>
<item>
<title>matteotom on "Autohotkey signout"</title>
<link>http://productivegeek.com/forums/topic/autohotkey-signout#post-1510</link>
<pubDate>Sun, 21 Feb 2010 04:00:24 +0000</pubDate>
<dc:creator>matteotom</dc:creator>
<guid isPermaLink="false">1510@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I often leave my computer without logging out of chat or pausing my music, which is a problem a lot (chat messages while I am away).&#60;/p&#62;
&#60;p&#62;I need a keyboard combination* that signs me out of all accounts on Trillian Astra Pro, pauses MediaMonkey, and then locks my computer.&#60;/p&#62;
&#60;p&#62;*Extra credit: make it happen when I close my laptop screen.&#60;/p&#62;
&#60;p&#62;Thanks in advance,&#60;br /&#62;
  Matteo
&#60;/p&#62;</description>
</item>
<item>
<title>spirion on "An IDE Dream"</title>
<link>http://productivegeek.com/forums/topic/an-ide-dream#post-1537</link>
<pubDate>Tue, 23 Feb 2010 20:37:12 +0000</pubDate>
<dc:creator>spirion</dc:creator>
<guid isPermaLink="false">1537@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Like a lot of open source projects AutoHotkey has a lot of excellent tools and components that their jobs very well but lack a high-level structure to tie them all together in one place. Some day I dream there will be a comprehensive AutoHotkey IDE (integrated development environment):&#60;/p&#62;
&#60;p&#62;Specifically:&#60;/p&#62;
&#60;p&#62;- GUI: Combine SmartGUI, MsgBox Creator, SplashImageCreator, Graphic Buttons, Compile AHK&#60;br /&#62;
- Inclusion of External Components to seemlessly extend funtionality: GDI+, COM, ImageMagick, FFMPEG, 7zip, Curl&#60;br /&#62;
- Editor: Use Scite4AutoHotkey as main editor but add a QuickAHK function to run temporary scripts without saving a new file&#60;/p&#62;
&#60;p&#62;*Wishlist item: Object aware context menu to make GUI changes on the fly (i.e. right-click on text = change font, right-click on a GUI dialouge = change size, change color, etc...)&#60;/p&#62;
&#60;p&#62;I know enough about programming to know this would take someone who understands the fundementals of programming and how to structure things effectively and efficiently. &#60;/p&#62;
&#60;p&#62;For people who do know what that would entail, is it feasible and practical?
&#60;/p&#62;</description>
</item>
<item>
<title>howtogeek on "Aero Shake AutoHotkey Script"</title>
<link>http://productivegeek.com/forums/topic/aero-shake-autohotkey-script#post-53</link>
<pubDate>Thu, 03 Dec 2009 16:13:01 +0000</pubDate>
<dc:creator>howtogeek</dc:creator>
<guid isPermaLink="false">53@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I'm adding this AutoHotkey script from the Google Group to this forum. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;; Aero Shake (like Windows 7)
;
; AutoHotkey Version: 1.0.47.01 (tested version)
; Language:       English
; Platform:       Windows XP, Vista
; Author:         Copyright 2008, 2009 Bob Menke
; Author Contact: bobbo33 on &#60;a href=&#34;http://groups.google.com/group/lifehacker-coders&#34; rel=&#34;nofollow&#34;&#62;http://groups.google.com/group/lifehacker-coders&#60;/a&#62;
;
; Script Function:
;   Left-click on a window&#38;#39;s title bar and &#38;quot;shake&#38;quot; it
;   back and forth, all other windows minimize
;
; Inspired by:
;   &#60;a href=&#34;http://lifehacker.com/5078582/top-10-things-to-look-forward-to-in-windows-7&#34; rel=&#34;nofollow&#34;&#62;http://lifehacker.com/5078582/top-10-things-to-look-forward-to-in-windows-7&#60;/a&#62;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>howtogeek on "Use AutoHotkey to Assign a Hotkey to a Specific Window"</title>
<link>http://productivegeek.com/forums/topic/autohotkey-problem-restoring-minimized-window-and-giving-keyboard-focus#post-1398</link>
<pubDate>Sat, 06 Feb 2010 00:01:29 +0000</pubDate>
<dc:creator>howtogeek</dc:creator>
<guid isPermaLink="false">1398@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;&#60;b&#62;[updated with solution]&#60;/b&#62;&#60;/p&#62;
&#60;p&#62;I've got a function that toggles a window between being active and being minimized, so I can quickly access my favorite applications with a custom hotkey for each. I've been using this system for years, but I've started having more and more problems with regaining focus once the window is restored...&#60;/p&#62;
&#60;p&#62;Thankfully bobbo33 solved the problem, so I've updated this post with the full, working function. This solves the issue of restoring a window using AutoHotkey when the focus doesn't come with it - Google Chrome and Firefox being the major culprits. &#60;/p&#62;
&#60;p&#62;Here's my simple function:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;ToggleWinMinimize(TheWindowTitle)
{
 SetTitleMatchMode,2
 DetectHiddenWindows, Off
 IfWinActive, %TheWindowTitle%
 {
   WinMinimize, %TheWindowTitle%
 }
 Else
 {
   IfWinExist, %TheWindowTitle%
   {
       WinGet, winid, ID, %TheWindowTitle%
       DllCall(&#38;quot;SwitchToThisWindow&#38;quot;, &#38;quot;UInt&#38;quot;, winid, &#38;quot;UInt&#38;quot;, 1)
   }
 }
 Return
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can use this function like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;!x::ToggleWinMinimize(&#38;quot;Mozilla Firefox&#38;quot;)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This would then assign Alt+X to hide or minimize your Firefox window. Personally I use this to assign hotkeys to Google Chrome Application windows for each of my webapps, like Gmail.
&#60;/p&#62;</description>
</item>
<item>
<title>Brady on "Use This Bookmarklet to Easily Get Albums"</title>
<link>http://productivegeek.com/forums/topic/use-this-bookmarklet-to-easily-get-albums#post-1440</link>
<pubDate>Thu, 11 Feb 2010 16:15:25 +0000</pubDate>
<dc:creator>Brady</dc:creator>
<guid isPermaLink="false">1440@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;With the help of UnMicD over at LH (disclaimer: {s}he did the majority of the legwork), I put together a bookmarklet for getting music online using the google/mediafire trick.&#60;/p&#62;
&#60;p&#62;Here's the JS:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;javascript:var searchterms = escape(prompt(&#38;#39;Enter Artist and Album&#38;#39;));var query = searchterms + &#38;#39; site:mediafire.com&#38;#39;;window.location=&#38;#39;http://www.google.com/search?q=&#38;#39; + query;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And here's the simple favicon I whipped up for it (imgur):&#60;br /&#62;
&#60;a href=&#34;http://imgur.com/sXOfp.png&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/sXOfp.png&#60;/a&#62;&#60;br /&#62;
I use the Firefox Add-on &#34;Favicon Picker&#34; to assign Favicons to bookmarklets.&#60;/p&#62;
&#60;p&#62;Note:&#60;br /&#62;
This came about because UnMicD and I originally talked about creating a bookmarklet for a quick google search by site:[cityname].craigslist.org.&#60;br /&#62;
That code is available here:&#60;br /&#62;
&#60;a href=&#34;http://lifehacker.com/comment/19315440/&#34; rel=&#34;nofollow&#34;&#62;http://lifehacker.com/comment/19315440/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I would post that JS too but I don't want to steal &#60;b&#62;all&#60;/b&#62; the credit...
&#60;/p&#62;</description>
</item>
<item>
<title>Brady on "Looking for a safe AHK solution"</title>
<link>http://productivegeek.com/forums/topic/looking-for-a-safe-ahk-solution#post-1003</link>
<pubDate>Wed, 20 Jan 2010 12:50:04 +0000</pubDate>
<dc:creator>Brady</dc:creator>
<guid isPermaLink="false">1003@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;&#60;b&#62;(Relatively) Quick backstory:&#60;/b&#62;&#60;br /&#62;
My work laptop is closed client (no admin rights) but I am able to run ahk, which helps make life a little easier on it.  The problem is that they recently pushed out a 'green' policy which turns off my monitor and locks my desktop (as in 'winkey-L') after about 5 minutes, rather than the old 'screen saver after 20 min, lock out after 1 hour' policy. This lappy runs XP.&#60;br /&#62;
I don't mind the monitor part so much but getting my desktop locked after 5 minutes drives me crazy, and I'm sure it actually makes me less productive - I lock  it myself if I know I'll be away from it for more than a few minutes, I don't need it locking on me if I go chat with my cube neighbor.&#60;br /&#62;
&#60;b&#62;What I need:&#60;/b&#62;&#60;br /&#62;
An ahk script which simulates pressing a key every 2 minutes or so.  Preferably it would be a key which would have no impact if I'm working at my computer and it got pressed every two minutes.  The only thing that I can think of so far would be the Pause/Break key (I don't do any work in the cmd prompt) or maybe one of the F# keys, or possibly a quick on/off of the Scroll Lock.&#60;br /&#62;
&#60;b&#62;Bonus: &#60;/b&#62; a hotkey to toggle the feature on/off&#60;br /&#62;
&#60;b&#62;Super awesome extra bonus:&#60;/b&#62; a taskbar icon (not just my regular ahk one) which lets me know when it's on/off.&#60;/p&#62;
&#60;p&#62;I am pretty new to ahk - my script does simple stuff like the capslock mute toggle and a taskbar visible/invisible toggle and a system standby shortcut with a yes/no prompt, little stuff like that.&#60;/p&#62;
&#60;p&#62;Thanks in advance for your help!
&#60;/p&#62;</description>
</item>
<item>
<title>bobbo33 on "When will attachments work in this forum?  Alternatives?"</title>
<link>http://productivegeek.com/forums/topic/when-will-attachments-work-in-this-forum-alternatives#post-1404</link>
<pubDate>Sat, 06 Feb 2010 22:11:12 +0000</pubDate>
<dc:creator>bobbo33</dc:creator>
<guid isPermaLink="false">1404@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Attachments seem to fail every time I've tried - they get to 100% then error out.&#60;/p&#62;
&#60;p&#62;I also can't post my code in-line, because the forum interprets the the back-quote character as &#34;code&#34; markup, whereas AHK needs it for the text escape character.&#60;/p&#62;
&#60;p&#62;For my last project (&#60;a href=&#34;http://productivegeek.com/forums/topic/lets-do-a-simple-ahk-project-together-avi-joiner&#34; rel=&#34;nofollow&#34;&#62;http://productivegeek.com/forums/topic/lets-do-a-simple-ahk-project-together-avi-joiner&#60;/a&#62; ), I ended up creating a temp holder at drop.io, but those are only good for 30 days.&#60;/p&#62;
&#60;p&#62;&#60;b&#62;Where should we put our code?&#60;/b&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>RobHale on "Useful Plugins/Snippets/Macros"</title>
<link>http://productivegeek.com/forums/topic/useful-pluginssnippetsmacros#post-1401</link>
<pubDate>Sat, 06 Feb 2010 12:53:15 +0000</pubDate>
<dc:creator>RobHale</dc:creator>
<guid isPermaLink="false">1401@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I've been using this at work for a while now and I'm not sure how I got by without it before so if you haven't heard of it yet...&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.hanselman.com/blog/IntroducingRockScroll.aspx&#34;&#62;Rock Scroll!&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.hanselman.com/blog/content/binary/WindowsLiveWriter/IntroducingRockScroll_C29C/RockScroll_5.png&#34; /&#62;&#60;/p&#62;
&#60;p&#62;The single most useful part is that when you highlight a variable or function call in your code Rock Scroll will also highlight the position of all the other uses in the scroll bar. It makes navigating a large codebase so much easier.&#60;/p&#62;
&#60;p&#62;Also it's free.&#60;/p&#62;
&#60;p&#62;What other plugins/snippets or macros do you use when you code?
&#60;/p&#62;</description>
</item>
<item>
<title>t0mt0m on "AHK starting point"</title>
<link>http://productivegeek.com/forums/topic/ahk-starting-point#post-1041</link>
<pubDate>Thu, 21 Jan 2010 16:25:17 +0000</pubDate>
<dc:creator>t0mt0m</dc:creator>
<guid isPermaLink="false">1041@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Hi guys,&#60;/p&#62;
&#60;p&#62;can anyone give me kindly a hint on how to start with AHK? I read through the tut on the AHK site and it's fine an I understood the basics (hopefully ;-) ).&#60;br /&#62;
Are there any other good resources for learning/using AHK besides this forum?&#60;br /&#62;
What about starting some sort of &#34;forum&#34; AHK-project? Have no idea what can be done atm, but maybe some of you know something that can be done for a group of different AHK knowledge.&#60;/p&#62;
&#60;p&#62;Regards&#60;/p&#62;
&#60;p&#62;Tom
&#60;/p&#62;</description>
</item>
<item>
<title>dyril on "Shorten Browser URLs with a Keyboard Shortcut in Windows"</title>
<link>http://productivegeek.com/forums/topic/shorten-browser-urls-with-a-keyboard-shortcut-in-windows#post-1385</link>
<pubDate>Thu, 04 Feb 2010 19:45:38 +0000</pubDate>
<dc:creator>dyril</dc:creator>
<guid isPermaLink="false">1385@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Attached is my version of the AHK script presented there:&#60;br /&#62;
&#60;a href=&#34;http://lifehacker.com/5464351/shorten-urls-with-a-quick-keyboard-shortcut-in-windows&#34; rel=&#34;nofollow&#34;&#62;http://lifehacker.com/5464351/shorten-urls-with-a-quick-keyboard-shortcut-in-windows&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It works in most popular browsers and anywhere you can copy a URL to the clipboard.&#60;br /&#62;
Now supports bit.ly j.mp goo.gl is.gd URL shorteners.&#60;/p&#62;
&#60;p&#62;EDIT: attachments broken. &#60;a href=&#34;http://tnl.iamserio.us/files/ahk/urlshorten.ahk&#34; rel=&#34;nofollow&#34;&#62;http://tnl.iamserio.us/files/ahk/urlshorten.ahk&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>aredmond on "Looking for &#34;Gadget&#34; Geek writer"</title>
<link>http://productivegeek.com/forums/topic/looking-for-gadget-geek-writer#post-416</link>
<pubDate>Wed, 06 Jan 2010 17:00:37 +0000</pubDate>
<dc:creator>aredmond</dc:creator>
<guid isPermaLink="false">416@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I am not a professional writer of &#34;Gadgets&#34; (Vista or Win7), or &#34;Widgets&#34; (Yahoo gadgets), but currently run a hub and spoke with 20 locations on the WAn, 14 servers, is anyone aware of, a type of gadget that would monitor the CPU's and Memory usage of each server, but display in one central location, simultaneously.&#60;/p&#62;
&#60;p&#62;There are several monitors in widget format, that work great, but for only one computer.  I am trying to work with several of these to see if this can be done, but so far, no luck.&#60;br /&#62;
It makes sense that this would be an extremely benificial tool for any system administrator
&#60;/p&#62;</description>
</item>
<item>
<title>Paladin4 on "Hotkey to kill or reload active AHK script?"</title>
<link>http://productivegeek.com/forums/topic/hotkey-to-kill-or-reload-active-ahk-script#post-771</link>
<pubDate>Fri, 15 Jan 2010 02:43:17 +0000</pubDate>
<dc:creator>Paladin4</dc:creator>
<guid isPermaLink="false">771@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I want to create two different hotkeys, one to reload the current script (to make it easier when I'm editing), and another one to kill the script. This way I can get rid of the tray icon and make it cleaner and waste less memory but still be able to reload or exit the script easily.
&#60;/p&#62;</description>
</item>
<item>
<title>jj128 on "Autohotkey script help... need an Explorer backspace hotkey"</title>
<link>http://productivegeek.com/forums/topic/autohotkey-script-help-need-an-explorer-backspace-hotkey#post-343</link>
<pubDate>Tue, 05 Jan 2010 20:42:12 +0000</pubDate>
<dc:creator>jj128</dc:creator>
<guid isPermaLink="false">343@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I want to make a hotkey that makes the backspace key work like it did in XP... so it would send alt+up.&#60;/p&#62;
&#60;p&#62;The problem is that the backspace key needs to still work in the rename or location bar.&#60;/p&#62;
&#60;p&#62;Any advice?
&#60;/p&#62;</description>
</item>
<item>
<title>howtogeek on "Remapping Firefox Navigation Hotkeys with AutoHotkey"</title>
<link>http://productivegeek.com/forums/topic/remapping-firefox-navigation-hotkeys-with-autohotkey#post-37</link>
<pubDate>Wed, 02 Dec 2009 12:18:00 +0000</pubDate>
<dc:creator>howtogeek</dc:creator>
<guid isPermaLink="false">37@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;One of the things that drives me crazy in Firefox is the use of the Ctrl key - I just hate using Ctrl+T for new tabs, since I open them so often and reaching for the Ctrl key strains my hands. Instead, I prefer to use the Alt key wherever possible. Here's my script:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
#IfWinActive ahk_class MozillaUIWindowClass&#60;br /&#62;
!k::Send ^k             ; Remap searchbox key focus&#60;br /&#62;
!l::Send ^{Tab}       ; Alt+H and Alt+L switch tabs left or right. I changed Ctrl+Tab settings to do so.&#60;br /&#62;
!h::Send ^+{Tab}&#60;br /&#62;
!t::Send ^t              ; Open a new tab&#60;br /&#62;
!r::Send ^r              ; Reload the page&#60;br /&#62;
!w::Send ^w            ; Close the tab&#60;br /&#62;
Return&#60;br /&#62;
#IfWinActive&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;My daily Firefox workflow is so much simpler with these. (Note that I use Alt+T to do a keyword bookmark search instead of Ctrl+L)
&#60;/p&#62;</description>
</item>
<item>
<title>OptimusComposite on "Quick Help With Autohotkey Script"</title>
<link>http://productivegeek.com/forums/topic/quick-help-with-autohotkey-script#post-296</link>
<pubDate>Sun, 03 Jan 2010 00:19:19 +0000</pubDate>
<dc:creator>OptimusComposite</dc:creator>
<guid isPermaLink="false">296@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;I'm fairly new to the Autohotkey world and I'm having trouble with what should be a pretty basic script.  Basically, I want to be able use a script to switch the default audio device to High Definition in Windows 7, which is accomplished by:&#60;/p&#62;
&#60;p&#62; - Running MMSYS.CPL&#60;br /&#62;
 - Pressing the down arrow twice&#60;br /&#62;
 - Pressing Alt + s&#60;br /&#62;
 - Pressing Enter&#60;/p&#62;
&#60;p&#62;I wrote up a simple script to accomplish this, but I must have something wrong in how I'm sending the keystrokes to the active window (the Sound dialog box opens as it should).  It looks something like this:&#60;/p&#62;
&#60;p&#62;#z::&#60;br /&#62;
Run MMSYS.CPL&#60;br /&#62;
Send {Down}&#60;br /&#62;
Send {Down}&#60;br /&#62;
Send !s&#60;br /&#62;
Send {Enter}&#60;br /&#62;
return&#60;/p&#62;
&#60;p&#62;Anyone care to point out where I've went wrong?  The only thing I could think of was that keystrokes were being sent too rapidly after one another, which I tried to fix with the SetKeyDelay command, but it didn't make a difference.  Any help will be greatly appreciated.&#60;/p&#62;
&#60;p&#62; - Optimus
&#60;/p&#62;</description>
</item>
<item>
<title>Phoshi on "Console Goodness, with AutoHotKey (Vista/7 with Aero Only)"</title>
<link>http://productivegeek.com/forums/topic/console-goodness-with-autohotkey-vista7-with-aero-only#post-43</link>
<pubDate>Wed, 02 Dec 2009 13:18:56 +0000</pubDate>
<dc:creator>Phoshi</dc:creator>
<guid isPermaLink="false">43@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Remember Quake? Or, indeed, almost any other FPS from the last decade?&#60;br /&#62;
I always loved their consoles (Source engine's is a huge disappointment! Just a window!)&#60;/p&#62;
&#60;p&#62;So, why not implement that for MY console?&#60;br /&#62;
For this, you'll need a little more than just Autohotkey, but it's well worth it.&#60;br /&#62;
Grab yourself a copy of Console2, and if you're on XP or below, or run without Aero, turn back now. This relies quite heavily on being able to slide down smoothly, and it can't do that with windows struggling to redraw it fast enough to display, sorry :( &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;RWin:: ;Open a command prompt (with or without highlighted path)
DetectHiddenWindows, off
ifWinExist, ahk_class Console_2_Main
{
	wingetpos, wx, wy, wwidth, wheight
	counter=0
	loopnum:= wheight / 8
	loop, %loopnum%
	{
	winmove,,,0,20 - counter * 8, A_ScreenWidth, wheight
	counter+=1
	}
	winhide, ahk_class Console_2_Main
	send !{tab}
	return
}
DetectHiddenWindows, on
SetTitleMatchMode, 2
IfWinExist, ahk_class Console_2_Main
	{
	wingetpos, wx, wy, wwidth, wheight
	winmove,,,0,0-wheight, A_ScreenWidth, wheight
	winshow
	WinActivate
	loopnum:= wheight / 8
	loop, %loopnum%
	{
	winmove,,,0,(a_index * 8) - wheight +20, A_ScreenWidth, wheight
	}
	WinActivate
	WinWaitActive
}
else
Run, &#38;quot;P:\ath\to\Console.exe&#38;quot;
return&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>howtogeek on "Hotkey to Switch to Open Pidgin Window"</title>
<link>http://productivegeek.com/forums/topic/hotkey-to-switch-to-open-pidgin-window#post-40</link>
<pubDate>Wed, 02 Dec 2009 12:37:34 +0000</pubDate>
<dc:creator>howtogeek</dc:creator>
<guid isPermaLink="false">40@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;The problem with assigning hotkeys to Pidgin is that the GTK system assigns all the window names similarly - and Pidgin makes the conversation window have the title with the name of the person you are currently talking to. So I wrote up a function that assigns Alt+P to switch to the Pidgin conversation window.  (I'm using the Pidgin hotkeys plugin to assign a hotkey to open/close the buddy list)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;!p::
{
	DetectHiddenWindows, Off
	SetTitleMatchMode,2
	IfWinActive,ahk_class gdkWindowToplevel
	{
		IfWinActive Buddy List
		{
		}
		Else
		{
		 PostMessage, 0x112, 0xF020,,, ahk_class gdkWindowToplevel, ;  0x112 = WM_SYSCOMMAND, 0xF020 = SC_MINIMIZE
		}
	}
	Else
	{
		DetectHiddenWindows, Off
		SetTitleMatchMode,2
		IfWinExist, ahk_class gdkWindowToplevel,,Buddy List
		{
			WinActivate
		}
	}
Return
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This function isn't perfect, though - if the buddy list is currently active, you have to hide it before switching to the conversation window. If anybody can suggest a better way to do it, please respond!
&#60;/p&#62;</description>
</item>
<item>
<title>howtogeek on "Remapping Chrome Navigation Keys with AutoHotkey"</title>
<link>http://productivegeek.com/forums/topic/remapping-chrome-navigation-keys-with-autohotkey#post-79</link>
<pubDate>Tue, 22 Dec 2009 01:22:00 +0000</pubDate>
<dc:creator>howtogeek</dc:creator>
<guid isPermaLink="false">79@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;Just like on my &#60;a href=&#34;http://productivegeek.com/forums/topic/remapping-firefox-navigation-hotkeys-with-autohotkey&#34;&#62;other post with the Firefox navigation keys&#60;/a&#62;, I really don't like reaching for the Ctrl key when it's easier to use Alt+T for a new tab, etc. So here's my AHK script to fix the problem:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#IfWinActive ahk_class Chrome_WindowImpl_0
!k::Send ^k
!l::Send ^{Tab}
!h::Send ^+{Tab}
!t::Send ^t
!r::Send ^r
!w::Send ^w
Return
#IfWinActive&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Makes Chrome so much easier to use for me, and also matches my Firefox keys.
&#60;/p&#62;</description>
</item>
<item>
<title>Phoshi on "Automagic Hotkey Reminder Script"</title>
<link>http://productivegeek.com/forums/topic/automagic-hotkey-reminder-script#post-41</link>
<pubDate>Wed, 02 Dec 2009 13:02:40 +0000</pubDate>
<dc:creator>Phoshi</dc:creator>
<guid isPermaLink="false">41@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;So, you have a 1300 line AHK script (like me), but you just can't remember which hotkey you set to make you breakfast, and you're hungry!&#60;br /&#62;
Time to break out a text editor (or maybe grep if you're feeling cli), right?&#60;/p&#62;
&#60;p&#62;WRONG!&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#F1:: ;Open This Help Dialogue
	FileDelete, ahkList.txt
	Loop, Read, %A_ScriptFullPath%
	{
		line:=A_LoopReadLine
		if RegExMatch(line, &#38;quot;::&#38;quot;)
		{
			toAdd:=RegExReplace(line, &#38;quot;:: \;&#38;quot;, &#38;quot; - &#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;::&#38;quot;, &#38;quot; - &#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;\+&#38;quot;, &#38;quot;Shift+&#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;\^&#38;quot;, &#38;quot;Control+&#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;!&#38;quot;, &#38;quot;Alt+&#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;#&#38;quot;, &#38;quot;Winkey+&#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;;&#38;quot;, &#38;quot;&#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;&#38;amp;plus&#38;quot;, &#38;quot;+&#38;quot;)
			toAdd:=RegExReplace(toAdd, &#38;quot;^\s+&#38;quot;, &#38;quot;&#38;quot;)
			FileAppend, %toAdd%&#38;lt;code&#38;gt;r&#38;lt;/code&#38;gt;n, ahkList.txt
		}
		if ErrorLevel
			break
	}
	FileRead, fullFile, ahkList.txt
	msgbox %fullFile%
	FileDelete, ahkList.txt
	fullFile:=
Return&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Ta-da :)&#60;br /&#62;
Format your script like&#60;br /&#62;
Hotkey:: ;This is what the hotkey does&#60;br /&#62;
and just leave one-liners alone, and you'll get a message box with every hotkey, and what it does! Brilliant!&#60;br /&#62;
If you want to open it up in a text editor, or, indeed, anything else, that's alright, it outputs to a file for precisely that reason!&#60;br /&#62;
I'm sure this section will quickly fill with all sorts of lovely scripts, so make sure you know how to fire them!&#60;/p&#62;
&#60;p&#62;edit: Do we have code tags here? My code is feeling not-tabbed :(&#60;br /&#62;
Ah, backticks! Lovely!
&#60;/p&#62;</description>
</item>
<item>
<title>howtogeek on "Welcome to the new Lifehacker Coders Forum"</title>
<link>http://productivegeek.com/forums/topic/welcome-to-the-new-lifehacker-coders-forum#post-20</link>
<pubDate>Tue, 01 Dec 2009 00:50:17 +0000</pubDate>
<dc:creator>howtogeek</dc:creator>
<guid isPermaLink="false">20@http://productivegeek.com/forums/</guid>
<description>&#60;p&#62;The current Lifehacker Coders Google Group has become completely overrun with spammers, so we've created this forum to allow everybody to collaborate on awesome AutoHotkey scripts, small applications, and coding techniques.&#60;/p&#62;
&#60;p&#62;Feel free to suggest any changes that you'd like to see, and we'll do our best to accommodate them.&#60;/p&#62;
&#60;p&#62;FYI: You can use the &#38;lt; code &#38;gt; element to specify code. Most simple HTML also works in the post box.&#60;code&#62;&#60;/code&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
