<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6302933238343520396</id><updated>2016-06-01T15:45:26.431-05:00</updated><category term="Ciao Diamond"/><category term="Ciao.com"/><category term="depression"/><category term="Copy and paste"/><category term="Dysthymic Disorder"/><category term="Tool"/><category term="Tool review"/><category term="Valentines day depression"/><category term="aenima review"/><category term="agnostic"/><category term="agnosticism"/><category term="being agnostic"/><category term="boredom"/><category term="ciao reviews"/><category term="economic depression"/><category term="evil economic financial institutions"/><category term="evil republicans"/><category term="evolving"/><category term="evolving intellectually"/><category term="free proxy"/><category term="gimp"/><category term="gimp tutorials"/><category term="graphic design"/><category term="graphics"/><category term="graphics design tutorials"/><category term="intellectual evolution"/><category term="love"/><category term="proxy"/><category term="teachng people to use basic functions on a pc."/><category term="valentine"/><category term="valentines day"/><category term="Ænima"/><title type='text'>The Agnostic Microcosm</title><subtitle type='html'>Everything crawling around in my mind</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default?start-index=26&amp;max-results=25'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-9000728315922354093</id><published>2016-05-22T17:30:00.000-05:00</published><updated>2016-05-23T12:03:19.242-05:00</updated><title type='text'>Pixel Grabber (coordinate and pixel color info at mouse position - utility written in AHK) </title><content type='html'>&lt;div style=&quot;background: url(&amp;quot;https://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&amp;quot;); border-radius: 10px; box-shadow: rgb(14, 30, 0) 0px 0px 8px 8px; font-family: georgia, serif; height: 100%; margin: auto; overflow: hidden; padding: 4px; width: 100%;&quot;&gt;&lt;div id=&quot;fb-root&quot; style=&quot;color: white;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;color: white;&quot;&gt;&lt;script&gt;(function(d, s, id) {   var js, fjs = d.getElementsByTagName(s)[0];   if (d.getElementById(id)) return;   js = d.createElement(s); js.id = id;   js.src = &quot;//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.6&amp;appId=315119595244827&quot;;   fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;    &lt;/div&gt;&lt;center style=&quot;color: white;&quot;&gt;        &lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Pixel Grabber V1.0&lt;/h1&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;        &lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/pixel-grabber-coordinate-and-pixel.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot; style=&quot;display: inline-block; vertical-align: top;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;g-plusone&quot;&gt;&lt;/div&gt;&lt;div style=&quot;display: inline-block; margin-left: -40px; vertical-align: top;&quot;&gt;&lt;a class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/pixel-grabber-coordinate-and-pixel.html&quot; data-via=&quot;Lateralus138&quot; href=&quot;https://twitter.com/share&quot; data-text=&quot;Pixel Grabber V1.0&quot;&gt;Tweet&lt;/a&gt;        &lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;        &lt;/div&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;    &lt;/center&gt;&lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;&lt;div style=&quot;color: white; text-indent: 24px;&quot;&gt;If you are a graphic designer then you may be familiar with ColorPic or Gpic; for those of you who aren&#39;t familiar with those programs (or other alternatives) these are color picker &amp;nbsp;and swatch programs (Gpic can convert PS .ase to GIMP .gpl and vice versa) that are great for retrieving color and some window info at the mouse cursor.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;color: white; text-indent: 24px;&quot;&gt;There are quite a few decent alternatives out there, but I wanted something more tailored to my needs since not only do I do graphic design, but I also build lots of GUI&#39;s in AutoHotkey and so I wrote a utility that is great for graphic design, but also good for building AHK GUI&#39;s.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;&lt;span style=&quot;color: yellow;&quot;&gt;Pixel Grabber&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt; V1.0 is a small utility that retrieves coordinate and color information at the mouse cursor simply by holding the Contol key and left clicking (&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;Ctrl+Left Click&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;). For now the information retrieved is the Windows title (not all windows have names), the Screen (Desktop) and Client &amp;nbsp;(if exists) coordinates relative to the each, and the actual pixels color with the code and a preview of the color. All information is copied to the clipboard in subsequent order, but the clipboards contents can be cleared with a button.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Downloads&lt;/h3&gt;&lt;h4 style=&quot;color: #ff7777; font-weight: normal;&quot;&gt;Copyright Ian Pride 2016 © This program is distributed under the terms of the GNU General Public License.&lt;/h4&gt;&lt;div style=&quot;color: white; text-indent: 24px;&quot;&gt;Your choice of just the portable executable or the zip package which inludes the executable, source code, and a copy of the license: &lt;br /&gt;&lt;ul style=&quot;color: white; list-style: none;&quot;&gt;&lt;li&gt;Portable Executable: &lt;a href=&quot;https://app.box.com/s/qbqapobmrmhqjxahx6wdhspz56lp0vjp&quot; target=&quot;_blank&quot;&gt;Pixel Grabber V1.0&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Portable Executable w/ Source &amp;amp; GPL: &lt;a href=&quot;https://app.box.com/s/wtekkg3uf39iu8ho5hhrklc9ky4ik9zx&quot; target=&quot;_blank&quot;&gt;PixelGrabberv1.0.zip&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div style=&quot;display: inline-block; text-indent: 0px;&quot;&gt;&lt;a href=&quot;https://4.bp.blogspot.com/-7JOWg8GhTNc/V0Itlv4e8TI/AAAAAAAAASU/7Ju_4E6eVjMido2HkfFv0g2Kxw1yEYvjwCLcB/s1600/pg_screen.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://4.bp.blogspot.com/-7JOWg8GhTNc/V0Itlv4e8TI/AAAAAAAAASU/7Ju_4E6eVjMido2HkfFv0g2Kxw1yEYvjwCLcB/s1600/pg_screen.png&quot; style=&quot;float: left; margin-left: -16px;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://4.bp.blogspot.com/-O2a6IR2GD7M/V0ItlhDR0FI/AAAAAAAAASY/6j83k8KifwwkVJTIREoVmLZtznLMbwdXwCLcB/s1600/pg_screen2.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://4.bp.blogspot.com/-O2a6IR2GD7M/V0ItlhDR0FI/AAAAAAAAASY/6j83k8KifwwkVJTIREoVmLZtznLMbwdXwCLcB/s1600/pg_screen2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;h3 style=&quot;color: red;&quot;&gt;Source Script (needs AHK, use the exe to use without install)&lt;/h3&gt;&lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;&lt;br /&gt;; Name:   Pixel Grabber V1.0 &lt;br /&gt;; Author: Lateralus138 (A.K.A Flux Apex A.K.A Ian Pride)&lt;br /&gt;; Year: 2016&lt;br /&gt;; Copyright Ian Pride 2016 © This program is distributed under the terms of the GNU General Public License.&lt;br /&gt;; Email: faithnomoread@yahoo.com&lt;br /&gt;; http://www.gnu.org/licenses/gpl-3.0.en.html&lt;br /&gt;; This program is free software: you can redistribute it and/or modify&lt;br /&gt;; it under the terms of the GNU General Public License as published by&lt;br /&gt;; the Free Software Foundation, either version 3 of the License, or&lt;br /&gt;; (at your option) any later version.&lt;br /&gt;;&lt;br /&gt;; This program is distributed in the hope that it will be useful,&lt;br /&gt;; but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;; GNU General Public License for more details.&lt;br /&gt;;&lt;br /&gt;; You should have received a copy of the GNU General Public License&lt;br /&gt;; along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.&lt;br /&gt;;&lt;br /&gt;; Gets window and color information at pixel coordinate &lt;br /&gt;; with the hotkeys: Ctrl+LeftClick. Very useful for &lt;br /&gt;; graphic design or writing AutoHotkey GUIs. &lt;br /&gt;; &lt;br /&gt;OnMessage(0x20, &quot;WM_SETCURSOR&quot;)&lt;br /&gt;#SingleInstance, Force&lt;br /&gt;Menu, Tray, NoStandard&lt;br /&gt;Menu, Tray, Add, &amp;Help, gsHlp&lt;br /&gt;Menu, Tray, Add, My &amp;Blog, gsMBlg &lt;br /&gt;Menu, Tray, Add&lt;br /&gt;Menu, Tray, Add, E&amp;xit, gsExt&lt;br /&gt;_fGtMn()&lt;br /&gt;GuiControl, Show, gsRstClp %But%&lt;br /&gt;Return&lt;br /&gt;;End auto-execute&lt;br /&gt;&lt;br /&gt;;Hotkeys&lt;br /&gt;+Esc::Reload&lt;br /&gt;^LButton::_fGtInf(_vX, _vY,_vRgb,_vBgr, _vWx, _vWy, _vWt, _vWw, _vWh, _vXc, _vYc)&lt;br /&gt;;Gosubs&lt;br /&gt;gsMBlg:&lt;br /&gt; Run, &quot;http://agnosticmicrocosm.blogspot.com/&quot;&lt;br /&gt;Return&lt;br /&gt;gsHlp:&lt;br /&gt; MsgBox,64,Pixel Grabber Help, % &quot;To use this simply hold Ctrl &amp; left click the place you&quot;&lt;br /&gt;  . &quot;`nwant the coordinates &amp; color of. Coordinates &amp; color&quot; &lt;br /&gt;  . &quot;`nwill be displayed &amp; copied to your clipboard. Multiple&quot; &lt;br /&gt;  . &quot;`ninfo boxes can be left open and subsequent new&quot; &lt;br /&gt;  . &quot;`ncoordinates &amp; colors will be added to the clipboard&quot; &lt;br /&gt;  . &quot;`nstack.&quot;&lt;br /&gt;Return&lt;br /&gt;gsHide:&lt;br /&gt; Gui, Cancel&lt;br /&gt;Return&lt;br /&gt;MainGuiEscape:&lt;br /&gt; Gosub, gsHide&lt;br /&gt;Return&lt;br /&gt;gsRstClp:&lt;br /&gt; clipboard =&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;;Functions&lt;br /&gt;MouseOver(_vXa, _vYa, _vXb, _vYb)&lt;br /&gt;{&lt;br /&gt; MouseGetPos, _vPx, _vPy&lt;br /&gt; _vDtct := _vPx &gt;= _vXa AND _vPx &lt;= _vXb AND _vPy &gt;= _vYa AND _vPy &lt;= _vYb&lt;br /&gt; Return _vDtct&lt;br /&gt;}&lt;br /&gt;WM_SETCURSOR(){&lt;br /&gt; Loop&lt;br /&gt;  {&lt;br /&gt;   If MouseOver(0, 0, 250, 344) {&lt;br /&gt;    If Not hCursor1 { &lt;br /&gt;      hCursor1 := DllCall(&quot;LoadCursor&quot;, &quot;uint&quot;, 0, &quot;uint&quot;, 32512)&lt;br /&gt;     }&lt;br /&gt;    DllCall(&quot;SetCursor&quot;, &quot;uint&quot;, hCursor1)&lt;br /&gt;    ;Return True&lt;br /&gt;   } &lt;br /&gt;   If MouseOver(135, 164, 247, 186) Or MouseOver(135, 190, 247, 212) Or MouseOver(135, 216, 247, 238) Or MouseOver(135, 242, 247, 264) {&lt;br /&gt;    If Not hCursor2 { &lt;br /&gt;      hCursor2 := DllCall(&quot;LoadCursor&quot;, &quot;uint&quot;, 0, &quot;uint&quot;, 32649)&lt;br /&gt;     }&lt;br /&gt;    DllCall(&quot;SetCursor&quot;, &quot;uint&quot;, hCursor2)&lt;br /&gt;    Return True&lt;br /&gt;   }&lt;br /&gt;   GuiControl, Show, gsHlp %But%&lt;br /&gt;   Break&lt;br /&gt;  }&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;WM_SETCURSOR2(){&lt;br /&gt; Loop&lt;br /&gt;  {&lt;br /&gt;   IfWinActive, Pixel Grabber Info &lt;br /&gt;   {&lt;br /&gt;    If MouseOver(20, 81, 66, 129) Or  MouseOver(256, 99, 290, 114) {&lt;br /&gt;     If Not hCursor2 { ;Make sure the cursor is already loaded &lt;br /&gt;       hCursor2 := DllCall(&quot;LoadCursor&quot;, &quot;uint&quot;, 0, &quot;uint&quot;, 32649)&lt;br /&gt;      }&lt;br /&gt;     DllCall(&quot;SetCursor&quot;, &quot;uint&quot;, hCursor2)&lt;br /&gt;     Return True ;Stop further processing&lt;br /&gt;    }  &lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;_fGtInf(ByRef _vX, ByRef _vY, ByRef _vRgb, ByRef _vBgr, ByRef _vWx, ByRef _vWy, ByRef _vWt, ByRef _vWw, ByRef  _vWh, ByRef _vXc, ByRef _vYc){&lt;br /&gt; OnMessage(0x20, &quot;WM_SETCURSOR2&quot;)&lt;br /&gt; CoordMode, Mouse, Screen&lt;br /&gt; MouseGetPos, _vX, _vY&lt;br /&gt; MouseGetPos,,,_vWPn&lt;br /&gt; WinActivate, ahk_id %_vWPn%&lt;br /&gt; CoordMode, Mouse, Window&lt;br /&gt; MouseGetPos, _vXc, _vYc&lt;br /&gt; WinGetActiveStats, _vWt, _vWw, _vWh, _vWx, _vWy&lt;br /&gt; If (_vWx = &quot;-5&quot;){&lt;br /&gt;  _vWx := &quot;0&quot;&lt;br /&gt;  _vXc := _vXc - 5&lt;br /&gt; }&lt;br /&gt; If (_vWy = &quot;-5&quot;){&lt;br /&gt;  _vWy := &quot;0&quot;&lt;br /&gt;  _vYc := _vYc - 5&lt;br /&gt; }&lt;br /&gt; CoordMode, Pixel, Screen&lt;br /&gt; PixelGetColor, _vRgb , %_vX%, %_vY%,RGB&lt;br /&gt; PixelGetColor, _vBgr , %_vX%, %_vY%&lt;br /&gt; clipboard := clipboard &quot;`nWindow Name: `n&quot; _vWt &quot;`nDesktop Relative:`nx&quot; _vX &quot; y&quot; _vY &quot;`nWindow Relative: `nx&quot; _vXc &quot; y&quot; _vYc &quot;`nColor at coordinate: `n&quot; _vRgb &quot;`n&quot;&lt;br /&gt; Gui, New&lt;br /&gt; Gui, Add, Text, w300+BackgroundTrans, % &quot;Active Window Name:`n&quot; &lt;br /&gt;  . _vWt&lt;br /&gt;  . &quot;`n`nWindow upper left starting position: `nx: &quot;&lt;br /&gt;  . _vWx &quot;        |     y: &quot; _vWy &lt;br /&gt;  . &quot;`n`nDesktop relative coordinates at mouse position:`nx: &quot; &lt;br /&gt;  . _vX &quot;        |     y: &quot; _vY &lt;br /&gt;  . &quot;`n`nWindow relative coordinates at mouse position:`nx: &quot; &lt;br /&gt;  . _vXc &quot;        |     y:&quot; _vYc &lt;br /&gt;  . &quot;`n`nCoordinates and color have been copied to your clipboard.&quot; &lt;br /&gt; Gui, Add, Progress, xp+5 yp+186 w50 h50 c%_vRgb%,100&lt;br /&gt; StringReplace, _vRgb, _vRgb, 0x,&lt;br /&gt; Gui, Add, Text, +BackgroundTrans xp+60 yp+18, % &quot;Color at mouse postion: &quot; . _vRgb&lt;br /&gt; Gui, Add, Button, xp+175 yp-2 ggsHide, Close&lt;br /&gt; Gui, Show,w300 ,Pixel Grabber Info&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;WM_MOUSELEAVE(){&lt;br /&gt;}&lt;br /&gt;_fGtMn(){&lt;br /&gt;&lt;br /&gt; OnMessage(0x20, &quot;WM_SETCURSOR&quot;)&lt;br /&gt; Gui, New&lt;br /&gt; Gui, Main: Default&lt;br /&gt; Gui, Font, s8, Cambria&lt;br /&gt; _fGrphx(&quot;125&quot;,&quot;0&quot;,&quot;66&quot;,&quot;100&quot;,&quot;125&quot;,&quot;125&quot;,&quot;EF7D1A&quot;,&quot;2&quot;,&quot;2&quot;)&lt;br /&gt; _fGrphx(&quot;0&quot;,&quot;125&quot;,&quot;66&quot;,&quot;100&quot;,&quot;125&quot;,&quot;125&quot;,&quot;EF7D1A&quot;,&quot;2&quot;,&quot;2&quot;)&lt;br /&gt; _fGrphx(&quot;0&quot;,&quot;0&quot;,&quot;66&quot;,&quot;100&quot;,&quot;125&quot;,&quot;125&quot;,&quot;7DA485&quot;,&quot;2&quot;,&quot;2&quot;)&lt;br /&gt; _fTxtBrdr(&quot;Pixel&quot;,&quot;16&quot;,&quot;0&quot;,&quot;EF7D1A&quot;,&quot;white&quot;,&quot;28&quot;)&lt;br /&gt; _fTxtBrdr(&quot;Grabber&quot;,&quot;100&quot;,&quot;0&quot;,&quot;7DA485&quot;,&quot;white&quot;,&quot;28&quot;)&lt;br /&gt; Gui, Font, s11, Cambria&lt;br /&gt; Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y141  w112 h22, 100&lt;br /&gt; _fTxtBrdr2(&quot;Reset Clipboard&quot;,&quot;112&quot;,&quot;22&quot;, &quot;gsRstClp&quot;,&quot;135&quot;,&quot;141&quot;,&quot;7DA485&quot;,&quot;White&quot;,&quot;11&quot;)&lt;br /&gt; Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y167  w112 h22, 100&lt;br /&gt; _fTxtBrdr2(&quot;Help&quot;,&quot;112&quot;,&quot;22&quot;,&quot;gsHlp&quot;,&quot;135&quot;,&quot;167&quot;,&quot;7DA485&quot;,&quot;White&quot;,&quot;11&quot;)&lt;br /&gt; Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y193  w112 h22, 100&lt;br /&gt; _fTxtBrdr2(&quot;My Blog&quot;,&quot;112&quot;,&quot;22&quot;,&quot;gsMBlg&quot;,&quot;135&quot;,&quot;193&quot;,&quot;7DA485&quot;,&quot;White&quot;,&quot;11&quot;)&lt;br /&gt; Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y219  w112 h22, 100&lt;br /&gt; _fTxtBrdr2(&quot;Exit&quot;,&quot;112&quot;,&quot;22&quot;,&quot;gsExt&quot;,&quot;135&quot;,&quot;219&quot;,&quot;7DA485&quot;,&quot;White&quot;,&quot;11&quot;)&lt;br /&gt; Gui, Main: Show, w250 h250 Center, Pixel Grabber&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;_fGrphx(_vCntrX, _vCntrY, _vLp, _vLpWdth, _vWdth, _vHght, _vClr, _vIncrA, _vIncrB, _vBgClrb := &quot;White&quot;){&lt;br /&gt; Loop, %_vLp%&lt;br /&gt;  { &lt;br /&gt;   Gui, Main: Add, Progress, -Smooth Disabled x%_vCntrX% y%_vCntrY% w%_vWdth% h%_vHght% Background%_vBgClrb% c%_vClr%, % _vLpWdth&lt;br /&gt;   _vCntrX := _vCntrX + _vIncrA&lt;br /&gt;   _vCntrY := _vCntrY + _vIncrB&lt;br /&gt;  }&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;_fTxtBrdr(_vTxt, _vXb := &quot;0&quot;, _vYb := &quot;0&quot;, _vBgClr := &quot;Black&quot;, _vClr := &quot;White&quot;, _vTxtSz := &quot;8&quot;){&lt;br /&gt; Gui, Font, q5 s%_vTxtSz%, Cambria&lt;br /&gt; Gui, Main: Add, Text, +BackgroundTrans x%_vXb% y%_vYb% c%_vBgClr%, % _vTxt&lt;br /&gt; Gui, Main: Add, Text, +BackgroundTrans xp yp+2 c%_vBgClr%, % _vTxt&lt;br /&gt; Gui, Main: Add, Text, +BackgroundTrans xp+2 yp c%_vBgClr%, % _vTxt&lt;br /&gt; Gui, Main: Add, Text, +BackgroundTrans xp yp-2 c%_vBgClr%, % _vTxt&lt;br /&gt; Gui, Main: Add, Text, +BackgroundTrans xp-1 yp+1 c%_vClr%, % _vTxt&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;_fTxtBrdr2(_vTxt2, _vXw, _vYw, _vGs, _vXb2 := &quot;0&quot;, _vYb2 := &quot;0&quot;, _vBgClr2 := &quot;Black&quot;, _vClr2 := &quot;White&quot;, _vTxtSz2 := &quot;8&quot;){&lt;br /&gt; Gui, Font, q5 s%_vTxtSz2%, Cambria&lt;br /&gt; Gui, Main: Add, Text, +Center +BackgroundTrans x%_vXb2% y%_vYb2% w%_vXw% h%_vYw% c%_vBgClr2%, %_vTxt2%&lt;br /&gt; Gui, Main: Add, Text, +Center +BackgroundTrans xp yp+2 w%_vXw% h%_vYw% c%_vBgClr2%, % _vTxt2&lt;br /&gt; Gui, Main: Add, Text, +Center +BackgroundTrans xp+2 yp w%_vXw% h%_vYw% c%_vBgClr2%, % _vTxt2&lt;br /&gt; Gui, Main: Add, Text, +Center +BackgroundTrans xp yp-2 w%_vXw% h%_vYw% c%_vBgClr2%, % _vTxt2&lt;br /&gt; Gui, Main: Add, Text, +Center +BackgroundTrans xp-1 yp+1 w%_vXw% h%_vYw% c%_vClr2% g%_vGs%, % _vTxt2&lt;br /&gt; Return&lt;br /&gt;}&lt;br /&gt;GuiClose:&lt;br /&gt; Gui, Cancel&lt;br /&gt;Return&lt;br /&gt;gsExt:&lt;br /&gt;MainGuiClose:&lt;br /&gt; SplashTextOn, 200, 22, ,% &quot;Exiting Pixel Grabber!!!&quot;&lt;br /&gt; Sleep 1500&lt;br /&gt; ExitApp&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;/http:&gt;&lt;/pre&gt;&lt;center&gt;&lt;div style=&quot;color: white;&quot;&gt;        &lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/pixel-grabber-coordinate-and-pixel.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot; style=&quot;display: inline-block; vertical-align: top;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;g-plusone&quot;&gt;&lt;/div&gt;&lt;div style=&quot;display: inline-block; margin-left: -40px; vertical-align: top;&quot;&gt;&lt;a class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/pixel-grabber-coordinate-and-pixel.html&quot; data-via=&quot;Lateralus138&quot; href=&quot;https://twitter.com/share&quot; data-text=&quot;Pixel Grabber V1.0&quot;&gt;Tweet&lt;/a&gt;        &lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;        &lt;/div&gt;&lt;/center&gt;&lt;script async=&quot;&quot; defer=&quot;&quot; src=&quot;https://apis.google.com/js/platform.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/9000728315922354093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=9000728315922354093&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/9000728315922354093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/9000728315922354093'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2016/05/pixel-grabber-coordinate-and-pixel.html' title='Pixel Grabber (coordinate and pixel color info at mouse position - utility written in AHK) '/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-7JOWg8GhTNc/V0Itlv4e8TI/AAAAAAAAASU/7Ju_4E6eVjMido2HkfFv0g2Kxw1yEYvjwCLcB/s72-c/pg_screen.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-8651682176967783309</id><published>2016-05-18T14:22:00.002-05:00</published><updated>2016-05-18T15:13:35.001-05:00</updated><title type='text'>Linux window shading with wmctrl (toggle all windows script)</title><content type='html'> &lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&amp;#39;https://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&amp;#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; font-family: Georgia, serif; height: 100%; margin: auto; overflow: hidden; padding: 4px; width: 100%;&quot;&gt;&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&gt;(function(d, s, id) {   var js, fjs = d.getElementsByTagName(s)[0];   if (d.getElementById(id)) return;   js = d.createElement(s); js.id = id;   js.src = &quot;//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.6&amp;appId=315119595244827&quot;;   fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;    &lt;br /&gt;    &lt;center&gt;        &lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Wmctrl shade toggle script for Linux&lt;/h1&gt;        &lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/linux-window-shading-with-wmctrl-toggle.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot; style=&quot;display: inline-block;vertical-align: top;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;g-plusone&quot;&gt;&lt;/div&gt;&lt;div  style=&quot;display: inline-block;vertical-align: top;margin-left: -40px;&quot;&gt;&lt;a href=&quot;https://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/linux-window-shading-with-wmctrl-toggle.html&quot; data-via=&quot;Lateralus138&quot;&gt;Tweet&lt;/a&gt;&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;&lt;/div&gt;        &lt;hr style=&quot;border-style: dashed;&quot; /&gt;    &lt;/center&gt;    &lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;        &lt;center&gt;&lt;h3 style=&quot;color: yellow;&quot;&gt;Linux Windows Management&lt;/h3&gt;&lt;/center&gt;        &lt;p style=&quot;text-indent: 24px;&quot;&gt;            If you use Linux then you may be familiar with and/or love the fact that it has the most amazing and arguably best window management systems compared to Windows or Mac (both of which you only have one choice). In Linux there are various WM (Window Management) systems you can use and most can be used in lots of Linux distributions (Debian, Mint, Opensuse, etc...) depending on the WM.         &lt;/p&gt;        &lt;p style=&quot;text-indent: 24px;&quot;&gt;            One nice feature of some WM&#39;s is the shading/rollup feature, which instead of minimizing a window you can just hit the shade button and it will be rolled up to a just a thin title bar allowing you to see more of your desktop and/or other windows, but being reminded that window is open and you have stuff left to do there. This feature usually works well in most distros, but not always and not always well in every application type. In Ubuntu which is one of the biggest distros this ability has been ruined by the unity compiz plugin and so any window shading will now just minimize the window. This is, of course, if you use Unity as your WM.         &lt;/p&gt;        &lt;center&gt;&lt;h3 style=&quot;color: yellow;&quot;&gt;WMCTRL&lt;/h3&gt;&lt;/center&gt;        &lt;p style=&quot;text-indent: 24px;&quot;&gt;            If you do have issues with normal window shading buttons (Opensuse has some issues) or normal hotkeys not executing shading then you can almost always write a simple shell script using  &lt;span style=&quot;color: yellow; font-weight: bold; font-style: italic;&quot;&gt;wmctrl&lt;/span&gt;:         &lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;&lt;br /&gt;            wmctrl -r :ACTIVE: -b toggle,shaded&lt;br /&gt;        &lt;/pre&gt;        &lt;p style=&quot;text-indent: 24px;&quot;&gt;            If you call this simple script using a hotkey this will shade whatever window is is currently active. You can also toggle the shade state of a specific window. By using &lt;span style=&quot;color: yellow; font-weight: bold; font-style: italic;&quot;&gt;wmctrl -l&lt;/span&gt; you can list all active windows and get the names and ids of each. Using the window name you can then do this:         &lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;&lt;br /&gt;wmctrl -l # &lt;- lists all windows&lt;br /&gt;&lt;br /&gt;    # E.g:&lt;br /&gt;    #0x03600017 -1         N/A Desktop — Plasma&lt;br /&gt;    #0x0360001a -1         N/A Plasma&lt;br /&gt;    #0x03600025 -1         N/A Plasma&lt;br /&gt;    #0x01800001  1 fluxinferno Blogger: The Agnostic Microcosm - Edit post - Google Chrome&lt;br /&gt;    #0x0500002b -1 fluxinferno Guake!&lt;br /&gt;    # then with the window title you can toggle its&#39; shaded state with:&lt;br /&gt;&lt;br /&gt;wmctrl -r &quot;Google Chrome&quot; -b toggle,shaded&lt;br /&gt;        &lt;/pre&gt;            &lt;span style=&quot;color: yellow; font-weight: bold; font-style: italic;&quot;&gt;WMCTRL&lt;/span&gt; comes already pre-installed in most distros, but I am pretty sure it can be found for almost any distro you can imagine if not.         &lt;/p&gt;        &lt;h3 style=&quot;color: red;&quot;&gt;Wmctrl to toggle shade state of all windows&lt;/h3&gt;        &lt;p style=&quot;text-indent: 24px;&quot;&gt;            Sometimes you may just want to toggle the shade states of all windows. That gets a little tricker as you have to list all windows currently running, store the window names and and run the above command on each name. This can be done using a for loop on the list command. The below code can be run from your terminal, but is better used in a script and set to run with a hotkey. I usually use Alt+X to toggle active and Ctrl+Alt+X to toggle all. Check out this shell script to toggle shade on all windows:         &lt;/p&gt;        &lt;!-- &lt;h4 style=&quot;color: #FF7777; font-weight: normal;&quot;&gt;Toggle shade on all windows in Linux&lt;/h4&gt; --&gt;        &lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;&lt;br /&gt;for i in $(wmctrl -l | awk &#39;{print $4}&#39;); do&lt;br /&gt;  wmctrl -r &quot;$i&quot; -b toggle,shaded&lt;br /&gt;done&lt;br /&gt;        &lt;/pre&gt;        &lt;p style=&quot;text-indent: 24px;&quot;&gt;            Just save the above script to a file and make sure it&#39;s executable and place it in any folder your shells PATH is read from. Then set a hotkey to the script and execute as needed. &lt;center&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/linux-window-shading-with-wmctrl-toggle.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot; style=&quot;display: inline-block;vertical-align: top;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;g-plusone&quot;&gt;&lt;/div&gt;&lt;div  style=&quot;display: inline-block;vertical-align: top;margin-left: -40px;&quot;&gt;&lt;a href=&quot;https://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/05/linux-window-shading-with-wmctrl-toggle.html&quot; data-via=&quot;Lateralus138&quot;&gt;Tweet&lt;/a&gt;&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;&lt;/div&gt;&lt;/center&gt;&lt;script src=&quot;https://apis.google.com/js/platform.js&quot; async defer&gt;&lt;/script&gt;    &lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/8651682176967783309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=8651682176967783309&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8651682176967783309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8651682176967783309'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2016/05/linux-window-shading-with-wmctrl-toggle.html' title='Linux window shading with wmctrl (toggle all windows script)'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-98464470285770501</id><published>2016-04-29T10:07:00.002-05:00</published><updated>2016-04-29T10:33:23.747-05:00</updated><title type='text'>Bash Toggle Process Function/Script</title><content type='html'>&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&gt;(function(d, s, id) {   var js, fjs = d.getElementsByTagName(s)[0];   if (d.getElementById(id)) return;   js = d.createElement(s); js.id = id;   js.src = &quot;//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.6&amp;appId=315119595244827&quot;;   fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; font-family: Georgia, serif; height: 100%; margin: auto; overflow: hidden; padding: 4px; width: 100%;&quot;&gt;&lt;br /&gt;&lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Bash Toggle Process Function/Script&lt;/h1&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot;&gt;&lt;/div&gt;&lt;a href=&quot;https://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html&quot; data-text=&quot;Toggle Process Bash Script&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;bashscript&quot;&gt;Tweet&lt;/a&gt;&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;&lt;!-- Place this tag where you want the share button to render. --&gt;&lt;div class=&quot;g-plus&quot; data-action=&quot;share&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html&quot;&gt;&lt;/div&gt;&lt;/center&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;If you use both Windows and Linux and like automation tools then you know that compared to Windows, Linux can be somewhat lacking. Not that Linux isn&#39;t powerful or capable of something like AutoIt or AutoHotkey (AutoKey for Linux), but with AutoHotkey in Windows there&#39;s really nothing I can&#39;t do, whereas Autokey is very, very limited by just using Python. &lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;Having said that, you can still do lots of stuff with AutoKey by using other scripting languages, especially just by having AK executing good &#39;ol shell scripts. Today I want to show you a &#39;toggle process&#39; bash script (easily made universal) I wrote to use with AutoKey (AK not necessary though). This script has 3 modes: 1. Run if not running, 2. Activate if not active, and 3. Minimize if active. The only thing this does not do is close the process (you have alt+f4 for that :D) and things like window shading of course... &lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Usage&lt;/h3&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;To use this script all you would have to do is either write a script or run in a terminal eg.:  &lt;pre&gt;toggle firefox&lt;/pre&gt; and firefox will either start, activate or minimize depending on its&#39; state. If your process is not in a normal bin path that your shell looks in the you must provide the full path e.g.: &lt;pre&gt;toggle /full/path/to/your/process&lt;/pre&gt;&lt;/div&gt; &lt;h3 style=&quot;color: red;&quot;&gt;Dependencies&lt;/h3&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;This script/function is depenedent on Linux packages &#39;xprop&#39; and &#39;xdotools&#39;, both of which come pre-installed on most modern day Linux distrobutions, but if not I can almost garauntee you can find the packages for your distro in your package manager. &lt;/div&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;This has been tested and running on both Ubuntu and Opensuse.&lt;br /&gt;Either copy the below code or there&#39;s a downloadable script below. &lt;/div&gt; &lt;h3 style=&quot;color: red;&quot;&gt;Source Code&lt;/h3&gt;&lt;h4 style=&quot;color: #FF7777; font-weight: normal;&quot;&gt;Function (for use in .bash_aliases for example)&lt;/h4&gt;&lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;&lt;br /&gt;function toggle {&lt;br /&gt;  if [[ -z &quot;$1&quot; ]]; then&lt;br /&gt;   echo &quot;No process given.&quot;&lt;br /&gt;  else&lt;br /&gt;   cpid=$(xdotool search --name $1)&lt;br /&gt;   if [[ -z &quot;$cpid&quot; ]]; then&lt;br /&gt;      $1 &amp;&lt;br /&gt;   else&lt;br /&gt;      for i in $cpid; do&lt;br /&gt;         cstate=$(xprop -id $i | grep &quot;HIDDEN&quot;)&lt;br /&gt;     if [[ -z &quot;$cstate&quot; ]]; then&lt;br /&gt;            xdotool windowminimize $i&lt;br /&gt;         else&lt;br /&gt;            xdotool windowactivate $i&lt;br /&gt;         fi&lt;br /&gt;      done&lt;br /&gt;   fi&lt;br /&gt;  fi&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;h4 style=&quot;color: #FF7777; font-weight: normal;&quot;&gt;Script (for use everywhere else)&lt;/h4&gt;&lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;if [[ -z &quot;$1&quot; ]]; then&lt;br /&gt; echo &quot;No process given.&quot;&lt;br /&gt;else&lt;br /&gt; cpid=$(xdotool search --name $1) &lt;br /&gt; if [[ -z &quot;$cpid&quot; ]]; then&lt;br /&gt;    $1 &amp; &lt;br /&gt; else&lt;br /&gt;    for i in $cpid; do&lt;br /&gt;       cstate=$(xprop -id $i | grep &quot;HIDDEN&quot;)&lt;br /&gt;   if [[ -z &quot;$cstate&quot; ]]; then&lt;br /&gt;          xdotool windowminimize $i&lt;br /&gt;       else&lt;br /&gt;          xdotool windowactivate $i&lt;br /&gt;       fi&lt;br /&gt;    done&lt;br /&gt; fi&lt;br /&gt;fi&lt;br /&gt;&lt;/pre&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Download Script&lt;/h3&gt;&lt;a href=&quot;https://app.box.com/s/pn0q1jak1x6zmsmqfjzvw4z1iiosuvsv&quot; target=&quot;_blank&quot;&gt;Toggle Shell Script&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; &lt;/div&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot;&gt;&lt;/div&gt;&lt;a href=&quot;https://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html&quot; data-text=&quot;Toggle Process Bash Script&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;bashscript&quot;&gt;Tweet&lt;/a&gt;&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;&lt;!-- Place this tag where you want the share button to render. --&gt;&lt;div class=&quot;g-plus&quot; data-action=&quot;share&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html&quot;&gt;&lt;/div&gt;&lt;script src=&quot;https://apis.google.com/js/platform.js&quot; async defer&gt;&lt;/script&gt;&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;&lt;!-- Torchlight Launcher --&gt;&lt;ins class=&quot;adsbygoogle&quot;      style=&quot;display:block&quot;      data-ad-client=&quot;ca-pub-4047236464784905&quot;      data-ad-slot=&quot;4337499479&quot;      data-ad-format=&quot;auto&quot;&gt;&lt;/ins&gt;&lt;script&gt;(adsbygoogle = window.adsbygoogle || []).push({}); &lt;/script&gt;&lt;!-- Place this tag in your head or just before your close body tag. --&gt;&lt;script src=&quot;https://apis.google.com/js/platform.js&quot; async defer&gt;&lt;/script&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/98464470285770501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=98464470285770501&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/98464470285770501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/98464470285770501'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html' title='Bash Toggle Process Function/Script'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-1142634626130514530</id><published>2016-03-30T13:47:00.000-05:00</published><updated>2016-04-24T22:16:30.247-05:00</updated><title type='text'>Torchlight Launcher [and cheat/hotkey trainer] V2.2 [ Updated ]</title><content type='html'>&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&gt;(function(d, s, id) {   var js, fjs = d.getElementsByTagName(s)[0];   if (d.getElementById(id)) return;   js = d.createElement(s); js.id = id;   js.src = &quot;//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.5&amp;appId=315119595244827&quot;;   fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; font-family: Georgia, serif; height: 100%; margin: auto; overflow: hidden; padding: 4px; width: 100%;&quot;&gt;&lt;br /&gt;&lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Torchlight Launcher [and cheat/hotkey trainer +10] V2.2&lt;/h1&gt;&lt;div style=&quot;display: inline-block;&quot;&gt;  &lt;a href=&quot;https://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-url=&quot;http://agnosticmicrocosm.blogspot.com/2016/03/torchlight-launcher-and-cheathotkey.html&quot; data-text=&quot;Torchlight Launcher V2.2 by Lateralus138&quot; data-via=&quot;lateralus138&quot; data-hashtags=&quot;cheattrainers&quot; style=&quot;display: inline-block; float: left;&quot; &gt;Tweet&lt;/a&gt;&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?&#39;http&#39;:&#39;https&#39;;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+&#39;://platform.twitter.com/widgets.js&#39;;fjs.parentNode.insertBefore(js,fjs);}}(document, &#39;script&#39;, &#39;twitter-wjs&#39;);&lt;/script&gt;&lt;!-- Place this tag in your head or just before your close body tag. --&gt;  &lt;!-- Place this tag where you want the share button to render. --&gt;&lt;div class=&quot;g-plus&quot; data-action=&quot;share&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/03/torchlight-launcher-and-cheathotkey.html&quot; style=&quot;display: inline-block; float: left; width: 200px;&quot; &gt;&lt;/div&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/03/torchlight-launcher-and-cheathotkey.html&quot; data-layout=&quot;button_count&quot; style=&quot;display: inline-block; padding-top: -8px;&quot; &gt;&lt;/div&gt;&lt;/div&gt;  &lt;/center&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;&lt;h4&gt;[UPDATED - V2.2]&lt;/h4&gt;Update Notes: &lt;br /&gt;  This runs fine on medium-high end machines, but on slower machines this doesn&#39;t always execute the whole command.&lt;br /&gt;  &lt;ul style=&quot;list-style:none;&quot;&gt;&lt;li&gt;Added BlockInput during cheat execution to reduce lag.&lt;/li&gt;&lt;li&gt;Added slight wait intervals during key Send.&lt;/li&gt;&lt;li&gt;Created a function to send keys: reduced file size and speed up send keys execution to reduce lag even more.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;  I cheat sometimes. Not all of the time, but I cheat when replaying a game or on games that I am just going to test for hacking/modding. I cheat because I am getting old and I have a life with children; which are, of course, more important... So in everything I do I create automation to speed up gaming and any other processes so I can spend more time with my family. I am a techy and gamer, I can&#39;t help doing what I love so I can do both with the help of  automation. &lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;So I have created Torchlight Launcher V2.2. This is my first official online release, but I have several working personal releases that work well for me so I&#39;ll keep the version sequence going. This is a launcher//cheat trainer/hotkey helper in one. Unlike traditional cheat trainers this is written in the Autohotkey scripting language and uses no coding hacks other than using Windows libraries and modules themselves to automate all functions. &lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;This launcher adds hotkeys for 10 different cheats and adds item slots 1 &amp;amp; 2 to the XButtons 1 &amp;amp; 2 on any gaming mouse. It also adds ascend and decend level to the + and - number pad keys. This trainer uses then normal in-game console to use cheats that can already be found on the internet, but makes it so you only have to press one button for very quick access. The in-game console can only be accessed by enabling it in Torchlights &#39;settings.txt&#39; file found in your users AppData folder. This launcher provides the ability to enable it with the click of a button (creates a backup of the original settings file) or if that fails for some reason helps you edit the file manually. &lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Usage&lt;/h3&gt;This is a compiled ahk script for use in any x86 (I can compile for anything else) system From Windows Vista on up. Just run the trainer and view the Help. There is a system tray icon where you can access any function that have buttons in the gui, view the help window, enable cheats, run the game, and exit the launcher. This can be used with any version of Torchlight on PC as long as it installed in it&#39;s default location (even GOG). &lt;br /&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Downloads&lt;/h3&gt;&lt;ul style=&quot;list-style-type: none;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://app.box.com/s/2thhu34rsvzf20zfk26tguvzxxd3uz8m&quot; target=&quot;_blank&quot;&gt;Torchlight Launcher &amp;amp; Cheat Trainer +10 V2.2&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Screenshots&lt;/h3&gt;&lt;div&gt;Launcher text and hotkey list background and slight editing by me:&lt;br /&gt;In custom Windows 10 build: &lt;br /&gt;  &lt;a href=&quot;http://s254.photobucket.com/user/faithnomoread/media/tllss_zpsiqjzlnxp.png.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/tllss_zpsiqjzlnxp.png&quot;  border=&quot;0&quot; alt=&quot; photo tllss_zpsiqjzlnxp.png&quot;/&gt;&lt;/a&gt;&lt;br /&gt;  In Windows 7 Build:&lt;br /&gt;  &lt;a href=&quot;http://s254.photobucket.com/user/faithnomoread/media/tllss2_zpsvudvkmrf.png.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/tllss2_zpsvudvkmrf.png&quot; width=&quot;580&quot; border=&quot;0&quot; alt=&quot; photo tllss2_zpsvudvkmrf.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;  &lt;h3 style=&quot;color: red;&quot;&gt;Source Code&lt;/h3&gt;&lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;; Torchlight Helper&lt;br /&gt;; Torchlight Helper&lt;br /&gt;#SingleInstance, Force&lt;br /&gt;Menu, Tray, NoStandard&lt;br /&gt;Menu, Tray, Add, Run Torchlight, gsRunTl&lt;br /&gt;Menu, Tray, Add, Enable Cheats, gsEnblChts&lt;br /&gt;Menu, Tray, Add, Help, ButtonHelp&lt;br /&gt;Menu, Tray, Add&lt;br /&gt;Menu, Tray, Add, E&amp;xit Launcher, ExitSub&lt;br /&gt;if not A_IsAdmin&lt;br /&gt;{&lt;br /&gt;   Run *RunAs &quot;%A_ScriptFullPath%&quot;&lt;br /&gt;   ExitApp&lt;br /&gt;}&lt;br /&gt;OnExit, ExitSub&lt;br /&gt;DetectHiddenWindows, On&lt;br /&gt;&lt;br /&gt;; Variables&lt;br /&gt;Global _varTit&lt;br /&gt;ahkexe := &quot;\AutoHotkey\AutoHotkey.exe&quot;&lt;br /&gt;settfl := A_AppData . &quot;\runic games\torchlight\settings.txt&quot;&lt;br /&gt;ProgramFilesX86 := A_ProgramFiles . (A_PtrSize=8 ? &quot; (x86)&quot; : &quot;&quot;)&lt;br /&gt;ahkroot86 := ProgramFilesX86 . ahkexe&lt;br /&gt;ahkroot := &quot;C:\Program Files&quot; . ahkexe&lt;br /&gt;bgpic := A_Temp . &quot;\tllogo.png&quot;&lt;br /&gt;; Auto-execute begin&lt;br /&gt;FileInstall, C:\GOG Games\Torchlight\tllogo.png, %bgpic%, 1&lt;br /&gt;IfExist, %ahkroot86%&lt;br /&gt; {&lt;br /&gt;  exepath := ahkroot86 &lt;br /&gt; }&lt;br /&gt;IfExist, %ahkroot%&lt;br /&gt; {&lt;br /&gt;  exepath := ahkroot&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;IfExist, %exepath%&lt;br /&gt; {&lt;br /&gt;  _funcGetAhk(_varTit, _varThis)&lt;br /&gt;  _funcKillAhk()&lt;br /&gt; }&lt;br /&gt;IfExist, C:\GOG Games\Torchlight\Torchlight.exe&lt;br /&gt; {&lt;br /&gt;  _vExePath := &quot;C:\GOG Games\Torchlight\Torchlight.exe&quot;&lt;br /&gt; }&lt;br /&gt;IfExist, C:\Program Files\Torchlight\Torchlight.exe&lt;br /&gt; {&lt;br /&gt;  _vExePath := &quot;C:\Program Files\Torchlight\Torchlight.exe&quot;&lt;br /&gt; }&lt;br /&gt;IfExist, C:\Program Files (x86)\Torchlight\Torchlight.exe&lt;br /&gt; {&lt;br /&gt;  _vExePath := &quot;C:\Program Files (x86)\Torchlight\Torchlight.exe&quot;&lt;br /&gt; }&lt;br /&gt;Gui, Add, Pic, w300 h288 y20 x20 vPic, % bgpic&lt;br /&gt;Gui, Font, s14, Arial&lt;br /&gt;_funcTextGlow(&quot;5&quot;,&quot;96&quot;, &quot;298&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;Center BackgroundTrans&quot;, &quot;Cheat Hotkeys&quot;)&lt;br /&gt;Gui, Font, s12, Arial&lt;br /&gt;_funcTextGlow(&quot;5&quot;,&quot;120&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F5  = God&quot;)&lt;br /&gt;_funcTextGlow(&quot;5&quot;,&quot;144&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F6  = Identify All&quot;)&lt;br /&gt;_funcTextGlow(&quot;5&quot;,&quot;168&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F7  = Stash&quot;)&lt;br /&gt;_funcTextGlow(&quot;5&quot;,&quot;192&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F8  = Level Up&quot;)&lt;br /&gt;_funcTextGlow(&quot;5&quot;,&quot;216&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;-      = Decend Lvl&quot;)&lt;br /&gt;Gui, Add, Button,x5 y238 w145 h20 ggsRunTl ,Run Torchlight&lt;br /&gt;Gui, Add, Button, x152 y238 w143 h20 ggsEnblChts , Enable Cheats&lt;br /&gt;_funcTextGlow(&quot;150&quot;,&quot;120&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F9    = Kill All&quot;)&lt;br /&gt;_funcTextGlow(&quot;150&quot;,&quot;144&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F10  = Critical Hits&quot;)&lt;br /&gt;_funcTextGlow(&quot;150&quot;,&quot;168&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F11  = AI Freeze&quot;)&lt;br /&gt;_funcTextGlow(&quot;150&quot;,&quot;192&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;F12  = 1 Million Gold&quot;)&lt;br /&gt;_funcTextGlow(&quot;150&quot;,&quot;216&quot;, &quot;145&quot;, &quot;24&quot;, &quot;White&quot;, &quot;DD4B1B&quot;, &quot;BackgroundTrans&quot;, &quot;+       = Ascend Lvl&quot;)&lt;br /&gt;Gui, Add, Button,x5 y264 w70 h20 ,E&amp;xit&lt;br /&gt;Gui, Add, Button,x79 y264 w70 h20 ,&amp;Help&lt;br /&gt;GuiControl, Move, Pic, x0 y0&lt;br /&gt;Gui, Show, w300 h288 Center, Torchlight Launcher V2.1&lt;br /&gt;&lt;br /&gt;OnMessage(0x200, &quot;WM_MOUSEMOVE&quot;)&lt;br /&gt;&lt;br /&gt;;Auto-execute end&lt;br /&gt;SetTimer, chkTlRun, 1000&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;; Hotkeys&lt;br /&gt;#IfWinActive, ahk_exe Torchlight.exe&lt;br /&gt;XButton1::Send, {1}&lt;br /&gt;XButton2::Send, {2}&lt;br /&gt;F5::Send, {LShift Down}``{LShift Up}god{Enter}{Esc}&lt;br /&gt;F6::Send, {LShift Down}``{LShift Up}identifyall{Enter}{Esc}&lt;br /&gt;F7::Send, {LShift Down}``{LShift Up}stash{Enter}{Esc}&lt;br /&gt;F8::Send, {LShift Down}``{LShift Up}levelup{Enter}{Esc}&lt;br /&gt;F9::Send, {LShift Down}``{LShift Up}killall{Enter}{Esc}&lt;br /&gt;F10::Send, {LShift Down}``{LShift Up}alwayscrit{Enter}{Esc}&lt;br /&gt;F11::Send, {LShift Down}``{LShift Up}aifreeze{Enter}{Esc}&lt;br /&gt;F12::Send, {LShift Down}``{LShift Up}money 1000000{Enter}{Esc}&lt;br /&gt;NumPadSub::Send, {LShift Down}``{LShift Up}decend{Enter}{Esc}&lt;br /&gt;NumPadAdd::Send, {LShift Down}``{LShift Up}ascend{Enter}{Esc}&lt;br /&gt;^+s::Gosub, gsEnblChts&lt;br /&gt;#IfWinActive&lt;br /&gt;&lt;br /&gt;;Gosubs&lt;br /&gt;chkTlRun:&lt;br /&gt; IfWinExist, ahk_exe Torchlight.exe&lt;br /&gt;  {&lt;br /&gt;   Sleep, 1000&lt;br /&gt;   SetTimer, chkTlRun, Off&lt;br /&gt;   SetTimer, gsChckT, 3000&lt;br /&gt;  }&lt;br /&gt;Return&lt;br /&gt;gsChckT:&lt;br /&gt; IfWinNotExist, ahk_exe Torchlight.exe&lt;br /&gt;  Gosub, ExitSub&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;gsRunTl:&lt;br /&gt; Sleep, 2000&lt;br /&gt; IfWinNotExist, ahk_exe Torchlight.exe&lt;br /&gt;  Run, &quot;%_vExePath%&quot;&lt;br /&gt; Else&lt;br /&gt;  WinActivate&lt;br /&gt;Return&lt;br /&gt;gsEnblChts:&lt;br /&gt; c := &quot;CONSOLE&quot;&lt;br /&gt; bk := settfl . &quot;.bak&quot;&lt;br /&gt; FileRead, _vChtFl, % settfl&lt;br /&gt; IfNotExist, % bk&lt;br /&gt;  {&lt;br /&gt;   FileAppend, % _vChtFl, % bk, UTF-16&lt;br /&gt;  }&lt;br /&gt; StringReplace, _vRplcChtFl,_vChtFl, %c% :0, %c% :1&lt;br /&gt; IfExist, % bk&lt;br /&gt;  {&lt;br /&gt;   FileDelete, % settfl&lt;br /&gt;   FileAppend, % _vRplcChtFl, % settfl, UTF-16&lt;br /&gt;   MsgBox, 64, Torchlight Launcher Info, Cheats should be enabled!`nYou can run Torchlight from this launcher but`nit is not neccesary as long as this launcher is running.&lt;br /&gt;  }&lt;br /&gt; Else&lt;br /&gt;  {&lt;br /&gt;   MsgBox,4, Torchlight Launcher Error, % (&quot;Backup file:&quot; . bk . &quot;`n`nwas not created, please edit:&quot;&lt;br /&gt;   . &quot;`n`n&quot; . settfl &lt;br /&gt;   . &quot;`n`nyourself and change CONSOLE :0 to CONSOLE :1&quot;&lt;br /&gt;   . &quot;`n`nWould you like to edit the file manually now?&quot;)&lt;br /&gt;   IfMsgBox Yes&lt;br /&gt;    Run, notepad &quot;%settfl%&quot;&lt;br /&gt;  }&lt;br /&gt; ;MsgBox % _vRplcChtFl&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;; Functions&lt;br /&gt;_funcTextGlow(_vXPos,_vYPos, _vWPos, _vHPos, _vTxtClr, _vGlwClr, _vOpt, _vTxt){&lt;br /&gt; xa := _vXPos - 1&lt;br /&gt; xb := _vXPos + 1&lt;br /&gt; ya := _vYPos - 1&lt;br /&gt; yb := _vYPos + 1&lt;br /&gt; Gui, Add, Text, x%xa% y%ya% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%&lt;br /&gt; Gui, Add, Text, x%xb% y%ya% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%&lt;br /&gt; Gui, Add, Text, x%xa% y%yb% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%&lt;br /&gt; Gui, Add, Text, x%xb% y%yb% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%&lt;br /&gt; Gui, Add, Text, x%_vXPos% y%_vYPos% w%_vWPos% h%_vHPos% c%_vTxtClr% %_vOpt%,%_vTxt%&lt;br /&gt;}&lt;br /&gt;_funcGetAhk(ByRef _varTit, ByRef _varThis){&lt;br /&gt; WinGet,_varThis, List, ahk_class AutoHotkey&lt;br /&gt; WinGetTitle, _varTit, ahk_id %_varThis1%&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;_funcKillAhk(_varCnt:=1){&lt;br /&gt; WinGet,_varAhkList, List, ahk_class AutoHotkey&lt;br /&gt; lCnt := _varAhkList&lt;br /&gt; Loop, %_varAhkList%&lt;br /&gt;  {&lt;br /&gt;   _pr := _varAhkList%A_Index%&lt;br /&gt;   WinGetTitle, _varTt, ahk_id %_pr%&lt;br /&gt;   If (_varTt  != _varTit)&lt;br /&gt;    {&lt;br /&gt;     WinClose, ahk_id %_pr%&lt;br /&gt;     lCnt := lCnt - 1&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt; ;MsgBox, 64,Start AHK, Start AHK manually for test.&lt;br /&gt; _funcGetAhk(_varTit, _varThis)&lt;br /&gt; If (_varThis != &quot;1&quot;)&lt;br /&gt;  {&lt;br /&gt;   MsgBox, 5, Something went wrong, All AHK scripts were not closed.`nPlease exit them manually and`nclick [Retry].&lt;br /&gt;    {&lt;br /&gt;     IfMsgBox, Retry&lt;br /&gt;      {&lt;br /&gt;       Reload&lt;br /&gt;      }&lt;br /&gt;     Else IfMsgBox, Cancel&lt;br /&gt;      {&lt;br /&gt;       MsgBox, 64, AutoHotkey Error, Please resolve your issue and try again.&lt;br /&gt;       Gosub, ExitSub      &lt;br /&gt;      }      &lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;WM_MOUSEMOVE() {&lt;br /&gt;}&lt;br /&gt;ButtonHelp:&lt;br /&gt; MsgBox, 64, Torchlight Launcher &amp; Trainer +10 V2.1, % ( &quot;Torchlight Launcher &amp; Trainer +10 V2.1 by Lateralus138.&quot;&lt;br /&gt; . &quot;`n`nThis cheat trainer is written completely in AutoHotkey &amp;&quot;&lt;br /&gt; . &quot;`nunlike traditional trainers this does not use any hacks,&quot;&lt;br /&gt; . &quot;`nonly normal cheats that can also be accessed from the&quot;&lt;br /&gt; . &quot;`nin-game console. To use cheats in Torchlight you must&quot;&lt;br /&gt; . &quot;`nfirst enable the console in the games settings config file:&quot;&lt;br /&gt; . &quot;`n`n&quot;&quot;settings.txt&quot;&quot; Found in:&quot;&lt;br /&gt; . &quot;`n&quot; . A_AppData . &quot;\runic games\torchlight\&quot;&lt;br /&gt; . &quot;`n`nOpen the settings file and change CONSOLE: 0 to CONSOLE: 1&quot;&lt;br /&gt; . &quot;`nand then run this trainer.&quot;&lt;br /&gt; . &quot;`n`nThis trainer adds 10 of the more commonly used cheats to&quot;&lt;br /&gt; . &quot;`nhotkeys &amp; adds item slots 1 &amp; 2 to XButton1 &amp; XButton2 on&quot;&lt;br /&gt; . &quot;`na gaming mouse.&quot;&lt;br /&gt; . &quot;`n`nTorchlight Launcher can be used with any version of the&quot;&lt;br /&gt; . &quot;`ngame (GOG &amp; regular) as long as it is installed in the&quot;&lt;br /&gt; . &quot;`ndefault directory.&quot;) &lt;br /&gt;Return&lt;br /&gt;ButtonExit:&lt;br /&gt;GuiClose:&lt;br /&gt;ExitSub:&lt;br /&gt; IfExist, %exepath%&lt;br /&gt;  {&lt;br /&gt;   Run, AutoHotkey&lt;br /&gt;  }&lt;br /&gt; Sleep, 1000&lt;br /&gt;ExitApp&lt;br /&gt;&lt;/pre&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/03/torchlight-launcher-and-cheathotkey.html&quot; data-layout=&quot;button_count&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;script src=&quot;https://apis.google.com/js/platform.js&quot; async defer&gt;&lt;/script&gt;&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;&lt;!-- Torchlight Launcher --&gt;&lt;ins class=&quot;adsbygoogle&quot;      style=&quot;display:block&quot;      data-ad-client=&quot;ca-pub-4047236464784905&quot;      data-ad-slot=&quot;4337499479&quot;      data-ad-format=&quot;auto&quot;&gt;&lt;/ins&gt;&lt;script&gt;(adsbygoogle = window.adsbygoogle || []).push({}); &lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/1142634626130514530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=1142634626130514530&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1142634626130514530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1142634626130514530'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2016/03/torchlight-launcher-and-cheathotkey.html' title='Torchlight Launcher [and cheat/hotkey trainer] V2.2 [ Updated ]'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-5477742725423993639</id><published>2016-01-01T16:38:00.000-06:00</published><updated>2016-01-02T09:04:59.570-06:00</updated><title type='text'>Web search query with AutoHotKey (InputBox)</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; font-family: Georgia, serif; height: 100%; margin: auto; overflow: hidden; padding: 4px; width: 100%;&quot;&gt;&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&gt;(function(d, s, id) {   var js, fjs = d.getElementsByTagName(s)[0];   if (d.getElementById(id)) return;   js = d.createElement(s); js.id = id;   js.src = &quot;//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.5&amp;appId=315119595244827&quot;;   fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt; &lt;br /&gt;&lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Web search query with AutoHotKey (InputBox)&lt;/h1&gt;&lt;/center&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2016/01/web-search-query-with-autohotkey.html&quot; data-layout=&quot;button_count&quot;&gt;&lt;/div&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;A few days ago I wrote about doing web searches from the command line in both Windows and Linux, but today I am posting about doing web searches with AutoHotKey (Windows only). &lt;/div&gt;&lt;div style=&quot;text-indent: 24px;&quot;&gt;While my other scripts are just fine for some people, some people prefer to either stick to one system or hate bat/cmd and since I love AHK I figured I&#39;d write a simple search tool for it using hotkeys. For those who aren&#39;t aware, AutoHotKey is a scripting language aimed at; as its name implies, using hotkeys to automate tasks. AHK was forked from a project called AutoIT which has some hotkey accessibility, but more aimed at GUIs (plan to do a AU3 project in the near future).&lt;/div&gt; &lt;div style=&quot;text-indent: 24px;&quot;&gt;The script will be posted below with in depth comments to help you better understand the script or if you prefer I will also provide 32 and 64 bit compiled executables for the &lt;i&gt;Google&lt;/i&gt; versions only. &lt;/div&gt;&lt;div&gt;Note: If you do not enter any search terms and exit the gui in anyway it will automatically open Google.com in your browser, but if you do enter something it will open your browser with the search engine you have set in your browser.&lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;color:red;&quot;&gt;Main AutoHotKey Script&lt;/h3&gt;&lt;a href=&quot;https://www.dropbox.com/s/1j73tzyuokmnly4/google.ahk?dl=0&quot; target=&quot;_blank&quot;&gt;Download google.ahk script file&lt;/a&gt;&lt;br /&gt;Or read and copy this to a text file and save as anything_you_want.ahk (google.ahk): &lt;pre style=&quot;background-color: white; border-radius: 8px; color: black; padding: 4px; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; width: 572px; word-wrap: break-word;&quot;&gt;; AHK script created by Lateralus138&lt;br /&gt;; Google search gui&lt;br /&gt;; Key Control+Shift+g (^+g)&lt;br /&gt;&lt;br /&gt;#SingleInstance, Force&lt;br /&gt;&lt;br /&gt;; Tray icon function (just for fun),&lt;br /&gt;; provide resource library name and &lt;br /&gt;; icon number and tray message.&lt;br /&gt;; This changes icons in the system tray &lt;br /&gt;; calling system icons from imageres.dll &lt;br /&gt;; or the library of your choice.&lt;br /&gt;; E.g. TrayIcon(&quot;imageres.dll&quot;, 21, &quot;Google Search&quot;) - where &lt;br /&gt;; imageres.dll is the resource library, 21 is the resource &lt;br /&gt;; icon number, and Google Search is the text to display in&lt;br /&gt;; your system tray.&lt;br /&gt;&lt;br /&gt;TrayIcon(ResNam, ResNum, TrayMsg )&lt;br /&gt; {&lt;br /&gt;  Menu, Tray, Icon, %ResNam%, %ResNum%&lt;br /&gt;  Menu, TRAY, Tip, %TrayMsg%&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;; Tooltip w/timer function, provide&lt;br /&gt;; text and time.&lt;br /&gt;tttimer2(tttext2, tttime2)&lt;br /&gt; {&lt;br /&gt;  ToolTip, %tttext2%&lt;br /&gt;  Sleep, %tttime2%&lt;br /&gt;  ToolTip&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;; Function to activate your web browser if it&#39;s already&lt;br /&gt;; running change browser to your preference.&lt;br /&gt;; I use chrome.exe in this script&lt;br /&gt;ChromeActive()&lt;br /&gt; {&lt;br /&gt;  WinActivate , ahk_exe chrome.exe&lt;br /&gt;  Sleep , 500&lt;br /&gt;  Send , {Ctrl Down}t{Ctrl Up}&lt;br /&gt;  Sleep , 500&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;; Function to browser if not already running.&lt;br /&gt;StartChrome()&lt;br /&gt; {&lt;br /&gt;  Run , chrome.exe&lt;br /&gt;  Sleep , 5000&lt;br /&gt;  ChromeActive()&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;; Function to type just your web engines main url without&lt;br /&gt;; a query in your web browser.&lt;br /&gt;SndE()&lt;br /&gt; {&lt;br /&gt;  Send , https://www.google.com/{Enter}&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;; SetFormat for converting decimals to whole numbers then&lt;br /&gt;; WinGetPos to get your screen resolution.&lt;br /&gt;; SWD and SHT variables for positioning the search bar in&lt;br /&gt;; the center of the screen.&lt;br /&gt;SetFormat, FloatFast, 1&lt;br /&gt;WinGetPos,,, desk_width, desk_height, Program Manager  &lt;br /&gt;SWD := (desk_width / 2) - 400    &lt;br /&gt;SHT := (desk_height / 2) - 72&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;; Initially call main tray icon&lt;br /&gt;Gosub, TrayIconSub&lt;br /&gt;&lt;br /&gt;; Start hotkey, main program funtion.&lt;br /&gt;&lt;br /&gt;; Change hotkey in the line below.&lt;br /&gt;; Currently ^+g (CTRL+SHIFT+g, g for Google, but this is&lt;br /&gt;; your choice)&lt;br /&gt;^+g::&lt;br /&gt;&lt;br /&gt;; Call tray icon function when hotkeys are pushed, calls&lt;br /&gt;; icon for main GUI window in the system tray.&lt;br /&gt;TrayIcon(&quot;imageres.dll&quot;, 95, &quot;What would you like to search for?&quot;)&lt;br /&gt;&lt;br /&gt;; Call to GUI window. Waits for your query, if left empty and the gui is exited&lt;br /&gt;; in any way it loads your default search engine with no query; if your query is&lt;br /&gt;; provided it then opens your query in your browser and search engine of choice.&lt;br /&gt;InputBox, GoogleQuery , Google Search, `Leave empty and hit [Enter] to open Google.com.`n`Your search query`:,,800, 144, %SWD%, %SHT%&lt;br /&gt;&lt;br /&gt;; Process actions after GUI closes. Tests if your query is provided&lt;br /&gt;; and calls the approriate functions.&lt;br /&gt;if ! GoogleQuery&lt;br /&gt; {&lt;br /&gt;  IfWinExist, ahk_exe chrome.exe&lt;br /&gt;   {&lt;br /&gt;    ChromeActive()&lt;br /&gt;    SndE()&lt;br /&gt;   }&lt;br /&gt;  Else&lt;br /&gt;   {&lt;br /&gt;    StartChrome()&lt;br /&gt;    SndE()&lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt;Else&lt;br /&gt; {&lt;br /&gt;  IfWinExist, ahk_exe chrome.exe&lt;br /&gt;   {&lt;br /&gt;    ChromeActive()&lt;br /&gt;    Send , %GoogleQuery%{Enter}&lt;br /&gt;   }&lt;br /&gt;  Else&lt;br /&gt;   {&lt;br /&gt;    StartChrome()&lt;br /&gt;    Send , %GoogleQuery%{Enter}&lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;Gosub, TrayIconSub&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;; Resets tray icon.&lt;br /&gt;TrayIconSub:&lt;br /&gt;TrayIcon(&quot;imageres.dll&quot;, 21, &quot;Google Search&quot;)&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;h3 style=&quot;color:red;&quot;&gt;Executables&lt;/h3&gt;Double click to run or you can run from a command line. These executables work with Chrome browser and Google.com only.&lt;br /&gt;Rename these as you like: &lt;ul style=&quot;list-style-type: none;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/s/kaxmdhc0kurwse4/google32.exe?dl=0&quot; target=&quot;_blank&quot;&gt;32 Bit google.exe&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/s/mnl7s40vtmdgycs/google64.exe?dl=0&quot; target=&quot;_blank&quot;&gt;64 Bit google.exe&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/5477742725423993639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=5477742725423993639&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5477742725423993639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5477742725423993639'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2016/01/web-search-query-with-autohotkey.html' title='Web search query with AutoHotKey (InputBox)'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-2621322707456942499</id><published>2015-12-28T19:30:00.000-06:00</published><updated>2015-12-29T00:48:22.957-06:00</updated><title type='text'>Web search query from command line (Windows and Linux)</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&gt;(function(d, s, id) {   var js, fjs = d.getElementsByTagName(s)[0];   if (d.getElementById(id)) return;   js = d.createElement(s); js.id = id;   js.src = &quot;//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.5&amp;appId=315119595244827&quot;;   fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt;&lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Web search query from command line (Windows and Linux)&lt;/h1&gt;&lt;/center&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;http://agnosticmicrocosm.blogspot.com/2015/12/web-search-query-from-command-line.html&quot; data-layout=&quot;button_count&quot;&gt;&lt;/div&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;If you are like me and you do as much as you can on a computer by command line then there may have been a time in your life that you wanted to do your web searches straight from the command line (cmd/terminals etc...). Also, if you are like me, then you like to use as few 3rd party apps as possible and scripts only if possible. &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;In Linux there are text based browsers for command line and in Windows you can use Telnet or Links, but like I said, I like scripts (or exe/bin conversions of) and for years I have made sloppy variations of search engine scripts for both OS&#39;s. Recently I have perfected and cleaned up those scripts for general use for the public. &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Each script has comments/remarks explaining each section and the Windows bat/cmd script has been made easy to use in batch to exe conversions and still work normally if not. Both scripts (Windows/Linux) use the same simple syntax by passing your query directly to the file; which, the files can be named whatever you want. For example if I wanted to use the script as a google search tool and named the script google.cmd(or bat) or google.sh (no extension necessary if shell is stated in file) then I would use any of these syntaxes to search your query:&lt;br /&gt;Windows: &lt;pre style=&quot;background-color:white;color: black;border-radius: 8px;padding: 4px; width: 572px;&quot;&gt;&lt;br /&gt;google my search terms&lt;br /&gt;google.cmd my search terms&lt;br /&gt;google.bat my search terms&lt;br /&gt;&lt;/pre&gt;Linux: &lt;pre style=&quot;background-color:white;color: black;border-radius: 8px;padding: 4px; width: 572px;&quot;&gt;&lt;br /&gt;google my search terms&lt;br /&gt;google.sh my search terms&lt;br /&gt;sh google.sh my search terms&lt;br /&gt;&lt;/pre&gt;Of course you can name your file to whatever you want. If no search terms are provided it just opens the search engines web page.  &lt;/p&gt; &lt;p&gt;Script Codes:&lt;br /&gt;For each script you can change 3 variables: &lt;ul style=&quot;list-style-type: none;&quot;&gt;&lt;li&gt;Search Engine Url - all the way to right before the search string. E.g. https://www.google.com/#q=&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Web Browser - your preference, Chrome, Firefox, IE, Opera etc... E.g. C:\Program Files\Google\chrome.exe&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Spaces delimeter - urls don&#39;t work well with spaces so most spaces are replaced by %20, +, or similar.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;Windows batch or cmd. Can be converted to an exe with a bat2exe program. Comments/Remarks denoted by &#39;REM&#39;. For batch files with goto :EOF to work properly remember to leave an empty line at the end of the script file: &lt;pre style=&quot;background-color:white;color: black;border-radius: 8px;padding: 4px; width: 572px;&quot;&gt;&lt;br /&gt;@echo off&lt;br /&gt;setlocal EnableDelayedExpansion&lt;br /&gt;REM Command line search utility;&lt;br /&gt;REM can be used for any search engine.&lt;br /&gt;REM by Lateralus138 aka Ian Pride&lt;br /&gt;&lt;br /&gt;REM Variables; change as needed for any url search engine;&lt;br /&gt;REM surl = Main search url;&lt;br /&gt;REM bexe = Browser executable; The name or direct link to &lt;br /&gt;REM ...... the web browser you want to use;&lt;br /&gt;REM spac = Space delimeter expansion/replacer. Most&lt;br /&gt;REM ...... search engines use %20 (%%20 for this script),&lt;br /&gt;REM ...... but some use the + sign;&lt;br /&gt;set &quot;surl=https://www.google.com/#q=&quot;&lt;br /&gt;set &quot;bexe=chrome.exe&quot;&lt;br /&gt;set &quot;spac=+&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;REM Check if parameters are passed; if not, open regular site;&lt;br /&gt;REM If parameters are passed then continue with processing&lt;br /&gt;REM search terms below;&lt;br /&gt;if &quot;%~1&quot;==&quot;&quot; (&lt;br /&gt; echo Parameter/s not given.&lt;br /&gt; start &quot;Starting Search Engine...&quot; &quot;%bexe%&quot; &quot;%surl%&quot;&lt;br /&gt; goto :EOF&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;REM Process search query terms if given and open in a browser;&lt;br /&gt;REM Variables; Do not change;&lt;br /&gt;REM qry_prms = search terms passed to this script;&lt;br /&gt;REM clr_file = Calling file. Processed out in variable expansion&lt;br /&gt;REM .......... for use in bat2exe programs;&lt;br /&gt;set &quot;qry_prms=%*&quot;&lt;br /&gt;set &quot;clr_file=%0 &quot;&lt;br /&gt;REM Delayed expansion to manipulate search query string for&lt;br /&gt;REM use in your web browser;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;REM Replace calling file for bat2exe type programs;&lt;br /&gt;REM qry_strng = Extract calling file from the&lt;br /&gt;REM ........... query parameters;&lt;br /&gt;set &quot;qry_strng=!qry_prms:%clr_file%=!&quot;&lt;br /&gt;&lt;br /&gt;REM Replace spaces with delimeter;&lt;br /&gt;set qry_fnl=!qry_strng: =%spac%!&lt;br /&gt;&lt;br /&gt;REM Process search query; open browser and searches;&lt;br /&gt;start &quot;Searching For Given Query...&quot; &quot;%bexe%&quot; &quot;%surl%!qry_fnl!&quot;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt; Linux script or bin. It was, of course, easier to write this than the Windows one. Comments/Remarks denoted by &#39;#&#39;: &lt;pre style=&quot;background-color:white;color: black;border-radius: 8px;padding: 4px; width: 572px;&quot;&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;# Command line search utility;&lt;br /&gt;# can be used for any search engine.&lt;br /&gt;# by Lateralus138 aka Ian Pride&lt;br /&gt;&lt;br /&gt;# Variables; change to suit your needs:&lt;br /&gt;&lt;br /&gt;# Whatever internet browser you want to use&lt;br /&gt;brwsr_clnt=&quot;google-chrome&quot;&lt;br /&gt;&lt;br /&gt;# Main search url all the way up to right &lt;br /&gt;# before the search string.&lt;br /&gt;srch_url=&quot;http://kat.cr/usearch/&quot;&lt;br /&gt;&lt;br /&gt;# Replacement character for space character in&lt;br /&gt;# the browsers search string url. Most use %20&lt;br /&gt;# but some use the + character or similar.&lt;br /&gt;brwsr_dlmtr=&quot;%20&quot;&lt;br /&gt;&lt;br /&gt;# Variables; End.&lt;br /&gt;&lt;br /&gt;# Main script;&lt;br /&gt;&lt;br /&gt;# Test if search string is given, if not, open&lt;br /&gt;# the normal search site without a query in the&lt;br /&gt;# browser of your choice. Exits script.&lt;br /&gt;if [ -z &quot;$*&quot; ]; then&lt;br /&gt; &quot;$brwsr_clnt&quot; &quot;$srch_url&quot; &amp;&lt;br /&gt; exit&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;# If search string given then process string&lt;br /&gt;# and then opens the query in the browser&lt;br /&gt;# of your choice.&lt;br /&gt;qry_strng=&quot;$*&quot;&lt;br /&gt;&quot;$brwsr_clnt&quot; &quot;$srch_url${qry_strng// /$brwsr_dlmtr}&quot;&lt;br /&gt;&lt;br /&gt;# Main script; End.&lt;br /&gt;&lt;/pre&gt;Please feel free to comment to or message me with any questions. &lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/2621322707456942499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=2621322707456942499&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/2621322707456942499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/2621322707456942499'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/12/web-search-query-from-command-line.html' title='Web search query from command line (Windows and Linux)'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-5548908065870235151</id><published>2015-11-11T09:15:00.000-06:00</published><updated>2015-11-11T14:12:40.705-06:00</updated><title type='text'>Organize Downloads Folder In Linux (Or Mac)</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Organize Downloads Folder In Linux &lt;br /&gt;(Or Mac)&lt;/h1&gt;&lt;/center&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://developers.facebook.com/docs/plugins/&quot; data-layout=&quot;button_count&quot;&gt;&lt;/div&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div style=&quot;display: inline-block; width: 540px;&quot;&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;If any of you use Linux or Mac (even Windows, but I&#39;m talking about *nix today) and download lots of stuff then you know how messy it can get really quick even if you try to stay organized. &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;I have written a shell script to organize your lose files in your home downloads folder fairly intuitively. It first checks for my preset directory tree to be built inside the downloads folder with sections: Archives, Audio, Video, Documents, Images and Installers with many preset sections inside each directory for the different file types. For example you would find .pdf files inside ...Documents/pdf... or .txt files in Documents/txt etc... If the directories are not found it creates them. &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;It then searches for a large list of preset file extensions in the main Downloads folder non-recursively and then checks the destination folder to see if the file already exists, if not it will then move the file to the destination. If the file is already there it will ask what you would like to do with the file: Replace, Delete or Do Nothing. This seems like a lot (I&#39;m a good enough coder to turn 2600 lines of code into 200 :D ), but the folder checking literally takes less than 1 second (probably 500 ms) and the search for files takes less than a couple. Search is used with &#39;find&#39; at -maxdepth 1 (for non-recursive).  &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;This script is easily editable if you are familiar with *nix shells, directories and file types can be added accordingly. You can really pull my functions and and use in any type of folder organization. &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;This is open-source code; you may use in your home or business, but any use in any sell-able product is strictly prohibited unless I have given permission. &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Script code below, header is for bash (#!/bin/bash), but I am sure this is POSIX friendly and doesn&#39;t need a head so strip the BASH header for non bash shells. If you do not already know how to use scripts then this script is probably not for you, but if you need help running and are willing to learn then please ask away; I&#39;ll help. &lt;/p&gt;&lt;p&gt;Script File if you prefer:&lt;br /&gt;mvarchives: &lt;a href=&quot;https://www.dropbox.com/s/j8v5z8otz8xrfxw/mvarchives?dl=0&quot; target=&quot;_blank&quot;&gt;mvarchives script file @ Dropbox&lt;/a&gt;&lt;br /&gt;  Script Code:&lt;br /&gt;&lt;pre style=&quot;background-color:white;color: black;border-radius: 8px;padding: 4px; width: 572px;&quot;&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;# Organizer for lose files in $HOME/Downloads&lt;br /&gt;&lt;br /&gt;# Directory list&lt;br /&gt;# Calling users download directory&lt;br /&gt;dldir=&quot;$HOME/Downloads&quot;&lt;br /&gt;&lt;br /&gt;# Archive directories&lt;br /&gt;arch=&quot;$dldir/Archives&quot;&lt;br /&gt;zip=&quot;$arch/zip&quot;&lt;br /&gt;gzd=&quot;$arch/gz&quot;&lt;br /&gt;tar=&quot;$arch/tar&quot;&lt;br /&gt;rar=&quot;$arch/rar&quot;&lt;br /&gt;bz2=&quot;$arch/bz2&quot;&lt;br /&gt;szdir=&quot;$arch/7z&quot;&lt;br /&gt;&lt;br /&gt;# Installer directories&lt;br /&gt;instl=&quot;$dldir/Installers&quot;&lt;br /&gt;deb=&quot;$instl/deb&quot;&lt;br /&gt;rpm=&quot;$instl/rpm&quot;&lt;br /&gt;&lt;br /&gt;# Image directories&lt;br /&gt;picf=&quot;$dldir/Images&quot;&lt;br /&gt;png=&quot;$picf/png&quot;&lt;br /&gt;jpg=&quot;$picf/jpg&quot;&lt;br /&gt;bmp=&quot;$picf/bmp&quot;&lt;br /&gt;tif=&quot;$picf/tif&quot;&lt;br /&gt;gif=&quot;$picf/gif&quot;&lt;br /&gt;ico=&quot;$picf/ico&quot;&lt;br /&gt;svg=&quot;$picf/svg&quot;&lt;br /&gt;jpeg=&quot;$picf/jpeg&quot;&lt;br /&gt;&lt;br /&gt;# Video directories&lt;br /&gt;vidf=&quot;$dldir/Videos&quot;&lt;br /&gt;mov=&quot;$vidf/mov&quot;&lt;br /&gt;mp4=&quot;$vidf/mp4&quot;&lt;br /&gt;mpg=&quot;$vidf/mpg&quot;&lt;br /&gt;avi=&quot;$vidf/avi&quot;&lt;br /&gt;mkv=&quot;$vidf/mkv&quot;&lt;br /&gt;flv=&quot;$vidf/flv&quot;&lt;br /&gt;wmv=&quot;$vidf/wmv&quot;&lt;br /&gt;mpeg=&quot;$vidf/mpeg&quot;&lt;br /&gt;m4v=&quot;$vidf/mv4&quot;&lt;br /&gt;tgp=&quot;$vidf/3gp&quot;&lt;br /&gt;&lt;br /&gt;# Music directories&lt;br /&gt;musf=&quot;$dldir/Audio&quot;&lt;br /&gt;mp3=&quot;$musf/mp3&quot;&lt;br /&gt;ogg=&quot;$musf/ogg&quot;&lt;br /&gt;flac=&quot;$musf/flac&quot;&lt;br /&gt;&lt;br /&gt;# Document directories&lt;br /&gt;docf=&quot;$dldir/Documents&quot;&lt;br /&gt;txt=&quot;$docf/txt&quot;&lt;br /&gt;doc=&quot;$docf/doc&quot;&lt;br /&gt;bak=&quot;$docf/bak&quot;&lt;br /&gt;cfg=&quot;$docf/cfg&quot;&lt;br /&gt;css=&quot;$docf/css&quot;&lt;br /&gt;html=&quot;$docf/html&quot;&lt;br /&gt;php=&quot;$docf/php&quot;&lt;br /&gt;js=&quot;$docf/js&quot;&lt;br /&gt;asp=&quot;$docf/asp&quot;&lt;br /&gt;docx=&quot;$doc&quot;&lt;br /&gt;htm=&quot;$html&quot;&lt;br /&gt;ini=&quot;$docf/ini&quot;&lt;br /&gt;jso=&quot;$js&quot;&lt;br /&gt;log=&quot;$docf/log&quot;&lt;br /&gt;odf=&quot;$docf/odf&quot;&lt;br /&gt;ppt=&quot;$docf/ppt&quot;&lt;br /&gt;rtf=&quot;$docf/rtf&quot;&lt;br /&gt;xml=&quot;$docf/xml&quot;&lt;br /&gt;pdf=&quot;$docf/pdf&quot;&lt;br /&gt;&lt;br /&gt;# Main file moving function&lt;br /&gt;mv_files () {&lt;br /&gt; fnamevar=&quot;$1&quot;&lt;br /&gt; for archives in $(sudo find $dldir -maxdepth 1 -type f -iname &quot;$fnamevar&quot;); do&lt;br /&gt;  fname=$(basename &quot;$archives&quot;)&lt;br /&gt;  if [ ! -f &quot;$2/$fname&quot; ]; then&lt;br /&gt;   sudo mv &quot;$archives&quot; &quot;$2&quot;&lt;br /&gt;   if [ ! -f &quot;$2/$fname&quot; ]; then&lt;br /&gt;    echo &quot;File: $fname was not moved to $2, something went wrong.&quot;&lt;br /&gt;    echo &quot;&quot;&lt;br /&gt;   else&lt;br /&gt;    echo &quot;File $fname was successfully moved to $2.&quot;&lt;br /&gt;    echo &quot;&quot;&lt;br /&gt;   fi&lt;br /&gt;  else&lt;br /&gt;   echo &quot;File $fname was found in the target directory, file was not copied.&quot; &lt;br /&gt;   echo &quot;What would you like to do with the file $archives? &quot;&lt;br /&gt;   PS3=&quot;Make a choice: &quot;&lt;br /&gt;   options=(&quot;Replace&quot; &quot;Delete&quot; &quot;Do Nothing&quot;)&lt;br /&gt;   select opt in &quot;${options[@]}&quot;&lt;br /&gt;   do&lt;br /&gt;    case $opt in&lt;br /&gt;     &quot;Replace&quot;)&lt;br /&gt;      sudo mv -f &quot;$archives&quot; &quot;$2&quot;&lt;br /&gt;      if [ ! -f &quot;$archives&quot; ]; then&lt;br /&gt;       echo &quot;File: $fname in $dldir replaced file $fname in $2 successfully.&quot;&lt;br /&gt;       echo &quot;&quot;&lt;br /&gt;      else&lt;br /&gt;       echo &quot;File: $fname in $2 was not replaced, something went wrong.&quot;&lt;br /&gt;       echo&quot;&quot;&lt;br /&gt;      fi&lt;br /&gt;      break&lt;br /&gt;      ;;&lt;br /&gt;     &quot;Delete&quot;)&lt;br /&gt;      sudo rm -f &quot;$archives&quot;&lt;br /&gt;      if [ ! -f &quot;$archives&quot; ]; then&lt;br /&gt;       echo &quot;File $archives deleted successfully.&quot;&lt;br /&gt;       echo &quot;&quot;&lt;br /&gt;      else&lt;br /&gt;       echo &quot;File $archives could not be deleted, something went wrong.&quot;&lt;br /&gt;       echo &quot;&quot;&lt;br /&gt;      fi&lt;br /&gt;      break&lt;br /&gt;      ;;      &lt;br /&gt;     &quot;Do Nothing&quot;)&lt;br /&gt;       echo &quot;You chose do nothing with file $archives, file remains.&quot;&lt;br /&gt;       echo &quot;&quot;&lt;br /&gt;      break&lt;br /&gt;      ;;&lt;br /&gt;     *) echo invalid option;;&lt;br /&gt;    esac&lt;br /&gt;   done   &lt;br /&gt;  fi&lt;br /&gt; done&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Directory check and creation&lt;br /&gt;dirn=&quot;$docf $txt $doc $bak $cfg $css $html $php $js $asp $docx $htm $ini $jso $log $odf $ppt $rtf $xml $pdf $arch $zip $gzd $tar $rar $bz2 $szdir $instl $deb $rpm $picf $png $jpg $jpeg $bmp $tif $gif $ico $svg $vidf $mov $mp4 $mpg $avi $mkv $flv $wmv $mpeg $m4v $tgp $musf $mp3 $ogg $flac&quot;&lt;br /&gt;read -r -a dirna &lt;&lt;&lt; &quot;$dirn&quot;&lt;br /&gt;for typed in ${dirna[@]}; do&lt;br /&gt; if [ ! -d &quot;$typed&quot; ]; then&lt;br /&gt;  mkdir &quot;$typed&quot;&lt;br /&gt;  if [ -d &quot;$typed&quot; ]; then&lt;br /&gt;   echo &quot;Folder $typed created successfully.&quot;&lt;br /&gt;  else&lt;br /&gt;   echo &quot;Folder $typed was not created, something went wrong.&quot;&lt;br /&gt;  fi&lt;br /&gt; fi&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;# File movement&lt;br /&gt;IFS=$(echo -en &quot;\n\b&quot;) &lt;br /&gt;mv_files &quot;*.zip&quot; &quot;$zip&quot;&lt;br /&gt;mv_files &quot;*.tar&quot; &quot;$tar&quot;&lt;br /&gt;mv_files &quot;*.bz2&quot; &quot;$bz2&quot;&lt;br /&gt;mv_files &quot;*.rar&quot; &quot;$rar&quot;&lt;br /&gt;mv_files &quot;*.rpm&quot; &quot;$rpm&quot;&lt;br /&gt;mv_files &quot;*.7z&quot; &quot;$szdir&quot;&lt;br /&gt;mv_files &quot;*.deb&quot; &quot;$deb&quot;&lt;br /&gt;mv_files &quot;*.gz&quot; &quot;$gzd&quot;&lt;br /&gt;mv_files &quot;*.png&quot; &quot;$png&quot;&lt;br /&gt;mv_files &quot;*.jpg&quot; &quot;$jpg&quot;&lt;br /&gt;mv_files &quot;*.bmp&quot; &quot;$bmp&quot;&lt;br /&gt;mv_files &quot;*.tif&quot; &quot;$tif&quot;&lt;br /&gt;mv_files &quot;*.gif&quot; &quot;$gif&quot;&lt;br /&gt;mv_files &quot;*.ico&quot; &quot;$ico&quot;&lt;br /&gt;mv_files &quot;*.svg&quot; &quot;$svg&quot;&lt;br /&gt;mv_files &quot;*.jpeg&quot; &quot;$jpeg&quot;&lt;br /&gt;mv_files &quot;*.mov&quot; &quot;$mov&quot;&lt;br /&gt;mv_files &quot;*.mp4&quot; &quot;$mp4&quot;&lt;br /&gt;mv_files &quot;*.mpg&quot; &quot;$mpg&quot;&lt;br /&gt;mv_files &quot;*.avi&quot; &quot;$avi&quot;&lt;br /&gt;mv_files &quot;*.mkv&quot; &quot;$mkv&quot;&lt;br /&gt;mv_files &quot;*.flv&quot; &quot;$flv&quot;&lt;br /&gt;mv_files &quot;*.wmv&quot; &quot;$wmv&quot;&lt;br /&gt;mv_files &quot;*.mpeg&quot; &quot;$mpeg&quot;&lt;br /&gt;mv_files &quot;*.m4v&quot; &quot;$m4v&quot;&lt;br /&gt;mv_files &quot;*.3gp&quot; &quot;$tgp&quot;&lt;br /&gt;mv_files &quot;*.mp3&quot; &quot;$mp3&quot;&lt;br /&gt;mv_files &quot;*.ogg&quot; &quot;$ogg&quot;&lt;br /&gt;mv_files &quot;*.flac&quot; &quot;$flac&quot;&lt;br /&gt;mv_files &quot;*.pdf&quot; &quot;$pdf&quot;&lt;br /&gt;mv_files &quot;*.txt&quot; &quot;$txt&quot;&lt;br /&gt;mv_files &quot;*.doc&quot; &quot;$doc&quot;&lt;br /&gt;mv_files &quot;*.bak&quot; &quot;$bak&quot;&lt;br /&gt;mv_files &quot;*.cfg&quot; &quot;$cfg&quot;&lt;br /&gt;mv_files &quot;*.css&quot; &quot;$css&quot;&lt;br /&gt;mv_files &quot;*.html&quot; &quot;$html&quot;&lt;br /&gt;mv_files &quot;*.php&quot; &quot;$php&quot;&lt;br /&gt;mv_files &quot;*.js&quot; &quot;$js&quot;&lt;br /&gt;mv_files &quot;*.asp&quot; &quot;$asp&quot;&lt;br /&gt;mv_files &quot;*.docx&quot; &quot;$doc&quot;&lt;br /&gt;mv_files &quot;*.htm&quot; &quot;$html&quot;&lt;br /&gt;mv_files &quot;*.ini&quot; &quot;$ini&quot;&lt;br /&gt;mv_files &quot;*.jso&quot; &quot;$js&quot;&lt;br /&gt;mv_files &quot;*.log&quot; &quot;$log&quot;&lt;br /&gt;mv_files &quot;*.odf&quot; &quot;$odf&quot;&lt;br /&gt;mv_files &quot;*.ppt&quot; &quot;$ppt&quot;&lt;br /&gt;mv_files &quot;*.rtf&quot; &quot;$rtf&quot;&lt;br /&gt;mv_files &quot;*.xml&quot; &quot;$xml&quot;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/5548908065870235151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=5548908065870235151&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5548908065870235151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5548908065870235151'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/11/organize-downloads-folder-in-linux-or.html' title='Organize Downloads Folder In Linux (Or Mac)'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-4938339746709170986</id><published>2015-07-09T21:00:00.000-05:00</published><updated>2015-07-11T18:52:30.790-05:00</updated><title type='text'>Titan Empires 5.1-6.0 upgrade &quot;Game content can&#39;t be found&quot; error fix.</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;Titan Empires 5.1-6.0 upgrade &quot;Game content can&#39;t be found&quot; error fix.&lt;/h1&gt;&lt;/center&gt;&lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://developers.facebook.com/docs/plugins/&quot; data-layout=&quot;button_count&quot;&gt;&lt;/div&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div style=&quot;display: inline-block; width: 440px;&quot;&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Recently, Titan Empires had a semi-major update from version 5.1 to 6.0 and many people are receiving an error &quot;Game content can&#39;t be found&quot; or something very similar to that. This update wasn&#39;t normal because instead of replacing the old app like usual it had you install a whole new apk file and had 2 installations on the device.&lt;/p&gt;  &lt;p style=&quot;text-indent:24px;&quot;&gt;Ok, whatever, not a big deal as you can just uninstall the old version and it still seem to run fine on my 10.5 inch Tab S. When I tried installing on any other device (both rooted and not) I received the aforementioned error. After a few hours (off and on) of uninstalling/reinstalling everything and cleaning all leftover traces nothing seemed to work. I then had an idea to try reinstalling the old version again and repeating the update process and it worked! I then repeated these steps on two more devices that had the error and they worked as well! I then uninstalled the old 5.1 version and 6.0 still works on all devices! &lt;/p&gt;&lt;h2 style=&quot;color:red&quot;&gt;Steps to fix error:&lt;/h2&gt;&lt;ul style=&quot;list-style-type:upper-roman&quot;&gt;&lt;li&gt;Completely uninstall any traces of Titan Empires (if rooted you can look for left overs with something like SD Maid etc.).&lt;/li&gt;&lt;li&gt;Install the 5.1 version found here: &lt;a href=&quot;https://www.dropbox.com/s/v3p6mylucumcma8/com.perblue.titanempires-5.1.apk?dl=0&quot; target=&quot;_blank&quot;&gt;Titan Empires V5.1&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Run V5.1 and it will tell you to update and take you to the Play Store. Install V6.0.&lt;/li&gt;&lt;li&gt;Run V6.0 to test and make sure it&#39;s working.&lt;/li&gt;&lt;li&gt;Uninstall V5.1 from your app manager or an uninstaller. Just make sure you are uninstalling V5.1&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/4938339746709170986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=4938339746709170986&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/4938339746709170986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/4938339746709170986'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/07/titan-empires-51-60-upgrade-game.html' title='Titan Empires 5.1-6.0 upgrade &quot;Game content can&#39;t be found&quot; error fix.'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-3180285984695768040</id><published>2015-03-01T13:36:00.000-06:00</published><updated>2015-03-01T13:55:14.328-06:00</updated><title type='text'>WgetURL V1.0</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;center&gt;&lt;h1 style=&quot;text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;WgetURL V1.0&lt;/h1&gt;&lt;/center&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt; &lt;div style=&quot;display: inline-block; width: 440px;&quot;&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Off and on throughout the years I have had, heard and seen many conversations with people about posting images (anything really) online and how secure they really are. By now we should all know they are not and even if a website has security in place if a hacker wants your files bad enough they can get them. Having said that most hackers aren&#39;t really wanting any pics of your trip to the local fair or your puckered selfies... so really in the end it&#39;&#39;s not that big of a deal. If you&#39;re posting naked pics and people get them that&#39;s more than likely your fault for making them public as I doubt a real hacker wasted his time to get your amateur porn.   &lt;/p&gt;&lt;/div&gt;&lt;div style=&quot;background: white; border-radius: 6px; width: 100px; display:  inline-block; vertical-align: top; margin-top:32px; margin-left: 16px; text-align: center;&quot;&gt;&lt;a href=&quot;#downl&quot; style=&quot;color: black;&quot;&gt;Skip&lt;br /&gt;to&lt;br /&gt;Download&lt;/a&gt;&lt;/div&gt; &lt;p style=&quot;text-indent:24px;&quot;&gt;In one of these conversations I had with a person I did mention &lt;a href=&quot;http://gnuwin32.sourceforge.net/packages/wget.htm&quot; target=&quot;_blank&quot;&gt;Wget&lt;/a&gt; as a way to download files from a web server from a command line interface, without having to use any browser or download manager you can download many files from a server as long as it doesn&#39;t have restrictions (as many do, BUT NOT ALL). This method is for legitimate users like web designers/hosts or just someone interested in the way a site is coded to download these files.  &lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Of course, I love to write scripts for everything and so began my little quest to create &lt;span style=&quot;color: red; font-weight: bold;&quot;&gt;WgetURL V1.0&lt;/span&gt;, a small utility to easily download all obtainable files from a web server with a simple command such as:&lt;/p&gt;&lt;div style=&quot;background: white;border-radius: 4px; padding: 2px 4px;&quot;&gt;&lt;code style=&quot;color: black;&quot;&gt;wgeturl www.websiteurl.com &lt;/code&gt;&lt;/div&gt;&lt;p&gt;instead of having to type a bunch of code like this:&lt;/p&gt;&lt;div style=&quot;background: white; border-radius: 4px; padding: 2px 4px;&quot;&gt;&lt;code style=&quot;color: black;&quot;&gt;wget --no-clobber --convert-links --random-wait -r -P %userprofile%\Desktop robots=off www.websiteurl.com --cut-dirs=1 --cut-dirs=2 --cut-dirs=3 &lt;/code&gt;&lt;/div&gt;&lt;h2&gt;Usage:&lt;/h2&gt;&lt;ul style=&quot;list-style: none;&quot;&gt;&lt;li&gt;Note: I ended up creating this as an installer package with an uninstaller because it has several files and a PATH variable so I wanted a clean uninstall.&lt;/li&gt;&lt;li&gt;Note: Not for use in XP. It can be installed and the cli utility part can be used manually, but it will not function properly as is. XP is far outdated and I will not code for it at this time.&lt;/li&gt;&lt;li&gt;Note: As with most of my utilities this may show as a false positive in Anti-virus or warnings. It&#39;s is not signed and may show packed warnings because wget is packaged with this.&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Installation:&lt;/h3&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;The installer is very simple, it will install all files to C:\Bin\WgetURL using my WinBin system and give you the option to not create a Start Menu folder, but I don&#39;t recommend that. &lt;/p&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Execution:&lt;/h3&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Can only be ran from a command line interface (cli) such as CMD by typing&lt;/p&gt;&lt;div style=&quot;background: white;border-radius: 4px; padding: 2px 4px;&quot;&gt;&lt;code style=&quot;color: black; font-style: italic;&quot;&gt;wgeturl www.whatever-website-address-you-want.com &lt;/code&gt;&lt;/div&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;It will run from anywhere as the path is added to the &lt;span style=&quot;font-style: italic;&quot;&gt;PATH&lt;/span&gt; variable.&lt;/p&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Uninstall:&lt;/h3&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Very clean uninstall either by a shortcut in the &lt;span style=&quot;font-style: italic;&quot;&gt;Start Menu&lt;/span&gt;, uninstaller found in the programs directory or by any normal means in your &lt;span style=&quot;font-style: italic;&quot;&gt;Uninstall Programs&lt;/span&gt; list.&lt;/p&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;center&gt;&lt;h1 style=&quot;color: yellow; text-shadow: 2px 2px 8px #FFFFFF;&quot;&gt;&lt;a name=&quot;downl&quot;&gt;Download&lt;/a&gt;&lt;/h1&gt;&lt;/center&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;center&gt;&lt;a href=&quot;https://dl.dropbox.com/s/slra0mflh82yoi3/WgetURLV1.0-Setup.exe&quot; target=&quot;_blank&quot;&gt;WgetURLV1.0-Setup for Windows Vista/7/8&lt;/a&gt;&lt;/center&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;hr style=&quot;border-style: dashed;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-JPH2b6dy5S0/VPNocbixHjI/AAAAAAAAAQ8/DloBgDq-118/s1600/wgeturlbmp.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-JPH2b6dy5S0/VPNocbixHjI/AAAAAAAAAQ8/DloBgDq-118/s1600/wgeturlbmp.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/3180285984695768040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=3180285984695768040&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/3180285984695768040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/3180285984695768040'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/03/wgeturl-v10.html' title='WgetURL V1.0'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-JPH2b6dy5S0/VPNocbixHjI/AAAAAAAAAQ8/DloBgDq-118/s72-c/wgeturlbmp.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-7545161899149122839</id><published>2015-02-21T15:58:00.000-06:00</published><updated>2015-02-21T19:24:55.211-06:00</updated><title type='text'>Windows Login Backdoor Creator V2.0</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;p style=&quot;text-indent:24px;&quot;&gt;Note: This is a revision of the original post &#39;&lt;span style=&quot;font-weight: bold; color:red;&quot;&gt;Creating backdoor at Windows login to reset password after losing it.&lt;/span&gt;&#39; found &lt;a href=&quot;http://agnosticmicrocosm.blogspot.com/2012/06/creating-backdoor-at-windows-login-to.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;   Over the years I have had many people ask me how to get into their computer after they have forgotten their password. There are a few ways to do this either with a bootable cd or usb stick with a 3rd party application, but to be honest this is very unsafe as anyone can get the cd and break into a computer and at the same time you or anyone else that uses such software can cause users or admins to lose data.&lt;/p&gt;&lt;div style=&quot;float:right;width:150px;padding:8px;background:#363;color:red !important;border-radius:8px;border:1px solid #030;margin-right:8px;&quot;&gt;&lt;a href=&quot;#easy&quot;&gt;Skip to easier method (d0wnload)...&lt;/a&gt;&lt;/div&gt; &lt;p style=&quot;text-indent:24px;&quot;&gt;The only really safe way to do it is through your command prompt, but without knowing your password to get into the profile to use the console then you are screwed. Recently I have discovered a way to be able to access your command prompt from the Windows login screen by adding a value to the registry. Now you can create a registry file (.reg) to do this, but today we will just add it via the command prompt:&lt;/p&gt;&lt;br /&gt;1. You must open your cmd (command prompt) as administrator so you can&#39;t open it from run. You must go to your start screen type &quot;cmd&quot; in the search bar and when you see it right click on it and select &quot;Run as administrator&quot;. &lt;br /&gt;&lt;br /&gt;2. Type the code below into the prompt: &lt;br /&gt;  &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe&quot; /v Debugger /t REG_SZ /d &quot;C:\windows\system32\cmd.exe&quot; &lt;/code&gt;&lt;/div&gt;&lt;center&gt;Triple click on the above code to select all then copy and paste into your command prompt and hit &quot;ENTER&quot;.&lt;/center&gt;&lt;br /&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;You now have access to the the command prompt at the Wcndows login screen. &lt;br /&gt;&lt;br /&gt;Gain access by either: &lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;li&gt;Pressing SHIFT+ALT+PRTSC (Print Screen) or;&lt;/li&gt;&lt;li&gt;Hitting the SHIFT key 5 times in a row (good ol&#39; Sticky Keys).&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;text-indent:24px;&quot;&gt;If you or anyone else on your Windows OS ever loses their password (or you just want to do anything else that you can do from the prompt) you can do it without logging in (be careful though!).&lt;/p&gt; 3. When you need to change your password from the prompt, type: &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;net user username password &lt;/code&gt;&lt;/div&gt;Where username is, of course, your username and password your new password.&lt;br /&gt;&lt;br /&gt;EXAMPLE: &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;net user bob apples &lt;/code&gt;&lt;/div&gt;Would change user bob&#39;s password to apples etc... &lt;p style=&quot;text-indent:24px;&quot;&gt;If your name has a space in it you must wrap quotation marks around the name as a space denotes a new command. You must enter it like:&lt;/p&gt;&lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;net user &quot;bob for&quot; apples &lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. Login with your new password! &lt;a name=&quot;easy&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;&lt;hr /&gt;&lt;hr /&gt;&lt;h2&gt;Downloads:&lt;/h2&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;New version 2.0  is 90% re-written with 32 and 64 bit versions to accommodate x86 issues.&lt;/p&gt;&lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Version Info&lt;/span&gt;&lt;br /&gt;&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;V1.0&lt;/span&gt; - Original, batch script only. Bugs: Batch quote issue in paths, installs to wrong path on x86 systems with SysWOW. Bug fixes: none.&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;V2.0&lt;/span&gt; - New re-write, 32 and 64 bit executables. Bugs: No known bugs. Bug fixes: Fixed batch quotes in paths issue, fixed install wrong locations issue.&lt;br /&gt;&lt;ul style=&quot;list-style-type:none;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Features&lt;/span&gt;&lt;br /&gt;&lt;li&gt;Checks for registry value and script file and either installs the backdoor or fixes any part that may be broken.&lt;/li&gt;&lt;li&gt;Now runs great on Windows XP/Vista/7/8 32 and 64 bit.&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;ul style=&quot;list-style-type:none&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/s/i81og0ja5adhi2w/Login-Backdoor-Creator-V2-32bit.exe?dl=0&quot; target=&quot;_blank&quot;&gt;32bit - Login Backdoor Creator V2.0&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/s/stkehnycvq5vj3n/Login-Backdoor-Creator-V2-64bit.exe?dl=0&quot; target=&quot;_blank&quot;&gt;64bit - Login Backdoor Creator V2.0&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;I have created a batch file to automate this process so you don&#39;t have to do half of this. You can either download it &lt;a style=&quot;text-decoration: line-through;&quot; target=&quot;_blank&quot; href=&quot;https://www.box.com/s/af12c8a4adf34694ea25&quot;&gt;here (Outdated V1.0 old script for archives)&lt;/a&gt; or if you are scared of downloading files you can just copy and paste the text below into a batch you create.&lt;/p&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;&lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;li&gt; Right click on your desktop and select New&gt;TXT File.&lt;/li&gt;&lt;li&gt; Rename the file from &quot;New Text Document.txt&quot; to &quot;whateveryouwant.bat&quot; (if you can&#39;t see the extension just go into folder options and uncheck &quot;Hide extensions of known applications&quot; or something like that.&lt;/li&gt;&lt;li&gt; Once it&#39;s a bat file right click on it and select &quot;Edit&quot;. and paste the code below into it and save the file&lt;/li&gt;&lt;li&gt;Right click on the bat file you have created and select &quot;Run as administrator&quot; and it will run.&lt;/li&gt;  &lt;/ul&gt;Code to paste in your batch file: &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;@echo off&lt;br /&gt;Title Windows Login Backdoor Creator&lt;br /&gt;color 0A&lt;br /&gt;set &quot;_bscript=%windir%/System32/backdoor.cmd&quot;&lt;br /&gt;cls&lt;br /&gt;mode 54,4&lt;br /&gt;echo(&lt;br /&gt;echo  Checking to see if script or registry value exist...&lt;br /&gt;echo(&lt;br /&gt;call :to&lt;br /&gt;reg query &quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe&quot; /v Debugger&gt;nul&lt;br /&gt;cls&lt;br /&gt;&lt;br /&gt;if [%errorlevel%]==[1] if not exist &quot;%_bscript%&quot; (&lt;br /&gt; call :notFound&lt;br /&gt; cls&lt;br /&gt; call :howTo&lt;br /&gt; call :md&lt;br /&gt; goto :eof&lt;br /&gt;) &lt;br /&gt;&lt;br /&gt;if [%errorlevel%]==[0] if not exist &quot;%_bscript%&quot; (&lt;br /&gt; mode 49,5&lt;br /&gt; echo(&lt;br /&gt; echo  Registry value exists, but the script does not.&lt;br /&gt; echo  Writing script file now...&lt;br /&gt; echo(&lt;br /&gt; call :to&lt;br /&gt; call :writeScript&lt;br /&gt; cls&lt;br /&gt; call :howTo&lt;br /&gt; call :md&lt;br /&gt; goto :eof&lt;br /&gt;)&lt;br /&gt; &lt;br /&gt;if [%errorlevel%]==[1] if exist &quot;%_bscript%&quot; (&lt;br /&gt;mode 49,5&lt;br /&gt; echo(&lt;br /&gt; echo  Script exists, but the registry value does not.&lt;br /&gt; echo  Writing registry value now...&lt;br /&gt; echo(&lt;br /&gt; call :to&lt;br /&gt; call :writeReg&lt;br /&gt; cls&lt;br /&gt; call :howTo&lt;br /&gt; call :md&lt;br /&gt; goto :eof&lt;br /&gt;)&lt;br /&gt;mode 48,5&lt;br /&gt;echo(&lt;br /&gt;echo  Both the script and registry value were found,&lt;br /&gt;echo  no need to do anything.&lt;br /&gt;echo(&lt;br /&gt;pause&lt;br /&gt;call :md&lt;br /&gt;goto :eof&lt;br /&gt;&lt;br /&gt;:notFound&lt;br /&gt;mode 45,5&lt;br /&gt;echo(&lt;br /&gt;echo  Backdoor was not found,  writing both the &lt;br /&gt;echo  regsitry value and the script file....&lt;br /&gt;echo(&lt;br /&gt;call :to&lt;br /&gt;call :writeBoth&lt;br /&gt;cls&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:writeBoth&lt;br /&gt;call :writeReg&lt;br /&gt;call :writeScript&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:writeReg&lt;br /&gt;echo(&lt;br /&gt;echo  Creating registry key....&lt;br /&gt;echo(&lt;br /&gt;call :to&lt;br /&gt;reg add &quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe&quot; /v Debugger /t REG_SZ /d &quot;C:\windows\system32\cmd.exe&quot;&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:writeScript&lt;br /&gt;mode 55,4&lt;br /&gt;echo(&lt;br /&gt;echo  Creating script^: %_bscript%...&lt;br /&gt;echo(&lt;br /&gt;call :to&lt;br /&gt;if exist &quot;%_bscript%&quot; del &quot;%_bscript%&quot;&lt;br /&gt;echo Creating backdoor.cmd file...&lt;br /&gt;echo @echo off &gt; %_bscript%&lt;br /&gt;echo title Creat New User Password &gt;&gt; %_bscript%&lt;br /&gt;echo echo Enter username to reset your password: &gt;&gt; %_bscript%&lt;br /&gt;echo set name= &gt;&gt; %_bscript%&lt;br /&gt;echo set pass= &gt;&gt; %_bscript%&lt;br /&gt;echo set /P name=&quot;Username:&quot; &gt;&gt; %_bscript%&lt;br /&gt;echo set /P pass=&quot;New Password:&quot; &gt;&gt; %_bscript%&lt;br /&gt;echo net user &quot;%%name%%&quot; &quot;%%pass%%&quot; &gt;&gt; %_bscript%&lt;br /&gt;echo timeout /t 3 ^&gt;NUL &gt;&gt; %_bscript%&lt;br /&gt;echo exit &gt;&gt; %_bscript%&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:howTo&lt;br /&gt;mode 36, 10&lt;br /&gt;echo To run:&lt;br /&gt;echo(&lt;br /&gt;echo  At the login screen either press &lt;br /&gt;echo  shift+ctrl+printscreen (or prtsc)&lt;br /&gt;echo  or hit shift 5 times. This will &lt;br /&gt;echo  bring up the command prompt. At&lt;br /&gt;echo  the prompt type &quot;backdoor&quot; into &lt;br /&gt;echo  the new password screen and follow&lt;br /&gt;echo  the instructions.&lt;br /&gt;echo(&lt;br /&gt;pause&lt;br /&gt;cls&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:to&lt;br /&gt;timeout /t 3 &gt;nul&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:md&lt;br /&gt;color 0F&lt;br /&gt;mode 80,25&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;h2&gt;New icon I made for it:&lt;/h2&gt;&lt;a href=&quot;http://s254.photobucket.com/user/faithnomoread/media/green-backdoor_zps376b76e9.png.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/green-backdoor_zps376b76e9.png&quot; border=&quot;0&quot; alt=&quot; photo green-backdoor_zps376b76e9.png&quot;/&gt;&lt;/a&gt;&lt;br /&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Once it starts it will enter the registry entries as provided above to create the access to the command prompt at Windows login and it will also create a batch file located in you System32 fold called &quot;backdoor.bat&quot; which will start you through an automated easy process to change your password, so no need to type the commands yourself just run the backdoor file.  This batch files is run from your command prompt by typing &quot;backdoor&quot; or &quot;backdoor.bat&quot; and it  &lt;/p&gt;&lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;li&gt;Run this batch file from the command prompt bay typing &quot;backdoor&quot; or &quot;backdoor.bat&quot; and hit &quot;Enter&quot;.&lt;/li&gt;&lt;li&gt;It will easily guide you through the process of changing your password in just a couple of steps&lt;/li&gt;&lt;/ul&gt;Again, login and enjoy!!! &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/7545161899149122839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=7545161899149122839&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/7545161899149122839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/7545161899149122839'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/02/windows-login-backdoor-creator-v20.html' title='Windows Login Backdoor Creator V2.0'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-6932689252180227575</id><published>2015-02-17T13:57:00.002-06:00</published><updated>2015-02-17T13:57:59.157-06:00</updated><title type='text'>WinBin V1.0</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Comic Sans MS&quot;, cursive, sans-serif;&quot;&gt;WinBin V1.0&lt;/h1&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;No matter what OS you use, if you use any console or command line interface then you know that if your script or executable isn&#39;t in a path the computer can read or if the cli is not in the direct path of the said file then it can not be run/found.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;In most Linux systems there is a user bin system usually located in &lt;code style=&quot;color:yellow;&quot;&gt;$HOME/bin&lt;/code&gt; where you can drop any of your user installed programs or scripts and they can be run form the terminal just like any system command.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt; In Windows it&#39;s not so simple (although, not so hard either) as any path read by Windows must be declared in the &lt;code style=&quot;color:yellow;&quot;&gt;PATH(%PATH%)&lt;/code&gt; variable.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;The problem with Windows is that the preset paths are all in system folders and there can be some permission and security issues with some utilities you may use. So it is best to just stay away from system folders when possible. The way to do this is by adding a custom directory designated for the user and adding the directories location to the &lt;code style=&quot;color:yellow;&quot;&gt;PATH&lt;/code&gt; variable.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;For example I create a directory: &lt;code style=&quot;color:yellow;&quot;&gt;C:\Bin&lt;/code&gt; and then enter this location into the variable from cmd this: &lt;code style=&quot;color:yellow;&quot;&gt;setx /m PATH &quot;%PATH%;C:\Bin&quot;&lt;/code&gt;. And now I can drop whatever scripts or executable into the &lt;code style=&quot;color:yellow;&quot;&gt;C:\Bin&lt;/code&gt; folder and run them from anywhere on the computer from cmd or any other cli.&lt;/p&gt;&lt;h2&gt;Automate&lt;/h2&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;I do this on every Windows rig I have and so I have created a quick bat to exe script to automate this process with slight error checking. &lt;code style=&quot;color:yellow;&quot;&gt;WinBin V1.0&lt;/code&gt; when started will check for a Bin folder and if exist warns the user that the old folder should be moved or deleted to complete the process. If no folder is found it continues to add the new directory and adds the location to the &lt;code style=&quot;color:yellow;&quot;&gt;PATH&lt;/code&gt; variable. It then checks to makes sure the two functions were executed successfully and if so you can then use the system, if not you either have two many characters in your &lt;code style=&quot;color:yellow;&quot;&gt;PATH&lt;/code&gt; variable (usually mostly from installed software) or the folder wasn&#39;t created successfully.&lt;/p&gt;&lt;h2&gt;Usage&lt;/h2&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;After the system is installed successfully then just drop anything at all that can be run from a cli into the &lt;code style=&quot;color:yellow;&quot;&gt;C:\Bin&lt;/code&gt; folder and run from the cli!!! Very simple and quick and portable!&lt;/p&gt;&lt;h2&gt;Download:&lt;/h2&gt;&lt;ul style=&quot;list-style:none;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/s/llic0vcrgxhwu0m/winbin.exe?dl=0&quot; target=&quot;_blank&quot;&gt;WinBin V1.0&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Icon I created&lt;/h2&gt;&lt;a href=&quot;http://s254.photobucket.com/user/faithnomoread/media/WinBin_zpsae822e61.png.html&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/WinBin_zpsae822e61.png&quot; border=&quot;0&quot; alt=&quot; photo WinBin_zpsae822e61.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/6932689252180227575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=6932689252180227575&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/6932689252180227575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/6932689252180227575'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/02/winbin-v10.html' title='WinBin V1.0'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-876972309383810261</id><published>2015-02-10T15:46:00.000-06:00</published><updated>2015-02-11T13:03:28.601-06:00</updated><title type='text'>Collector V1.1</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Comic Sans MS&quot;, cursive, sans-serif;&quot;&gt;Collector (V1.1 - Updated) &lt;/h1&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;Like most people I am constantly downloading files and installing software to my computer and because, like most people, I am busy all the time I don&#39;t have as much time as I would like to keep my system clean and so I like to write scripts to automate as much as I can to give me more free time away from my computer.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;Over the years after cleaning, optimizing and fixing countless computers I have learned that most files that eat up disk space that can comfortably be removed are usually media and installation files; things you download from the internet pretty much. Lots of archived files like zips, rars etc...  can end up taking up lots of space and even the most organized of us end up having files spread throughout our system and half the time we forget about them.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;Recently I wrote a script (Collector V1.1) to copy all files of specific passed extension types to a folder on the desktop so that I can easily analyze the total file size of all said files. Doing this I also found files I forgot I even had and files I knew could be deleted I found the source files and deleted. I have converted my script to exe for easy portability and an administrative manifest.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;Collector V1.1 is a command line utility (cli/clu) used by passing file extensions to it via a command line such as MS-DOS CMD.&lt;br /&gt;E.g.:&lt;br /&gt;&lt;code style=&quot;color:red;&quot;&gt;collect.exe pdf txt log&lt;/code&gt;&lt;br /&gt;will search your whole computer for all files with those extensions and then copy them to individual folders inside of a folder on your desktop named &quot;Collection&quot;. There is no limit to the amount of passed extensions as it shifts each to &lt;code&gt;%1&lt;/code&gt; until &lt;code&gt;[%1]==[]&lt;/code&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;Note: As with all bat to exe conversions this might come up as a false positive in your AV, just exclude in your AV. The collect.exe file must be placed in a folder that can be read from &lt;code&gt;%PATH%&lt;/code&gt; such as &lt;code&gt;C:\Windows\System32&lt;/code&gt; or if you&#39;ve added your own custom paths. You can also just &lt;code&gt;cd&lt;/code&gt; to the path of your stored collect.exe.&lt;/p&gt;&lt;h2&gt;Version Info:&lt;/h2&gt;&lt;ul style=&quot;list-style: none;&quot;&gt;&lt;li&gt;Version 1.0 - Initial release. No known bugs.&lt;/li&gt;&lt;li&gt;Version 1.1 - Add log file with locations of original files.&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Download:&lt;/h2&gt;  &lt;ul style=&quot;list-style: none;&quot;&gt;&lt;li&gt;&lt;a href=&quot;https://www.dropbox.com/s/rrp13w8fik48kvr/collect.exe?dl=0&quot; target=&quot;_blank&quot;&gt;Collector V1.1&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Original Code:&lt;/h2&gt;&lt;div style=&quot;background: white; width: auto; &quot;&gt;&lt;code style=&quot;color: black;&quot;&gt;&lt;br /&gt;@echo off&lt;br /&gt;set &quot;backd=%cd%&quot;&lt;br /&gt;title Collect Files&lt;br /&gt;cls&lt;br /&gt;&lt;br /&gt;:loop&lt;br /&gt;mode 78,4&lt;br /&gt;if [%1]==[] (&lt;br /&gt; call :err&lt;br /&gt; if exist &quot;%mainf%&quot; start &quot;&quot; explorer &quot;%mainf%&quot;&lt;br /&gt; goto :eof&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;set &quot;efile=%1&quot;&lt;br /&gt;set &quot;mainf=%userprofile%\Desktop\Collection\&quot;&lt;br /&gt;set &quot;wdir=%mainf%%efile%\&quot;&lt;br /&gt;&lt;br /&gt;cd C:\&lt;br /&gt;echo(&lt;br /&gt;echo  Copying all &quot;%efile%&quot; files to %wdir%&lt;br /&gt;echo(&lt;br /&gt;for /r %%i in (*.%efile%) do (xcopy &quot;%%i&quot; &quot;%wdir%&quot; /q /y) &gt;nul 2&gt;nul&lt;br /&gt;cls&lt;br /&gt;cd %backd%&lt;br /&gt;shift&lt;br /&gt;goto :loop&lt;br /&gt;&lt;br /&gt;:err&lt;br /&gt;color FC&lt;br /&gt;mode 38,4&lt;br /&gt;cls&lt;br /&gt;echo(&lt;br /&gt;echo  No more files to process...&lt;br /&gt;echo(&lt;br /&gt;pause&lt;br /&gt;cls&lt;br /&gt;color 0F&lt;br /&gt;mode 80,25&lt;br /&gt;title %backd%&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;&lt;/div&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/C-_Users_Lateralus_Desktop_output16_zpsee8db8ac.png&quot; alt=&quot;collector&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/876972309383810261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=876972309383810261&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/876972309383810261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/876972309383810261'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/02/collector-v1.html' title='Collector V1.1'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-5882129109137819889</id><published>2015-02-06T09:03:00.000-06:00</published><updated>2015-02-06T09:46:43.158-06:00</updated><title type='text'>Reboot for Windows - Linux Alternative</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; height:100%; font-family: Georgia, serif; overflow: hidden;&quot;&gt;  &lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Comic Sans MS&quot;, cursive, sans-serif;&quot;&gt;Windows Reboot V1.0&lt;/h1&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;A lot of us who use both Windows and Linux find Windows cli commands lacking at times. Linux is best ran by the command (terminal) line in my opinion and almost everything you can do on a computer in Linux can and should be done via the terminal. One of the most annoying things I have found in Windows is the horrible way you have to reboot your computer from Windows CMD. In Linux it&#39;s as simple as typing &#39;&lt;code&gt;reboot&lt;/code&gt;&#39;.&lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;In Windows in order to reboot your computer from a command line you must type &#39;&lt;code&gt;shutdown /r /t 0&lt;/code&gt;&#39; to reboot your computer. While this comes in handy for some things it is annoying for normal every day usage. I have created a batch to exe (for portability and easy use with administrative priveledges) script to emulate this feature in Windows. Simply place the reboot.exe in your &lt;code&gt;C:\Windows\System32\&lt;/code&gt; or any path in Windows &lt;code&gt;%PATH%&lt;/code&gt; variable and run from command line with &#39;&lt;code&gt;reboot&lt;/code&gt;&#39;.&lt;/p&gt; &lt;br /&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;The difference between Linuxs &#39;&lt;code&gt;reboot&lt;/code&gt;&#39; and my Windows version is that an amount of time to wait before reboot can be passed to it as you would any passed parameter:&lt;br /&gt;&lt;code&gt;reboot 30&lt;/code&gt;&lt;br /&gt;will wait 30 seconds before the reboot. &lt;/p&gt;&lt;br /&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;This is available in 3 versions; the original cmd script, reboot with admin manifest and a reboot without admin manifest (rename to reboot) for use on public computers: &lt;br /&gt;&lt;ul style=&quot;list-style: none;&quot;&gt;&lt;li&gt;Reboot V1.0 CMD: &lt;a href=&quot;https://www.dropbox.com/s/d5a5g8uorybkklw/reboot.cmd?dl=0&quot; target=&quot;_blank&quot;&gt;https://www.dropbox.com/s/d5a5g8uorybkklw/reboot.cmd?dl=0&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Reboot V1.0 Admin: &lt;a href=&quot;https://www.dropbox.com/s/mx7zslrf2wtvav2/reboot.exe?dl=0&quot; target=&quot;_blank&quot;&gt;https://www.dropbox.com/s/mx7zslrf2wtvav2/reboot.exe?dl=0&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Reboot V1.0 No Admin: &lt;a href=&quot;https://www.dropbox.com/s/7ht8kgnw2hn0jdq/reboot-no-admin.exe?dl=0&quot; target=&quot;_blank&quot;&gt;https://www.dropbox.com/s/7ht8kgnw2hn0jdq/reboot-no-admin.exe?dl=0&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; Orignal script: &lt;div style=&quot;background: white; width: auto; &quot;&gt;&lt;code style=&quot;color: black;&quot;&gt;&lt;br /&gt;@echo off&lt;br /&gt;&lt;br /&gt;if [%1]==[] (&lt;br /&gt; call :restart&lt;br /&gt;) else (&lt;br /&gt; set rt=%1&lt;br /&gt; call :passed&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;goto :eof&lt;br /&gt;&lt;br /&gt;:passed&lt;br /&gt;shutdown /r /t %rt% &lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;:restart &lt;br /&gt;shutdown /r /t 0&lt;br /&gt;exit /b&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin: auto 0; width: 274px;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-_ZUv0zdmR6w/VNTbtjBdbiI/AAAAAAAAAPo/NwywCuwcWW8/s1600/reboot-red-icon.png&quot; imageanchor=&quot;1&quot; style=&quot;width:264px;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-_ZUv0zdmR6w/VNTbtjBdbiI/AAAAAAAAAPo/NwywCuwcWW8/s1600/reboot-red-icon.png&quot; /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;Icon I made for the script.&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/5882129109137819889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=5882129109137819889&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5882129109137819889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5882129109137819889'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2015/02/reboot-for-windows-linux-alternative.html' title='Reboot for Windows - Linux Alternative'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-_ZUv0zdmR6w/VNTbtjBdbiI/AAAAAAAAAPo/NwywCuwcWW8/s72-c/reboot-red-icon.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-5884716878014014249</id><published>2014-10-15T11:55:00.001-05:00</published><updated>2014-10-24T20:03:58.405-05:00</updated><title type='text'>Browser Killer v1.0</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; font-family: Georgia, serif;&quot;&gt;  &lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Comic Sans MS&quot;, cursive, sans-serif;&quot;&gt;Browser Killer V1.1&lt;/h1&gt;&lt;p&gt;Updated to V1.1&lt;/p&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;As parents we want the best for our children and we want them to do the best they can in school or wherever they receive their education. The sad fact is that children need guidance and order and as parents we must do the best we can to enforce this. We all know this is almost impossible to control nowadays as we can not be around them 24 hours a day. &lt;/p&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;One of the major problems I see is distraction, mainly by the internet. Regardless of what your children say they don&#39;t always need the internet to do their homework. Sure, if they have something they need to research that&#39;s about the only time they should be online, but if your children are doing most of their homework online someone should be checking their teachers curriculum.&lt;/p&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;Since we can&#39;t be there all the time I have created a utility to detect and kill web browsers. Every 10 seconds (to reduce system lag) my utility will run silently in the background and then go through a series of browser detection and kill loops. Kids are smart and getting smarter and therefor I had to design a somewhat hidden program that runs in cmd instead of its&#39; own executable.&lt;/p&gt;&lt;h2 style=&quot;color:red;&quot;&gt;Usage:&lt;/h2&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;This is a portable application which is meant to be hidden so you should store this somewhere you will remember, but where your kids might not think to look. The best ways to use this are: &lt;ul&gt;&lt;li style=&quot;list-style:none;&quot;&gt;When you&#39;re home:&lt;ul style=&quot;list-style:upper-roman;&quot;&gt;    &lt;li&gt;Have your children leave the room and start the kap.exe.&lt;/li&gt;    &lt;li&gt;It runs as cmd.exe in Task Manager which could be anything so your kids have no idea that it is your process. &lt;/li&gt;    &lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;list-style:none;&quot;&gt;When you&#39;re not home:&lt;ul style=&quot;list-style:upper-roman;&quot;&gt;    &lt;li&gt;It&#39;s a good idea to set homework times and set this to run via task scheduler.&lt;br /&gt;Learn about Task Scheduler &lt;a href=&quot;http://windows.microsoft.com/en-us/windows/schedule-task#1TC=windows-7&quot; target=&quot; _blank&quot;&gt;here&lt;/a&gt;&lt;/li&gt;    &lt;/ul&gt;&lt;/li&gt;&lt;li style=&quot;list-style:none;&quot;&gt;To end:&lt;ul style=&quot;list-style:upper-roman;&quot;&gt;    &lt;li&gt;I have included an endkap.exe which will kill all instances of cmd.exe. (endkap.exe now kills via its&#39; specific PID instead of all instances of cmd.exe)&lt;/li&gt;    &lt;li&gt;You can kill in your task manager by killing the cmd.exe that is the parent process of timeout.exe.&lt;/li&gt;    &lt;li&gt;You can start a new cmd.exe to kill with the command&lt;br /&gt; &lt;code&gt;taskkill /f /im cmd.exe&lt;/code&gt;&lt;br /&gt; or set the same command in Task Scheduler when you want it to stop.&lt;/li&gt;    &lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;/p&gt;&lt;h2 style=&quot;color:red;&quot;&gt;Security Issue:&lt;/h2&gt;&lt;p style=&quot;text-indent: 16px;&quot;&gt;The behavior of this application stops access to the internet via browsers and therefor is flagged by some antiviruses as false-positives (&lt;a href=&quot;https://www.google.com/search?q=false+positive&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;channel=sb#rls=org.mozilla:en-US:official&amp;channel=sb&amp;q=antivirus+false+positive&quot; target=&quot;_blank&quot;&gt;AV false-positives Google search&lt;/a&gt;). To get around this just (restore if necessary) make an exception in your anti-virus program.&lt;/p&gt; &lt;h2 style=&quot;color:red;&quot;&gt;Notes:&lt;/h2&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;Creates a kill.log file in the users Documents folder which logs which browser is killed by time and date so that you can see if and how your kids are trying to be sneaky or not.&lt;/p&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;This is the beta version, alpha has been tested and worked with no bugs in Windows Vista 32bit and Windows 7 64bit. Please email all bugs to faithnomoread@yahoo.com or leave a comment in the section below.&lt;br /&gt;Browsers included so far: &lt;ul style=&quot;list-style: upper-roman;&quot;&gt;&lt;li&gt;Internet Explorer&lt;/li&gt;&lt;li&gt;Firefox&lt;/li&gt;&lt;li&gt;Opera&lt;/li&gt;&lt;li&gt;Chrome&lt;/li&gt;&lt;li&gt;Safari&lt;/li&gt;&lt;li&gt;Maxthon&lt;/li&gt;&lt;li&gt;Avant&lt;/li&gt;&lt;li&gt;Torch&lt;/li&gt;&lt;li&gt;Midori&lt;/li&gt;&lt;/ul&gt;There are more I could add, but most your children will never even hear of. &lt;/p&gt;&lt;h2 style=&quot;color:red;&quot;&gt;Release Notes:&lt;/h2&gt; &lt;p&gt;V1.0 - First beta release&lt;br /&gt;V1.1 - Added kill.log file in your Documents folder and endkap now kills Browser Killer via its&#39; unique PID instead of kill all instances of cmd.&lt;/p&gt;&lt;h2 style=&quot;color:red;&quot;&gt;Download:&lt;/h2&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;  &lt;ul style=&quot;color: red; list-style-type: none;&quot;&gt;        &lt;li&gt;Download Browser Killer V1.1: &lt;a href=&quot;https://www.dropbox.com/s/wdvts4qklrv4r5b/Kill%20Browsersv1.1.zip?dl=0&quot; target=&quot;_blank&quot;&gt;Browser Killer V1.1&lt;/a&gt;&lt;/li&gt;  &lt;/ul&gt;&lt;/p&gt;   &lt;h2 style=&quot;color:red;&quot;&gt;Icons I created:&lt;/h2&gt;  &lt;figure style=&quot;text-align: center;&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/kabicon256_zpsf9f163c4.png&quot; style=&quot;margin-top: 25px;&quot; alt=&quot;kapno&quot; /&gt;    &lt;figcaption&gt;Icon for KAP&lt;/figcaption&gt;  &lt;/figure&gt;    &lt;figure style=&quot;text-align: center;&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/kabiconY256_zps20a3fb86.png&quot; style=&quot;margin-top: 25px;&quot; alt=&quot;kapend&quot; /&gt;    &lt;figcaption&gt;Icon for ENDKAP&lt;/figcaption&gt;  &lt;/figure&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/5884716878014014249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=5884716878014014249&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5884716878014014249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5884716878014014249'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2014/10/browser-killer-v10.html' title='Browser Killer v1.0'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-1821028386805454879</id><published>2014-09-20T18:52:00.000-05:00</published><updated>2014-10-24T20:01:54.653-05:00</updated><title type='text'>Shortcut Overlay Utility by Lateralus138</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%; font-family: Georgia, serif;&quot;&gt;&lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Comic Sans MS&quot;, cursive, sans-serif;&quot;&gt; Project currently being rewritten&lt;/h1&gt;  &lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Comic Sans MS&quot;, cursive, sans-serif;&quot;&gt;&lt;s&gt; Shortcut Overlay Utility&lt;/s&gt;&lt;/h1&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;&lt;s&gt;There are a few of these out there and all work, but I like to create my own tools that work more the way I want them to. If you don&#39;t know what a shortcut overlay is it is the little arrow on any shortcut file in Windows. Some of us either don&#39;t like the arrow there or sometimes we want to switch back to old fashion XP overlays.&lt;/p&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;figure style=&quot;text-align: center; float: left; margin: 0 0 0 28px&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/defaultwindows-v-7-thumb_Shortcut_Arrow_zps2a6fd1e6.png&quot; alt=&quot;dv7&quot; /&gt;    &lt;figcaption&gt;Default Vista &amp;amp; 7&lt;/figcaption&gt;  &lt;/figure&gt;  &lt;figure style=&quot;text-align: center; float: left; margin: 0 0 0 48px;&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/xp-default-sc-arrow_zps5465ee3e.png&quot; style=&quot;margin-top: 26px;&quot; alt=&quot;dxp&quot; /&gt;    &lt;figcaption&gt;Default XP&lt;/figcaption&gt;  &lt;/figure&gt;  &lt;figure style=&quot;text-align: center; float: left; margin: 0 0 0 48px&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/xp-hand-sc-arrow_zpsfdf11975.png&quot; style=&quot;margin-top: 14px;&quot; alt=&quot;handxp&quot; /&gt;    &lt;figcaption&gt;XP Hand&lt;/figcaption&gt;  &lt;/figure&gt;  &lt;figure style=&quot;text-align: center; float: left; margin: 0 0 0 48px&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/no-sc-arrow_zps28f1ac7a.png&quot; style=&quot;margin-top: 0px;&quot; alt=&quot;none&quot; /&gt;    &lt;figcaption&gt;No Shortcut Arrow&lt;/figcaption&gt;  &lt;/figure&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;Shortcut Overlay Utility V1.1 has modes for Vista and 7 &amp;amp; 8 and has all 4 modes in each.&lt;/p&gt;  &lt;figure style=&quot;text-align: center;&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/v78modes1_zps00040f4d.png&quot; style=&quot;margin-top: 25px;&quot; alt=&quot;v78mode&quot; /&gt;    &lt;figcaption&gt;Modes for Windows Vista and 7 &amp;amp; 8&lt;/figcaption&gt;  &lt;/figure&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;Each mode looks the same, but one of the resources in Vista is in a different dll than 7 &amp;amp; 8&amp;#39;s&lt;/p&gt;  &lt;figure style=&quot;text-align: center;&quot;&gt; &lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/eachmodes1_zps0f43f843.png&quot; style=&quot;margin-top: 25px;&quot; alt=&quot;each&quot; /&gt;    &lt;figcaption&gt;Options&lt;/figcaption&gt;  &lt;/figure&gt;  &lt;p style=&quot;text-indent: 16px;&quot;&gt;There is a portable version or an installable version for those who like that method. The installable version can be cleanly uninstalled. The only single drawback to is that sometimes Windows 7 must be restarted completely to see the results as it will temporarily display a black square until you restart. Not even an issue for me, but if anyone would like me to add a feature to restart the computer just leave a comment and I can add it in. This program is not Windows Verified and so might display false positives, but I freely offer the source code and it should show unknown and not untrusted.&lt;/p&gt;  &lt;ul style=&quot;color: red; list-style-type: none;&quot;&gt;    &lt;li&gt;Installable Download: &lt;a href=&quot;https://www.dropbox.com/s/p67qurrxeqnf37n/ShorcutOverlay%20Utility%20Install%20V1.1.0.0.exe?dl=0&quot; target=&quot;_blank&quot;&gt;ShorcutOverlay Utility Install&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Portable Download: &lt;a href=&quot;https://www.dropbox.com/s/pk8vx3d0qp3d7wl/ShortcutOverlay%20Utility%20by%20Lateralus138%20V1.1.0.0.exe?dl=0&quot; target=&quot;_blank&quot;&gt;ShorcutOverlay Utility Portable&lt;/a&gt;&lt;/s&gt;&lt;/li&gt;  &lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/1821028386805454879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=1821028386805454879&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1821028386805454879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1821028386805454879'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2014/09/shortcut-overlay-utility-by-lateralus138.html' title='Shortcut Overlay Utility by Lateralus138'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-2507918264250454836</id><published>2014-08-02T14:02:00.001-05:00</published><updated>2014-08-02T14:04:19.351-05:00</updated><title type='text'>Kids going to sleep batch script :D</title><content type='html'>&lt;div style=&quot;-moz-border-radius: 10px; -moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; box-shadow: 0 0 8px 8px #0e1e00; color: white; margin: auto; padding: 4px; width: 100%;&quot;&gt;&lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Avant Garde&quot;, Avantgarde, &quot;Century Gothic&quot;, CenturyGothic, &quot;AppleGothic&quot;, sans-serif;&quot;&gt;Kids To Sleep Script&lt;/h1&gt;For all my fellow geek/parents out there who know anything about dos batch/cmd coding I wrote this little script to mimic my feelings and many future instances with my children when trying to get them to GO TO SLEEP!!! lol Finishing the loop and continuing the eof consists of deleting a text file in the same folder named awake_kids.txt lol The funny thing about this post that don&#39;t get it is that while the file awake_kids.txt exists (kids are awake) the program is running and using processor power which in humans tires us down and in humans and computers eating up our power also wears our physical hulls down.... so when then awake_kids.txt gets deleted (kids go to sleep) the loop then ends and stops using so much energy the same as every parents experiences every time they go to sleep&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;@echo off&lt;br /&gt;:sleep&lt;br /&gt;cls&lt;br /&gt;if exist awake_kids.txt (&lt;br /&gt;echo Get your ass to sleep!!!&lt;br /&gt;goto:sleep&lt;br /&gt;) else (&lt;br /&gt;echo About fucking time!!!&lt;br /&gt;pause&lt;br /&gt;goto:eof&lt;br /&gt;)&lt;/code&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/2507918264250454836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=2507918264250454836&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/2507918264250454836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/2507918264250454836'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2014/08/kids-going-to-sleep-batch-script-d.html' title='Kids going to sleep batch script :D'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-3560893147369272910</id><published>2014-04-03T01:39:00.001-05:00</published><updated>2014-04-03T01:58:09.141-05:00</updated><title type='text'>Star Wars: The Old Republic - The Black Talon Gameplay</title><content type='html'>&lt;div style=&quot;-moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; box-shadow: 0 0 8px 8px #0e1e00; -moz-border-radius: 10px; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; color: white; margin: auto; padding: 4px; width: 100%;&quot;&gt;&lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Avant Garde&quot;, Avantgarde, &quot;Century Gothic&quot;, CenturyGothic, &quot;AppleGothic&quot;, sans-serif;&quot;&gt;SWTOR Gameplay&lt;/h1&gt;&lt;center&gt;The Black Talon mission from Star Wars: The Old Republic&lt;/center&gt;&lt;center&gt;Short video I made of a cool part of &quot;The Black Talon&quot; mission&lt;/center&gt;&lt;center&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;//www.youtube.com/embed/BVA1g8iCx_c&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;/center&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/3560893147369272910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=3560893147369272910&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/3560893147369272910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/3560893147369272910'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2014/04/star-wars-old-republic-black-talon.html' title='Star Wars: The Old Republic - The Black Talon Gameplay'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-8494305271869821432</id><published>2014-03-31T19:52:00.000-05:00</published><updated>2014-04-03T01:54:25.211-05:00</updated><title type='text'>Parallel Kingdom Image Converter V1.0</title><content type='html'>&lt;div style=&quot;-moz-box-shadow: 0 0 8px 8px #0e1e00; -webkit-box-shadow: 0 0 8px 8px #0e1e00; box-shadow: 0 0 8px 8px #0e1e00; -moz-border-radius: 10px; background-color: black; background: url(&#39;http://i254.photobucket.com/albums/hh119/faithnomoread/pk-blog-bg_zps72abdc1f.png&#39;); border-radius: 10px; color: white; margin: auto; padding: 4px; width: 100%;&quot;&gt;&lt;h1 style=&quot;color: #fff380; margin: 0 auto; text-align: center; font-family: &quot;Avant Garde&quot;, Avantgarde, &quot;Century Gothic&quot;, CenturyGothic, &quot;AppleGothic&quot;, sans-serif;&quot;&gt;Editing Parallel Kingdom Images&lt;/h1&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-mGP5B3uzf1g/Uzoi_LhxT-I/AAAAAAAAAL8/EdqKSCdU2nc/s1600/pk_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-mGP5B3uzf1g/Uzoi_LhxT-I/AAAAAAAAAL8/EdqKSCdU2nc/s1600/pk_logo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;For those of you who like to mod anything and everything just because you can, I have built a small utility to quickly convert Parallel Kingdom image files to PNG format so you can edit them in your image editing software of choice.   &lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;Today I have finished and released &lt;b&gt;&lt;span style=&quot;color:red;&quot;&gt;&lt;a href=&quot;https://www.dropbox.com/s/ss8ojrc1mvgpm1w/Parallel%20Kingdom%20Image%20Converter%20V1.0.exe&quot; target=&quot;_blank&quot;&gt;Parallel Kingdom Image Converter V1.0&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-3omqEccGC1U/UzoNj8vyObI/AAAAAAAAALs/UGXjUQT08WA/s1600/pkic_ss_v1.0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-3omqEccGC1U/UzoNj8vyObI/AAAAAAAAALs/UGXjUQT08WA/s1600/pkic_ss_v1.0.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;You might think it&#39;s not a big deal to add or remove a file extension from a file, but the pk image folder has over 16,000 files and even if you&#39;re not editing all of them this is still a helpful tool for pk image batch renaming.&lt;/div&gt;     To use simply download the sfx installer from the link above and install. There will be 2 shortcuts on your desktop: &lt;ol&gt;&lt;li&gt;One for the main program&lt;/li&gt;&lt;li&gt;One for the working image folder&lt;/li&gt;&lt;/ol&gt;  And 3 shortcuts in your Start Menu: &lt;ol&gt;&lt;li&gt;One for the main program&lt;/li&gt;&lt;li&gt;One for the working image folder&lt;/li&gt;&lt;li&gt;PKIC Uninstaller (can be accessed from utility as well)&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;After install is finished you place the pk images that you want to work on in the &quot;Images&quot; folder and run the program from one of the shortcuts provided. Use the program to convert pk image files to PNG format then edit your images and save your work to the Images folder. Once you are ready to use your modded image files just use the program to convert the files back to pk image files and return images back to your phone or tablet in the sdcard/pk folder. &lt;/div&gt;&lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;As simple as that. Any questions please leave comments  &lt;/div&gt; &lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;For those of you who like things a little less organized and portable download the portable version &lt;a href=&quot;https://www.dropbox.com/s/zbh6vsq71s3cnss/Parallel%20Kingdom%20Image%20Converter%20V1.0.zip&quot;&gt;here&lt;/a&gt;. &lt;/div&gt;&lt;div style=&quot;margin: 8px; text-indent: 24px;&quot;&gt;Disclaimer: This is not an official &lt;a href=&quot;http://www.perblue.com/&quot; target=&quot;_blank&quot;&gt;PerBlue&lt;/a&gt; or &lt;a href=&quot;http://www.parallelkingdom.com/&quot; target=&quot;_blank&quot;&gt;Parallel Kingdom®&lt;/a&gt; product nor is it endorsed by said company. &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/8494305271869821432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=8494305271869821432&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8494305271869821432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8494305271869821432'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2014/03/parallel-kingdom-image-converter-v10.html' title='Parallel Kingdom Image Converter V1.0'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-mGP5B3uzf1g/Uzoi_LhxT-I/AAAAAAAAAL8/EdqKSCdU2nc/s72-c/pk_logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-5307386971804091774</id><published>2013-08-19T10:32:00.000-05:00</published><updated>2013-08-19T10:38:14.530-05:00</updated><title type='text'>Black screen (no xserver/xorg) after updating Ubuntu to 12.10 or 13.04</title><content type='html'>&lt;span style=&quot;float: left; width: 80%;&quot;&gt;For a while I had been trying to upgrade my Ubuntu from version 12.04 to 13.04 with disastrous results. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;float: right; width: 15%;&quot;&gt;For list of commands used: &lt;a href=&quot;http://agnosticmicrocosm.blogspot.com/2013/08/black-screen-no-xserverxorg-after.html#commands&quot; style=&quot;color: red;&quot;&gt;Commands&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;clear: right;&quot;&gt;First of all, in order to upgrade to 13.04 from 12.04 you must upgrade to 12.10 first. I tried upgrading to 12.10 and immediately after reboot I come to a screen that says something to the effect of can&#39;t access /tmp, Press S to skip or M to manually recover. I pressed S and nothing happens and after a while I hard rebooted and came to a black screen and stalled. I kept doing a web search for solutions and posted at a couple of forums and a lot of people had similar issues with the upgrade, but none of the solutions I found helped me. Most dealt with graphics drivers issues.  &lt;br /&gt;&lt;br /&gt;I gave up trying to fix it and just copied my user files to my Windows partition and did a fresh re-install of 12.04 and then updated the system and cleaned then tried upgrading again with the same results. This time I tried pressing M to manually recover and came to a black screen again. I didn&#39;t want to re-install again so this time I rebooted into Recovery Mode and tried to clean and fix packages etc.. with no luck. I then tried to go into root prompt and tried starting the xserver manually and I found out it wasn&#39;t installed! &lt;br /&gt;&lt;br /&gt;So my guess is that when it tried to do the upgrade it was meant to install xserver on reboot and the the files were in the tmp folder which had been inaccessible. I connected to the internet and installed xserver-xorg-core and then xserver-xorg and rebooted and VIOLA!!! Success!!! I now had a working version of 12.10!!!   &lt;br /&gt;&lt;br /&gt;Now to upgrade to 13.04... Same issue. Hmm so I tried the same solution and it worked. This made me wonder about the /tmp directory. Was it read only? I am not satisfied unless I know exactly why something doesn&#39;t work so I started from scratch to test something out.  &lt;br /&gt;&lt;br /&gt;This time I did a fresh install of 12.04 and attempted to update 12.10 and same issue so I fixed it with my first solution. Now to test a different method when upgrading to 13.04. Before upgrading I had a thought about the /tmp folder... maybe it was read only at the time of upgrade locked somehow. I am somewhat familiar with how permissions work and so I thought maybe to take ownership and to set the /tmp folder to writeable. I did take ownership and set /tmp to writeable and then tried upgrading... no problems!!! Perfect!!! &lt;/span&gt; &lt;a href=&quot;http://agnosticmicrocosm.blogspot.com/&quot; name=&quot;commands&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;h3 style=&quot;color: red;&quot;&gt;Commands used in article:&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;For installing xserver:&lt;br /&gt;&lt;code&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install xserver-xorg-core &amp;amp;&amp;amp; sudo apt-get install xserver-xorg&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For taking ownership of /tmp folder:&lt;br /&gt;&lt;code&gt;sudo chown username /tmp&lt;/code&gt; Replace username with your login name. &lt;br /&gt;&lt;br /&gt;For making /tmp folder writeable:&lt;br /&gt;&lt;code&gt;sudo chmod +x /tmp&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/5307386971804091774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=5307386971804091774&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5307386971804091774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5307386971804091774'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2013/08/black-screen-no-xserverxorg-after.html' title='Black screen (no xserver/xorg) after updating Ubuntu to 12.10 or 13.04'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-1994542309719156697</id><published>2012-06-13T16:57:00.000-05:00</published><updated>2012-06-13T17:03:26.244-05:00</updated><title type='text'>Creating backdoor at Windows login to reset password after losing it.</title><content type='html'>&lt;div style=&quot;width:420px;height:auto;border-radius:20px;-moz-border-radius: 20px;background:#114411;color:white; padding:8px;&quot;&gt; &lt;p style=&quot;text-indent:24px;&quot;&gt;   Over the years I have had many people ask me how to get into their computer after they have forgotten their password. There are a few ways to do this either with a bootable cd or usb stick with a 3rd party application, but to be honest this is very unsafe as anyone can get the cd and break into a computer and at the same time you or anyone else that uses such software can cause users or admins to lose data.&lt;/p&gt;&lt;div style=&quot;float:right;width:150px;padding:8px;background:#363;color:red !important;border-radius:8px;border:1px solid #030;margin-right:8px;&quot;&gt;&lt;a href=&quot;#easy&quot;&gt;Skip to easier method...&lt;/a&gt;&lt;/div&gt; &lt;p style=&quot;text-indent:24px;&quot;&gt;The only really safe way to do it is through your command prompt, but without knowing your password to get into the profile to use the console then you are screwed. Recently I have discovered a way to be able to access your command prompt from the Windows login screen by adding a value to the registry. Now you can create a registry file (.reg) to do this, but today we will just add it via the command prompt:&lt;/p&gt;&lt;br /&gt;1. You must open your cmd (command prompt) as administrator so you can&#39;t open it from run. You must go to your start screen type &quot;cmd&quot; in the search bar and when you see it right click on it and select &quot;Run as administrator&quot;. &lt;br /&gt;&lt;br /&gt;2. Type the code below into the prompt: &lt;br /&gt;  &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe&quot; /v Debugger /t REG_SZ /d &quot;C:\windows\system32\cmd.exe&quot; &lt;/code&gt;&lt;/div&gt;&lt;center&gt;Triple click on the above code to select all then copy and paste into your command prompt and hit &quot;ENTER&quot;.&lt;/center&gt;&lt;br /&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;You now have access to the the command prompt at the Wcndows login screen. &lt;br /&gt;&lt;br /&gt;Gain access by either: &lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;li&gt;Pressing SHIFT+ALT+PRTSC (Print Screen) or;&lt;/li&gt;&lt;li&gt;Hitting the SHIFT key 5 times in a row.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style=&quot;text-indent:24px;&quot;&gt;If you or anyone else on your Windows OS ever loses their password (or you just want to do anything else that you can do from the prompt) you can do it without logging in (be careful though!).&lt;/p&gt; 3. When you need to change your password from the prompt, type: &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;net user username password &lt;/code&gt;&lt;/div&gt;Where username is, of course, your username and password your new password.&lt;br /&gt;&lt;br /&gt;EXAMPLE: &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;net user bob apples &lt;/code&gt;&lt;/div&gt;Would change user bob&#39;s password to apples etc... &lt;p style=&quot;text-indent:24px;&quot;&gt;If your name has a space in it you must wrap quotation marks around the name as a space denotes a new command. You must enter it like:&lt;/p&gt;&lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;net user &quot;bob for&quot; apples &lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. Login with your new password! &lt;a name=&quot;easy&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;hr /&gt;&lt;hr /&gt;&lt;hr /&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;I have created a batch file to automate this process so you don&#39;t have to do half of this. You can either download it &lt;a target=&quot;_blank&quot; href=&quot;https://www.box.com/s/af12c8a4adf34694ea25&quot;&gt;Here&lt;/a&gt; or if you are scared of downloading files you can just copy and paste the text below into a batch you create.&lt;/p&gt;&lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;li&gt; Right click on your desktop and select New&gt;TXT File.&lt;/li&gt;&lt;li&gt; Rename the file from &quot;New Text Document.txt&quot; to &quot;whateveryouwant.bat&quot; (if you can&#39;t see the extension just go into folder options and uncheck &quot;Hide extensions of known applications&quot; or something like that.&lt;/li&gt;&lt;li&gt; Once it&#39;s a bat file right click on it and select &quot;Edit&quot;. and paste the code below into it and save the file&lt;/li&gt;&lt;li&gt;Right click on the bat file you have created and select &quot;Run as administrator&quot; and it will run.&lt;/li&gt;  &lt;/ul&gt;Code to paste in your batch file: &lt;div style=&quot;background:white;color:red;padding:8px;border-radius:14px;-moz-border-radius: 14px;margin-top:8px;border:1px solid #000;-moz-box-shadow: inset 0 0 20px 4px #222; -webkit-box-shadow: inset 0 0 20px 4px #222; box-shadow: inner 0 0 20px 4px #222;&quot;&gt;&lt;code&gt;@echo off&lt;br /&gt;echo Creating backdoor console...&lt;br /&gt;REG ADD &quot;HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe&quot; /v Debugger /t REG_SZ /d &quot;C:\windows\system32\cmd.exe&quot;&lt;br /&gt;PING 1.1.1.1 -n 1 -w 3000 &gt; NUL&lt;br /&gt;cls&lt;br /&gt;echo Creating backdoor batch file...&lt;br /&gt;echo @echo off &gt; C:/Windows/System32/backdoor.bat &lt;br /&gt;echo title Creat New User Password &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo echo Enter username to reset your password: &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo set name= &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo set pass= &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo set /P name=&quot;Username:&quot; &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo set /P pass=&quot;New Password:&quot; &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo net user %%name%% %%pass%% &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo PING 1.1.1.1 -n 1 -w 3000 &gt; NUL &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;echo exit &gt;&gt; C:/Windows/System32/backdoor.bat&lt;br /&gt;PING 1.1.1.1 -n 1 -w 3000 &gt; NUL&lt;br /&gt;cls&lt;br /&gt;echo To run:&lt;br /&gt;echo.&lt;br /&gt;echo At the login screen either press &lt;br /&gt;echo shift+ctrl+printscreen (or prtsc)&lt;br /&gt;echo or hit shift 5 times. This will &lt;br /&gt;echo bring up the command prompt. At&lt;br /&gt;echo the prompt type &quot;backdoor&quot; to &lt;br /&gt;echo the new password screen and follow&lt;br /&gt;echo the instructions.&lt;br /&gt;echo.&lt;br /&gt;pause&lt;br /&gt;PING 1.1.1.1 -n 1 -w 3000 &gt; NUL&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;p style=&quot;text-indent:24px;&quot;&gt;Once it starts it will enter the registry entries as provided above to create the access to the command prompt at Windows login and it will also create a batch file located in you System32 fold called &quot;backdoor.bat&quot; which will start you through an automated easy process to change your password, so no need to type the commands yourself just run the backdoor file.  This batch files is run from your command prompt by typing &quot;backdoor&quot; or &quot;backdoor.bat&quot; and it  &lt;/p&gt;&lt;ul style=&quot;list-style-type:upper-roman;&quot;&gt;&lt;li&gt;Run this batch file from the command prompt bay typing &quot;backdoor&quot; or &quot;backdoor.bat&quot; and hit &quot;Enter&quot;.&lt;/li&gt;&lt;li&gt;It will easily guide you through the process of changing your password in just a couple of steps&lt;/li&gt;&lt;/ul&gt;Again, login and enjoy!!! &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/1994542309719156697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=1994542309719156697&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1994542309719156697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1994542309719156697'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2012/06/creating-backdoor-at-windows-login-to.html' title='Creating backdoor at Windows login to reset password after losing it.'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-8792485378360622893</id><published>2012-04-17T19:25:00.002-05:00</published><updated>2012-04-17T19:25:40.859-05:00</updated><title type='text'></title><content type='html'>&lt;div style=&quot;-moz-opacity: 0.5; background: #fff; border-radius: 16px; filter: alpha(opacity=50); height: 300px; margin-left: -22px; opacity: 0.5; position: relative; width: 462px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;left: -22px; position: relative; text-align: center; top: -295px;&quot;&gt;&lt;h1 style=&quot;color:#ff6600;&quot;&gt;New sig of my youngest twins son Gabriel&lt;/h1&gt;&lt;span style=&quot;color: red; font-size: 12px;&quot;&gt;Click image to view full size.&lt;/span&gt;&lt;a href=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Gabriel_sig1_bottomlight.png&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Seb&quot; height=&quot;190px;&quot; src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Gabriel_sig1_bottomlight.png&quot; width=&quot;451px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/8792485378360622893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=8792485378360622893&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8792485378360622893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8792485378360622893'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2012/04/new-sig-of-my-youngest-twins-son.html' title=''/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-8438260709230547555</id><published>2012-04-16T22:43:00.000-05:00</published><updated>2012-04-16T22:43:48.555-05:00</updated><title type='text'></title><content type='html'>&lt;div style=&quot;-moz-opacity: 0.5; background: #fff; border-radius: 16px; filter: alpha(opacity=50); height: 300px; margin-left: -22px; opacity: 0.5; position: relative; width: 462px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;left: -22px; position: relative; text-align: center; top: -295px;&quot;&gt;&lt;h1 style=&quot;color:#ff6600;&quot;&gt;New sig of my oldest twins son Sebastian&lt;/h1&gt;&lt;span style=&quot;color: red; font-size: 12px;&quot;&gt;Click image to view full size.&lt;/span&gt;&lt;a href=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Sebastian_sig1_side_light_75.png&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Seb&quot; height=&quot;190px;&quot; src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Sebastian_sig1_side_light_75.png&quot; width=&quot;451px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/8438260709230547555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=8438260709230547555&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8438260709230547555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/8438260709230547555'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2012/04/new-sig-of-my-oldest-twins-son.html' title=''/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-5375557756843438868</id><published>2012-04-06T22:27:00.001-05:00</published><updated>2012-04-06T23:52:23.295-05:00</updated><title type='text'>Windows God Mode</title><content type='html'>&lt;h2&gt;Windows God Mode&lt;/h2&gt; &lt;div style=&quot;width:420px;height:auto;border-radius:20px;background:#114411;color:white; padding:8px;&quot;&gt;This is nothing new, but it is certainly a secret to most. Windows for years has had a string value from the registry that when appended to the end of a folder name would create a so-called &quot;God Mode&quot;; which, contains a folder view of every select-able Windows option that exists. This is good for developers to have quick access for testing and building purposes, but for me it makes it easier than searching in the control panel and right clicking on anything.&lt;br /&gt;&lt;br /&gt;Here you will find string values to create God Mode settings folders. To create a folder right click on your desktop or any folder and then &quot;New&quot; and then &quot;Folder&quot;. Change the name to whatever you want followed immediately by &quot;.&quot; and one of the string values below. I have create a simple tool for installation &lt;a href=&quot;#god&quot;&gt;below&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Example given: myGodModefolder.{ED7BA470-8E54-465E-825C-99712043E01C}&lt;br /&gt;&lt;br /&gt; The folder will then change to a different icon corresponding to the option type and contain any options of the type.&lt;br /&gt;&lt;br /&gt; Full list:&lt;br /&gt;&lt;br /&gt; Main Gode Mode (all settinsg included):&lt;br /&gt;&lt;ul style=&quot;list-style-image:url(http://i796.photobucket.com/albums/yy242/cuho900/folder-icon.png);&quot;&gt;&lt;li&gt;Gode Mode.{ED7BA470-8E54-465E-825C-99712043E01C}&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt; Specific Modes:&lt;br /&gt;&lt;ul style=&quot;list-style-image:url(http://i796.photobucket.com/albums/yy242/cuho900/folder-icon.png);&quot;&gt;&lt;li&gt;Default Location.{00C6D95F-329C-409a-81D7-C46C66EA7F33}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Biometric Devices.{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Power Plan.{025A5937-A6BE-4686-A844-36FE4BEC8B6D}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Taskbar Notification Icons.{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Windows Vault.{1206F5F1-0569-412C-8FEC-3204630DFB70}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install Program From Network.{15eae92e-f17a-4431-9f28-805e482dafd4}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Default Programs.{17cd9488-1228-4b2f-88ce-4298e93e0966}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;GAC .Net Assemblies.{1D2680C9-0E2A-469d-B787-065558BC7D43}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Wireless Networks.{1FA9085F-25A2-489B-85D4-86326EEDCD87}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Workgroups.{208D2C60-3AEA-1069-A2D7-08002B30309D}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Printers.{2227A280-3AEA-1069-A2DE-08002B30309D}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Remote Access.{241D7C96-F8BF-4F85-B01F-E2B043341A4B}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Windows Firewall.{4026492F-2F69-46B8-B9BF-5654FC07E423}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Nothing.{62D8ED13-C9D0-4CE8-A914-47DD628FB1B0}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Windows Performance Rating.{78F3955E-3B90-4184-BD14-5397C15F1EFC}&lt;br /&gt;&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt; &lt;p&gt;I have created an executable to automatically install one or all of these options to your desktop. Run then file and it will give a brief explanation and present two options: [1] Install God Mode only or [2] Install all options to a God Modes folder. You can then move the files to wherever you like for your convenience.&lt;/p&gt;&lt;p&gt;Download: &lt;a name=&quot;god&quot; href=&quot;http://www.box.com/s/4ff66f2c75b103e7093a&quot; target=&quot;_blank&quot;&gt;Windows God Mode Installer&lt;/a&gt;&lt;/p&gt;    Main Source Info:&lt;br /&gt;&lt;a href=&quot;http://news.cnet.com/8301-13860_3-10426627-56/windows-7-has-lots-of-godmodes-exclusive/&quot; target=&quot;_blank&quot;&gt;http://news.cnet.com/8301-13860_3-10426627-56/windows-7-has-lots-of-godmodes-exclusive/ &lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/5375557756843438868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=5375557756843438868&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5375557756843438868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/5375557756843438868'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2012/04/windows-god-mode.html' title='Windows God Mode'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-1890752665228164788</id><published>2012-04-06T20:25:00.001-05:00</published><updated>2012-04-06T20:29:49.225-05:00</updated><title type='text'>Sebastians 1st video</title><content type='html'>My oldest twin son Seastians first video.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-left:-22px;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;344&quot; src=&quot;http://www.youtube.com/embed/TMt2Fh5sB7U?fs=1&quot; width=&quot;459&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/1890752665228164788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=1890752665228164788&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1890752665228164788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/1890752665228164788'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2012/04/sebastians-1st-video.html' title='Sebastians 1st video'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/TMt2Fh5sB7U/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6302933238343520396.post-673456289303651856</id><published>2012-03-24T15:44:00.004-05:00</published><updated>2012-03-24T15:56:33.763-05:00</updated><title type='text'>Banners for my boys</title><content type='html'>Now that I have had my twins and built them a website I have been in Photoshop lately and have made two new banners for their &lt;a href=&quot;http://theprideboys.co.cc/&quot; target=&quot;_blank&quot;&gt;website&lt;/a&gt;.&lt;br /&gt;Click on images to view larger:&lt;br /&gt;Gabriel:&lt;br /&gt;&lt;a href=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Gabriel_banner.png&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Gabriel_banner.png&quot; alt=&quot;g&quot; width=&quot;420px&quot; height=&quot;auto&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Sebastian:&lt;br /&gt;&lt;a href=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Sebastianl_banner.png&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://i254.photobucket.com/albums/hh119/faithnomoread/Sebastianl_banner.png&quot; alt=&quot;s&quot; width=&quot;420px&quot; height=&quot;auto&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://agnosticmicrocosm.blogspot.com/feeds/673456289303651856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6302933238343520396&amp;postID=673456289303651856&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/673456289303651856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6302933238343520396/posts/default/673456289303651856'/><link rel='alternate' type='text/html' href='http://agnosticmicrocosm.blogspot.com/2012/03/banners-for-my-boys.html' title='Banners for my boys'/><author><name>Ian Pride</name><uri>https://plus.google.com/104135211760805168472</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-yC0wn5wkq6U/AAAAAAAAAAI/AAAAAAAAANo/ZxWoB_T2Vog/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>