tag:blogger.com,1999:blog-18008414428025180932024-03-19T07:42:31.581-04:00three clear tonesLayout whisperer at SocialCode. I coalesce the vapors of human experience into a viable and meaningful comprehension.Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-1800841442802518093.post-7943869004145769292013-02-05T23:30:00.000-05:002013-02-15T21:06:47.681-05:00My current base AutoHotKey script<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2z6QY12S5RtbVp-XCGj5Nl8mcEDOuL1B51QrAcQxcA5Pm3lbZImuKlf1wf9iZVC55mkP0BiDaSiBU7-BJVAFP5tq56cckfnpNf5XciFuo1cIBWoDi6N9c_APM08YHXkHb5L_tf2tCMc4/s1600/20120920-autohotkey-transparency.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2z6QY12S5RtbVp-XCGj5Nl8mcEDOuL1B51QrAcQxcA5Pm3lbZImuKlf1wf9iZVC55mkP0BiDaSiBU7-BJVAFP5tq56cckfnpNf5XciFuo1cIBWoDi6N9c_APM08YHXkHb5L_tf2tCMc4/s400/20120920-autohotkey-transparency.png" width="400" /></a></div>
<br />
Posting <a href="http://sdrv.ms/Z3Ml9p" rel="nofollow" target="_blank">my latest AutoHotKey base script</a> - the one I have set to load on system startup. You can run multiple scripts concurrently simply by double-clicking them, and I have a number of scripts I run for specific purposes, while I'm developing, doing graphics work, etc., but this is the one I have running all the time.<br />
<br />
If you have <a href="http://www.autohotkey.com/" target="_blank">AutoHotKey</a> installed and want to try this script out, <a href="http://sdrv.ms/Z3Ml9p" rel="nofollow" target="_blank">download it</a> and double-click to run it. Most of the snippets inside have been snagged from other scripts, attributions with links are included inline.<br />
<br />
Currently it supports the following features:<br />
<br />
<h3>
<b>Hotkeys</b></h3>
You'll need to have the associated programs installed, obviously. You can update your paths in the script as necessary.<br />
<br />
<ul>
<li>Pressing <b>Ctrl/Win/Alt + P</b> opens a new Notepad window.</li>
<li>Pressing <b>Ctrl/Win/Alt + N</b> opens <a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a> (or switches to it if it's already running).</li>
<li>Pressing <b>Ctrl/Win/Alt + S</b> opens <a href="http://www.sublimetext.com/" target="_blank">Sublime Text 2</a>.</li>
<li>Pressing <b>Ctrl/Win/Alt + C</b> opens <a href="http://code.google.com/p/conemu-maximus5/" target="_blank">ConEmu</a>.</li>
</ul>
<h3>
<b><br /></b></h3>
<h3>
<b>Change text case</b></h3>
<div>
<ul>
<li>Pressing <b>Ctrl/Win/Alt + U</b> converts the selected text to uppercase.</li>
<li>Pressing <b>Ctrl/Win/Alt + L</b> converts the selected text to lowercase.</li>
<li>Pressing <b>Ctrl/Win/Alt + K</b> capitalizes the selected text.</li>
</ul>
<div>
<br /></div>
</div>
<h3>
Hotstrings</h3>
<div>
<ul>
<li>Pressing <b>]d</b> followed by one of the standard character endings - a space, period, tab, etc. spits out a date/time stamp.</li>
</ul>
<div>
<br /></div>
</div>
<h3>
<b>Window transparency</b></h3>
<div>
I find this useful for many situations, but especially when I'm doing layout work and want a pixel-perfect match to the design.</div>
<div>
<ul>
<li>Holding <b>Win/Alt</b> and then either hitting the Up arrow key or scrolling up with the mouse wheel increases the transparency of the active window.</li>
<li>Holding <b>Win/Alt</b> and then either hitting the Down arrow key or scrolling down with the mouse wheel decreases the transparency of the active window.</li>
<li>Holding <b>Win/Alt</b> and tapping <b>G</b> displays a tooltip with current transparency value of the window under the mouse pointer.</li>
<li>Holding <b>Win/Alt</b> and either clicking anywhere with the left mouse button or tapping the left arrow key turns the window completely opaque.</li>
<li>Holding <b>Win/Alt</b> and either clicking anywhere with the right mouse button or tapping the right arrow key turns the window almost completely transparent..</li>
</ul>
<h3>
<b><br /></b></h3>
<h3>
<b>Window always on top</b></h3>
</div>
<div>
<ul>
<li>Holding <b>Win/Alt</b> and tapping <b>T</b> sets the active window to Always on Top.</li>
</ul>
<h3>
<b><br /></b></h3>
<h3>
<b>Window drag</b></h3>
</div>
<div>
This is basically the Linux feature where you can drag a window around by clicking anywhere in it, instead of having to click the title bar. I rarely use this, especially with the existing controls in Windows, as well as the new ones added with Windows 8, but it comes in handy occasionally.</div>
<div>
<ul>
<li>Clicking anywhere in a window while holding down the right <b>Alt</b> key moves the window around with the mouse.</li>
</ul>
<h3>
</h3>
<h3>
</h3>
<h3>
Volume</h3>
</div>
<div>
<ul>
<li>Pressing <b>Ctrl/Win/Alt</b> and then either tapping the Up arrow key or scrolling up with the mouse wheel increases the volume in increments of 2.</li>
<li>Pressing <b>Ctrl/Win/Alt</b> and then either tapping the Down arrow key or scrolling down with the mouse wheel decreases the volume in increments of 2.
</li>
<li>Pressing <b>Ctrl/Win/Alt</b> and then hitting the Left arrow key mutes the volume.</li>
<li>Scrolling with the mouse over the taskbar increases/decreases the volume (no keyboard interaction necessary for this).</li>
</ul>
<div>
<br /></div>
</div>
<h3>
The script</h3>
<div>
You can <a href="http://sdrv.ms/Z3Ml9p" rel="nofollow" target="_blank">download the script here (base.ahk)</a>, and I've posted it for quick viewing below (you can also just copy/paste the following locally and give it a .ahk extension).</div>
<div>
<br /></div>
<div>
<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; MY BASE FILE</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; @threecleartones</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; NOTES</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; http://www.autohotkey.com/docs/KeyList.htm</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; http://www.autohotkey.com/docs/Hotkeys.htm</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; + is SHIFT</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ^ is CTRL</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; # is WINDOWS</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ! is ALT</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; HOTKEYS</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">$Pause:: Suspend ; Suspend/unsuspend AutoHotKey, just in case I need to.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!p:: Run Notepad ; Open a new Notepad window</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!n:: Run Notepad++ ; Open Notepad++</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!s:: Run "C:\Program Files\Sublime Text 2\sublime_text.exe" ; Open Sublime</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!c:: Run "C:\Program Files\ConEmu\ConEmu64.exe" ; Open ConEmu</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Change text case</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Snagged from http://webserver.computoredge.com/online.mvc?issue=3029&article=vista</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!u:: ; convert text to upper</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Clipboard:= ""</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Send, ^c ;copies selected text</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ClipWait</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> StringUpper Clipboard, Clipboard</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Send %Clipboard%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!l:: ; convert text to lower</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Clipboard:= ""</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Send, ^c ;copies selected text</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ClipWait</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> StringLower Clipboard, Clipboard</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Send %Clipboard%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">^#!k:: ; convert text to capitalized</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Clipboard:= ""</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Send, ^c ;copies selected text</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ClipWait</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> StringUpper Clipboard, Clipboard, T</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> Send %Clipboard%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; HOTSTRINGS</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">::]d:: ; This hotstring replaces "]d" with the current date and time via the commands below.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; FormatTime, CurrentDateTime,, yyyy.M.d h:mm tt</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">FormatTime, CurrentDateTime,, yyyy.M.d H:mm</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SendInput %CurrentDateTime%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; WINDOW TRANSPARENCY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Snagged from http://www.howtogeek.com/howto/44915/how-to-change-window-transparency-in-windows-7/</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!WheelUp:: ; Increments transparency up by 3.375% (with wrap-around)</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!Up::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> DetectHiddenWindows, on</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinGet, curtrans, Transparent, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> if ! curtrans</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> curtrans = 255</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> newtrans := curtrans + 8</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> if newtrans > 0</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, %newtrans%, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> }</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> else</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, OFF, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, 255, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> }</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!WheelDown:: ; Increments transparency down by 3.375% (with wrap-around)</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!Down::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> DetectHiddenWindows, on</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinGet, curtrans, Transparent, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> if ! curtrans</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> curtrans = 255</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> newtrans := curtrans - 8</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> if newtrans > 0</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, %newtrans%, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> }</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ;else</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ;{</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ; WinSet, Transparent, 255, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ; WinSet, Transparent, OFF, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ;}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!LButton:: ; Make the window 100% opaque - reset Transparency Settings</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!LEFT::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, 255, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, OFF, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!RButton:: ; Make the window 80% transparent</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!RIGHT::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinSet, Transparent, 20, A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!g:: ; Press Win+G to show the current settings of the window under the mouse.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> MouseGetPos,,, MouseWin</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinGet, Transparent, Transparent, ahk_id %MouseWin%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> ToolTip Translucency:`t%Transparent%`n</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>Sleep 2000</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>ToolTip</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; WINDOW ALWAYS ON TOP</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Snagged from http://www.howtogeek.com/howto/13784/keep-a-window-on-top-with-a-handy-autohotkey-script/</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!t:: Winset, Alwaysontop, , A</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; WINDOW DRAG</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Snagged from http://www.howtogeek.com/howto/windows-vista/get-the-linux-altwindow-drag-functionality-in-windows/</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; This script modified from the original: http://www.autohotkey.com/docs/scripts/EasyWindowDrag.htm</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; by The How-To Geek</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; http://www.howtogeek.com </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">RAlt & LButton::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CoordMode, Mouse ; Switch to screen/absolute coordinates.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">MouseGetPos, EWD_MouseStartX, EWD_MouseStartY, EWD_MouseWin</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WinGetPos, EWD_OriginalPosX, EWD_OriginalPosY,,, ahk_id %EWD_MouseWin%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WinGet, EWD_WinState, MinMax, ahk_id %EWD_MouseWin% </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">if EWD_WinState = 0 ; Only if the window isn't maximized </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> SetTimer, EWD_WatchMouse, 10 ; Track the mouse as the user drags it.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">EWD_WatchMouse:</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">GetKeyState, EWD_LButtonState, LButton, P</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">if EWD_LButtonState = U ; Button has been released, so drag is complete.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">{</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> SetTimer, EWD_WatchMouse, off</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">GetKeyState, EWD_EscapeState, Escape, P</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">if EWD_EscapeState = D ; Escape has been pressed, so drag is cancelled.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">{</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> SetTimer, EWD_WatchMouse, off</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> WinMove, ahk_id %EWD_MouseWin%,, %EWD_OriginalPosX%, %EWD_OriginalPosY%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Otherwise, reposition the window to match the change in mouse coordinates</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; caused by the user having dragged the mouse:</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">CoordMode, Mouse</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">MouseGetPos, EWD_MouseX, EWD_MouseY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WinGetPos, EWD_WinX, EWD_WinY,,, ahk_id %EWD_MouseWin%</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">SetWinDelay, -1 ; Makes the below move faster/smoother.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WinMove, ahk_id %EWD_MouseWin%,, EWD_WinX + EWD_MouseX - EWD_MouseStartX, EWD_WinY + EWD_MouseY - EWD_MouseStartY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">EWD_MouseStartX := EWD_MouseX ; Update for the next timer-call to this subroutine.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">EWD_MouseStartY := EWD_MouseY</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; VOLUME</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Adjusts the volume using a hotkey/mouse scroll combo</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!^Up::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!^WheelUp::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>Send {Volume_Up 2}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!^Down::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!^WheelDown::</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>Send {Volume_Down 2}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">return</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!^Left::Send {Volume_Mute}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Adjusts the volume when mouse scrolling over the taskbar (like volumouse)</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Snagged from http://l.autohotkey.net/docs/commands/_If.htm#Examples</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#If MouseIsOver("ahk_class Shell_TrayWnd")</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WheelUp::Send {Volume_Up} ; Wheel over taskbar: increase/decrease volume.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WheelDown::Send {Volume_Down} ;</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; MISC STUFF</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; ==========================================================================</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Reload the script by middle clicking on the taskbar.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; This is useful when making changes to the script, but also necessary when the volume stuff further down stops working for some reason.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">; Also, this has to be at the end of the file for some reason.</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#If MouseIsOver("ahk_class Shell_TrayWnd")</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">MButton::Reload</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">MouseIsOver(WinTitle) {</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> MouseGetPos,,, Win</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> return WinExist(WinTitle . " ahk_id " . Win)</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">}</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#SingleInstance force ; Allows only one instance of this script to run.</span><br />
<div>
<br /></div>
<br />
<br />
<div>
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-1563417735347465952012-10-01T16:22:00.003-04:002012-10-01T16:22:59.382-04:00Check out this Q&A about Sleep on Lifehacker<a href="http://lifehacker.com/5947653/ask-an-expert-all-about-sleep">http://lifehacker.com/5947653/ask-an-expert-all-about-sleep</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-22196248668909087402012-09-18T22:55:00.000-04:002012-09-19T00:04:45.754-04:00Chocolatey, package manager for Windows<div><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUWUiL93yqLpk8Tbhx9VLMLDab_ejq-WjQnqqUsOlPBvEXpbaKvDAWNdQ7adAECi8qJMLbpSlUltn9yd9ugWrVptdd5GtWzIS1mYVy3_6q8xBK6KGpUHwYW8hyphenhyphengsD6Eiv88MNqYa1YJl4/s1600/20120918-chocolatey.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUWUiL93yqLpk8Tbhx9VLMLDab_ejq-WjQnqqUsOlPBvEXpbaKvDAWNdQ7adAECi8qJMLbpSlUltn9yd9ugWrVptdd5GtWzIS1mYVy3_6q8xBK6KGpUHwYW8hyphenhyphengsD6Eiv88MNqYa1YJl4/s320/20120918-chocolatey.png" width="320" /></a></div>
Installing <a href="http://winmerge.org/" target="_blank">WinMerge</a> via <a href="http://chocolatey.org/" target="_blank">Chocolatey</a>, a Linux-style package manager for Windows. Well, it's not really a Linux-style package manager, especially since it won't automatically find dependencies, but for those who like the command line or just want to try a different way of installing Windows programs than actually visiting a website, downloading the program, and running the installer, this is quicker and fun. Perusing the list of programs in the database is educational as well for software junkies.<br />
<br />
To save a list of the current database, type something like the following:<br />
<br />
<span style="font-family: Courier New, Courier, monospace;">clist > c:\choco-list.txt</span><br />
<br />
Found this via <a href="http://lifehacker.com/5942417/chocolatey-brings-lightning-quick-linux+style-package-management-to-windows" target="_blank">Lifehacker</a>.</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-37196194907890497782012-09-18T22:08:00.000-04:002012-09-18T22:08:07.892-04:00"Pin" a site in Windows 7/8 that opens in Google Chrome<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwk9r3GFR3eXYJPFBbtYpcf9ZlwfN05yej05ditl1SPCPF6Fum_nypEk6zxzwCUPhhWmXpzbtvdt3uVwd9xxJal2TSLRruXSuzJjVJfV7HfiAyl1rUZEJvKsHatCdRqLDpFqKU5Tve8UA/s1600/20120918-pinnedsite_chrome.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwk9r3GFR3eXYJPFBbtYpcf9ZlwfN05yej05ditl1SPCPF6Fum_nypEk6zxzwCUPhhWmXpzbtvdt3uVwd9xxJal2TSLRruXSuzJjVJfV7HfiAyl1rUZEJvKsHatCdRqLDpFqKU5Tve8UA/s320/20120918-pinnedsite_chrome.png" width="305" /></a></div>
I've been using IE10 in Windows 8 to surf Facebook.com for several months. It's always worked fine, but about a week ago it seems that Facebook introduced a change that IE10 can't handle - photo overlays (when you click on a photo in Facebook) are all broken in IE10. It's easy enough to open the site in Chrome, but I find myself missing the coolness of just clicking the big pinned Facebook icon sitting in my taskbar.<br />
<br />
<h3>
<span style="font-size: large;"><b>What's a "pinned site"?</b></span></h3>
For those not familiar with this, one of the features introduced in Windows 7, and continued in Windows 8, is the notion of "pinned sites". Open a site in IE9 or IE10 and drag/drop the site icon in the address bar onto the taskbar, and it will create an icon for that site on the the taskbar that will use the site's default favicon and will, when clicked, open the site in Internet Explorer. The browser's window color will be automatically themed to match the dominant color in the favicon (this is fun). If the site's developers have added the appropriate meta tags, there will be customized options available for the site in the icon's right-click menu. Facebook's pinned icon even displays an asterisk on the icon when there are new notifications!<br />
<br />
<h3>
How do I get a "pinned site" to open in Chrome?</h3>
After a bit of experimentation I figured out a way to put a "pinned" icon in the taskbar that, when clicked, opens facebook.com in Chrome, even if IE is set as your system's default browser:<br />
<br />
- Open Chrome.<br />
- Right-click the taskbar icon and pin it to the taskbar.<br />
- Right-click the newly pinned icon, and at the bottom of the context menu, just above the "Unpin" option, right-click the Chrome icon and go to Properties.<br />
- In the Target field, put your cursor at the end of the line, add a space (if there isn't one already), and type "facebook.com", without the quotes. (as a paremeter, basically).<br />
- Go to the General tab and change the name of the shortcut to "Facebook", without the quotes.<br />
- The icon will be Chrome's, if you have a Facebook image file you want to use for the icon, you can use the "Change icon" button to do it, although you may need to mess with the file some depending on the format.<br />
<br />
Now you've got what appears to be a pinned site icon on the taskbar that opens facebook.com in Chrome instead of IE. Unfortunately, it's not a real pinned site - it won't have the extra right-click options like "News" or "Messages" that the actual pinned icon would have, and it won't change when there are new facebook notifications - but until either Microsoft or Facebook fixes whatever is causing photo overlays to break in IE10, this is the next best thing!Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-28995895164017367192012-01-25T01:37:00.000-05:002012-01-25T01:37:19.347-05:00Synergy between PC and MacWhile spending another evening at home working on work, I finally decided I'd had enough of occasionally reaching for my desktop mouse while working on my MBP and the brief moment of confusion that follows when the PC mouse fails to move the Mac pointer, so I installed Synergy, which I last played with about five years ago. Setting it up on a Mac is a royal pain, so if you're interested in doing what I did - installing Synergy on a Windows 7 box and an MBP running Snow Leopard on the same local network so you can use one mouse/keyboard between the two of them (without extra hardware) - then follow these steps:<div>
<br /></div>
<div>
<span style="font-size: large;">Step 1 - Download Synergy</span></div>
<div>
Download the Synergy installer on each system: </div>
<div>
<br /></div>
<div>
<a href="http://synergy-foss.org/download/">http://synergy-foss.org/download/</a></div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 2 - Install </span>
<span style="font-size: large;">Synergy</span> <span style="font-size: large;">on the Mac</span><br />On the Mac, double-click to unzip the archive and then navigate to the new directory in Terminal. Then move the two executables to /usr/bin:</div>
<div>
<br /></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace;">sudo synergy* /usr/bin/</span></div>
<div>
<br /></div>
<div>
Go to /usr/bin/ in Terminal and change the permissions on the two files:</div>
<div>
<br /></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace;">sudo chmod 755 synergyc</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace;">sudo chmod 755 synergys</span></div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 3 - Install </span>
<span style="font-size: large;">Synergy</span> <span style="font-size: large;">on the PC</span></div>
<div>
Double-click the installer.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 4 - Download QSynergy</span></div>
<div>
QSynergy is a cross-platform front-end for Synergy, download it on both systems:</div>
<div>
<br /></div>
<div>
<a href="http://sourceforge.net/projects/qsynergy/">http://sourceforge.net/projects/qsynergy/</a></div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 5 - Install </span>
<span style="font-size: large;">QSynergy</span> <span style="font-size: large;">on the Mac</span></div>
<div>
Double-click the installer and command-tab over to the new Finder window. Open a new Finder window and navigate to the Applications folder. Drag the QSynergy.app icon into the Applications folder.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 6 - Install </span>
<span style="font-size: large;">QSynergy</span> <span style="font-size: large;">on the PC</span></div>
<div>
Double-click the installer.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 7 - Configure </span><span style="font-size: large;">QSynergy on the PC</span></div>
<div>
Run QSynergy (tap Start, type the first few letters of QSynergy and hit Enter). Check "Use this computer to control others", click "Interactively configure synergy" and click the "Configure Server" button.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBLXFf3wxKPuk0Cy2VSfO_HXLsboILSkYDrZSSuJS8YhvdQ0SY4St1dPlXs-kUA9n3rTPNtv__0AQq7dqSuWW_mj6dhe2Jo886IuGOP-CybAdYbT3_nGn9RNH_1dQ2tDkkJT7nQ6E9zMI/s1600/20120125-qsynergy-server.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="291" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBLXFf3wxKPuk0Cy2VSfO_HXLsboILSkYDrZSSuJS8YhvdQ0SY4St1dPlXs-kUA9n3rTPNtv__0AQq7dqSuWW_mj6dhe2Jo886IuGOP-CybAdYbT3_nGn9RNH_1dQ2tDkkJT7nQ6E9zMI/s400/20120125-qsynergy-server.png" width="400" /></a></div>
<div>
<br /></div>
<div>
A monitor icon for your Windows system should already be present in the center of the grid. Drag the monitor icon in the upper right down into the grid to add a screen for your Mac. Place it wherever you'd like the screen to exist "virtually", so that when you move your mouse to that edge of your Windows monitor the pointer moves into the Mac monitor.</div>
<div>
<br /></div>
<div>
Double-click the icon for the new screen you just added to configure it. All you need to do is add your Mac's WINS name to the "Screen name" field, followed by ".home". To check your WINS name on your Mac, go to Apple menu > System Preferences > Network > Click the active network connection > Click the "Advanced" button > Click the WINS tab > Look in the "NetBIOS Name" field.</div>
<div>
<br /></div>
<div>
Type the name in the "Screen name" field on your Windows box, followed by ".home", ex:</div>
<div>
<br /></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace;">KERMIT.home</span></div>
<div>
<span style="font-family: 'Courier New', Courier, monospace;"><br /></span></div>
<div>
Click OK and you're done.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 8 - Configure QSynergy on the Mac</span></div>
<div>
Run QSynergy (tap COMMAND + SPACE, type the first few letters of "QSynergy" into the Spotlight field in the upper right, make sure "QSynergy.app" is highlighted and hit Enter). Check "Control this computer from another one" and type the name of your Windows box into the "Name of the server" field. To check the name, tap Start on your Windows box, right-click "Computer", select Properties, and look at the value for "Computer name".</div>
<div>
<br /></div>
<div>
Type the name into the "Name of the server" field on your Mac.</div>
<div>
<br /></div>
<div>
<b>Note:</b> if you have trouble connecting later, try typing your Windows box's IP address into this field instead of the name.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 9 - Run the server on the PC</span></div>
<div>
Click the "Start" button in the QSynergy window on your PC.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 10 - Run the client on the Mac</span></div>
<div>
Click the "Start" button in the QSynergy window on your Mac.</div>
<div>
<br /></div>
<div>
<span style="font-size: large;">Step 11 - Check that it works</span></div>
<div>
If the Synergy system tray icon on the Windows box displays a little lightning bolt, the connection's been established. Try moving your Windows mouse pointer past the edge you chose during configuration on your Windows monitor. If you don't remember which edge you chose, try all four of them! If everything works, your Mac pointer should suddenly start moving with your PC mouse as soon as you've moved the Windows pointer past the chosen edge. You should be able to move it freely between the two monitors.</div>
<div>
<br /></div>
<div>
These steps "just worked" for me. If they don't work for you, try the QSynergy support page:</div>
<div>
<br /></div>
<div>
<a href="http://sourceforge.net/projects/qsynergy/support">http://sourceforge.net/projects/qsynergy/support</a>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-17577788126896557632012-01-16T22:09:00.000-05:002012-01-24T23:11:02.646-05:00Put together a system for my five-year old...She's learning about computers in kindergarten so I figured it's high time she became comfortable with one at home. Rebuilt an old HP Slimline I haven't used in like three years, a 17" Sony monitor collecting dust in the garage, and my backup wired Logitech laser mouse. For once I didn't have an extra keyboard lying around, so I gave her the standard issue Dell I use on my main desktop (always thought of myself as a tricked-out keyboard type of guy, but ever since my last wireless, ergonomic, multimedia enhanced keyboard died a couple years ago, the Dell has, surprisingly, been more than adequate). After a couple hours in Windows Update (I think the last time I turned this system on was in 2008 or 2009), the setup's running smoothly, and my kid's in seventh heaven. Also known as <a href="http://pbskids.org/">pbskids.org</a>.<br />
<div>
<br /></div>
<div>
This of course left me with a mouse but no keyboard for my main system, until my next visit to <a href="http://www.microcenter.com/">Micro Center</a>. I was able to log in using the mouse and the on-screen accessibility keyboard, but after logging in, using it for everyday tasks gets old quick. Luckily it didn't take long for me to remember <a href="http://www.microsoft.com/enable/products/windowsvista/speech.aspx">Windows Speech Recognition</a>, which I'd last played with in 2009 when <a href="http://www.youtube.com/watch?v=3a2zqRc1jvs&feature=player_embedded">Vista</a> was released. Seems to work about the same in Windows 7 (I love it), but that's another post. A couple days later I was finally able to get over to Micro Center and peruse the keyboard aisle.</div>
<div>
<br /></div>
<div>
At first I thought I'd get another tricked out multimedia keyboard, but upon reflection, I decided to look at the small form factor bluetooth keyboards. What I'd love is a bluetooth, backlit keyboard with a numpad and a decent look for under $100 (or even $50), but that day hasn't come yet. What I walked out of the store with was a small, bluetooth keyboard by a company called "Rocksoul" for $30. It has chiclet keys and a nice simple look:</div>
<div>
<br /></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-vzOqeqKC4zE/TxTVP86vHnI/AAAAAAAAAFs/9Zd5yHvEWNk/s1600/IMAG1234" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="236" src="http://4.bp.blogspot.com/-vzOqeqKC4zE/TxTVP86vHnI/AAAAAAAAAFs/9Zd5yHvEWNk/s400/IMAG1234" width="400" /></a></div>
<br /></div>
<div>
<br /></div>
<div>
It wasn't until I got home and took it out of the box that I realized it was a Mac keyboard - instead of a Windows key, it had a Command key, which was flipped with the Alt key.</div>
<div>
<br /></div>
<div>
After going crazy trying to use it for a few minutes (never realized just how often I hit Alt+Space to bring up a window's system menu), I decided to remap the keys to my liking. I was surprised to find that Windows 7 doesn't really come with a way to do this (aside from manually editing the registry), although Microsoft's <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=22339">Keyboard Layout Creator</a> is a free download. It sucks though, and I didn't feel like trying any others out once I discovered that a utility I already use, <a href="http://www.autohotkey.com/">AutoHotKey</a>, lets you remap keys as well.</div>
<div>
<br /></div>
<div>
Here's the code I entered into my AutoHotKey script to swap the Command and Alt keys:</div>
<div>
<br /></div>
<code>
; Keyboard remap<br />
LWin::LAlt<br />
RWin::RAlt<br />
LAlt::LWin<br />
RAlt::RWin</code><br />
<div>
<br /></div>
<div>
In the end, I think I've decided to return this keyboard after all. While I like the small form factor in principle, it's distracting to type on it, and I miss the extra keys like the numpad, Home/End/Delete, Page Up/Down, and the Print Screen key. Furthermore, there's no Control key on the right side, and the leftmost bottom key is not Control but a Function key, very distracting. Finally, and I think this is a Mac thing - the Escape key only works for some things. I can dismiss a select list with it, but can't, for example, dismiss an open dialog box, which is second nature to me.</div>
<div>
<br /></div>
<div>
All in all, a nice enough keyboard, but not for me.</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-23165662220890983272012-01-04T15:20:00.003-05:002012-01-04T15:30:26.748-05:00Access your recently used apps with Dock4Droid<div><p>I find accessing recently used applications on my HTC Incredible (Gingerbread) to be slightly annoying, mostly because I'm a lazy, impatient, good for nothing bum. You just tap and hold the Home button for a second. The main issue I have with it is Android's faux multi-tasking, but that aside, the slight delay when holding the Home button trips me up when I'm on a roll or in a hurry, and I'm limited to eight recent apps. There are a number of solutions that help manage recent tasks. Today I found one that, while it doesn't actually speed me up, is a welcome change (for the moment).</p><p>"<a href="http://bit.ly/wXolNT">Dock4Droid</a>" puts an OSX-style dock on your phone. It's minimized to a thin, transparent glowing bar on one edge of the screen. Tap and hold, and the dock pops up, complete with magnification, displaying icons for your most recently used apps. Pausing on an app icon and releasing launches the app. Dragging your finger off the dock, or past the end of the list, dismisses the dock (unlike OSX, where this action removes the icon from the dock).</p><p>The dock can be customized in a number of ways. I've only tested the free limited version, but the dock can be moved to any screen edge, number of recent apps set, colors changed, etc.</p><p>Give it a try, here's <a href="http://bit.ly/wXolNT">the Market link for Dock4Droid</a>.<br /></p></div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-45024371270051476862011-12-25T22:44:00.005-05:002011-12-26T00:11:59.190-05:00Apple's Magic Trackpad on a Windows 7 desktopI use a Mac at work but I'm still a PC at home. One of the things I like about the MacBook Pro is its amazing trackpad. It's not the multitouch capabilities - any PC laptop today has a multitouch trackpad - but the incredible responsiveness. The trackpads on most PCs are tiny and require too much concentration to use, while the MBP trackpad is nice and big, and practically effortless to use.<div><br /></div><div>Apple released the <a href="http://www.apple.com/magictrackpad/">Magic Trackpad</a> a while back, which is basically an external, bluetooth version of the MBP's built-in trackpad. I immediately wanted it for my home machine... but I've got a PC. No matter, some googling revealed that it apparently installs fine on Windows 7, so I added it to my Amazon wishlist, and thanks to a super awesome sister, I had it in my hands today.</div><div><br /></div><div>Connecting it to my Win7 64-bit desktop was a breeze (drivers installed automatically), however, I discovered a major caveat. Although I was able to move the pointer around and click/double-click by pressing down on the trackpad, tapping or double-tapping did nothing, and multitouch wasn't supported either. Ten more minutes of googling found the answer.</div><div><br /></div><div>The following steps got me tapping and two finger scrolling:</div><div><ol><li>I uninstalled the trackpad before proceeding (not sure if that's necessary, but I wanted to start with a clean slate).</li><li>I installed the "Trackpad-Driver-Installer-12.exe" file from the following web page:<br /><a href="http://www.trackpadcontrol.com/download.html">http://www.trackpadcontrol.com/download.html</a><br /><br />What this amazing file does is download and install BootCamp on your computer (even if it's a standalone PC, didn't know you could do that), just so that it can extract the trackpad driver to your system, which it does automatically.</li><li>Once you've installed the driver, connect the trackpad to your system. For novices:<br />- Click Start and type "add".<br />- Select "Add a Bluetooth device" from the search results.<br />- When the "Add" dialog appears, turn on your trackpad.<br />- When the dialog finds the trackpad, follow the prompts.</li></ol><div>At this point, tapping and scrolling just worked. The instructions on the download page will have you install the "Magic Trackpad Control Panel", but that doesn't seem to be necessary for tap and scroll, which is all I want. The Control Panel is time-limited payware (but it's only eight bucks if you want it), however, the Trackpad Driver-Installer in the instructions above is free.</div></div><div><br /></div><div>So to sum up, with a single executable that does all the installation for you, you get:</div><div><ul><li>Single finger tap to click</li><li>Single-finger double-tap to double-click</li><li>Two-finger tap to right-click</li><li>Two-finger swipe to scroll.</li></ul><div>An interesting caveat to scrolling I just discovered:</div><div><ul><li>If you have (only) a vertical scroll bar, swiping up and down with two fingers scrolls vertically.</li><li>If you have both vertical and horizontal scroll bars, swiping vertically and horizontally works as expected.</li><li>If you have (only) a horizontal scroll bar, swiping left and right does... nothing. However, swiping up and down does scroll horizontally. So there you go.</li></ul></div></div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-11033524301368544412011-09-09T17:39:00.001-04:002011-09-09T17:39:24.423-04:00Google set to introduce Dart, a new structured programming language -- Engadget<div><p>Google set to introduce Dart, a new structured programming language -- Engadget<br>
http://engt.co/pYQQfc</p>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-31018266560410471932011-08-27T10:27:00.001-04:002011-08-27T10:27:23.983-04:00HTML5 accessibility<div><p>HTML5 accessibility<br>
http://www.HTML5accessibility.com/</p>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-41727101522409644462011-08-16T08:30:00.001-04:002011-08-16T08:30:08.846-04:00Responsive design at Event Apart<div><p>Adactio: Journal—Re-flex<br>
http://adactio.com/journal/4778/</p>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-56092572273251263272011-08-13T09:42:00.001-04:002011-08-13T09:42:25.669-04:00Android Market app updated, looks Metro-ish<div><p>I did a search on the Android Market yesterday and discovered that they'd changed the UI again. This time it's a lot busier, and after using it for a minute I realized it's yet another example of a Metro inspired UI. Metro is, of course, the tile-based UI developed by Microsoft for Windows Phone 7, and soon to be featured in Windows 8, but the concept has been making the rounds in not only mobile app interfaces but web site designs as well. And now, the Android Market.</p>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-3403262548462514252011-08-13T09:41:00.001-04:002011-08-13T09:41:28.905-04:0010 things you should know about HTML5 | TechRepublic<div><p><a href="http://tek.io/przySF">http://tek.io/przySF</a></p>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-54546579341537976092011-08-04T04:06:00.001-04:002011-08-13T09:43:10.673-04:00Why You Should Use XMLHttpRequest Asynchronously<div><p><a href="http://bit.ly/nEPBL7">http://bit.ly/nEPBL7</a></p>
</div>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-22798883204087345052011-08-02T22:24:00.000-04:002011-08-02T22:24:09.909-04:00Blog directory – News from Google<a href="http://www.google.com/intl/en/press/blog-directory.html">Blog directory – News from Google</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-1939809383304036412011-08-02T21:57:00.000-04:002011-08-02T21:58:32.247-04:00W3C Web Design site<a href="http://www.w3.org/standards/webdesign/">http://www.w3.org/standards/webdesign/</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com1tag:blogger.com,1999:blog-1800841442802518093.post-63134792198534606892011-07-29T06:41:00.001-04:002011-07-29T06:41:13.941-04:00HTML5 Drag and Drop Now Available in Microsoft Windows IE10 Platform Preview 2<br /><a href="http://bit.ly/mZcHri/">http://bit.ly/mZcHri/</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-15156214030917887322011-07-27T06:56:00.001-04:002011-07-27T06:56:26.346-04:00WebGL tutorial:<br /><a href="http://ping.fm/Ga7Kk">http://ping.fm/Ga7Kk</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-4243353094465923102011-07-26T08:17:00.001-04:002011-07-26T08:17:56.887-04:00mozlabs: We're hitting ASSEMBLY next week with x3 HTML5 sessions led by @mrdoob @quitenice @robhawkes <a href="http://t.co/5gwQurY">http://t.co/5gwQurY</a> html5 demoparty<br /><br />Original Tweet: <a href="http://ping.fm/SNSUZ">http://ping.fm/SNSUZ</a><br /><br />Sent via TweetDeck (www.tweetdeck.com)Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-76016221354486458022011-07-22T15:16:00.001-04:002011-07-22T15:16:57.729-04:00annoying that the sd card is inaccessible on my Android phone when connected to a computer, wasn't a problem with winmoAnonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com1tag:blogger.com,1999:blog-1800841442802518093.post-59935022539571952102011-07-21T09:48:00.001-04:002011-07-21T09:48:24.573-04:00<a href="http://ping.fm/yRptM">http://ping.fm/yRptM</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-59998633956138563742011-07-20T22:39:00.000-04:002011-07-20T22:41:25.522-04:00Reuters: Giant jacket beats budget airline fees<a href="http://www.reuters.com/video/2011/07/20/giant-jacket-beats-budget-airline-fees?videoId=217298180">Reuters: Giant jacket beats budget airline fees</a>Anonymoushttp://www.blogger.com/profile/12492666555689551346noreply@blogger.com0tag:blogger.com,1999:blog-1800841442802518093.post-77320693129880544022011-03-16T13:47:00.002-04:002011-03-16T13:47:36.934-04:00TypeDNATypeDNA is a great font-manager for Adobe Suite - uses Adobe Air, so it's cross-platform.<br />
<br />
<a href="http://www.typedna.com/">http://www.typedna.com/</a>Unknownnoreply@blogger.com0