Revised README

+ fixed bug in doc
+ included A_OSVersion = "WIN_8.1"
This commit is contained in:
joten 2015-03-07 18:57:07 +01:00
parent 7d74dd4fe5
commit 27ee9d24bd
5 changed files with 76 additions and 76 deletions

View File

@ -15,13 +15,12 @@ add-on for Microsoft Windows. It is written in the scripting language
without you having to care about moving them all by mouse without you having to care about moving them all by mouse
* Increase the available screen estate by hiding and therewith freeing up the * Increase the available screen estate by hiding and therewith freeing up the
space occupied by the Microsoft Windows Taskbar and the title bar for every space occupied by the Microsoft Windows Taskbar and the title bar for every
single window single window and replacing all with a single slim status bar (-- but bug.n
* and replacing all with a single slim status bar (-- but bug.n is not a shell is not a shell replacement)
replacement)
* Show window management information in the status bar: active window title, * Show window management information in the status bar: active window title,
active layout, overview of the views used active layout, overview of the views used
* Show system information in the status bar: time and date, CPU and memory * Show system information in the status bar: time and date, CPU and memory
usage, disk and network load, battery level usage, disk and network load, battery and volume level
* Store your settings, i. e. which windows and layout were set on a specific * Store your settings, i. e. which windows and layout were set on a specific
view view
* Support multiple monitors * Support multiple monitors
@ -49,7 +48,7 @@ add-on for Microsoft Windows. It is written in the scripting language
### Installing and running bug.n ### Installing and running bug.n
#### Requirements ##### Requirements
* Microsoft Windows 2000 or higher * Microsoft Windows 2000 or higher
* [AutoHotkey](http://ahkscript.org/download/) 1.1.10 or higher (if running * [AutoHotkey](http://ahkscript.org/download/) 1.1.10 or higher (if running
@ -67,22 +66,20 @@ There is no installation process for bug.n. Unpack the `zip` file, and you
should be able to run either the executable as it is or the main script should be able to run either the executable as it is or the main script
(`src\Main.ahk`) with [AutoHotkey](http://ahkscript.org/download/). (`src\Main.ahk`) with [AutoHotkey](http://ahkscript.org/download/).
By default bug.n stores the session data (configuration, layout, window states ### Documentation
and log) to the user's APPDATA directory, e. g.
`C:\Users\joten\AppData\Roaming\bug.n`.
Please see the [documentation](./doc) or the Please see the [documentation](./doc) for more information on
[Wiki](https://github.com/fuhsjr00/bug.n/wiki) for more information on [installing and running](./doc/Installing_and_running.md),
installing and running, customizing and using bug.n and for a list of changes [customizing](./doc/Customization.md) and [using](./doc/Usage.md) bug.n and for
made with the current version, in particular the changes in the user interface a list of [changes](./doc/CHANGES.md) made with the current version, in
(configuration variables and hotkeys). particular the changes in the user interface
([configuration variables](./doc/Default_configuration.md) and
[hotkeys](./doc/Default_hotkeys.md)).
Please see the [CREDITS file](./doc/CREDITS.md) for a list of people and projects,
which contributed to bug.n.
### License ### License
bug.n is licensed under the GNU General Public License version 3. Please see bug.n is licensed under the GNU General Public License version 3. Please see
the [LICENSE file](./LICENSE.md) for the full license text. the [LICENSE file](./LICENSE.md) for the full license text.
### Credits
Please see the [CREDITS file](./doc/CREDITS.md) for a list of people and projects,
which contributed to bug.n.

BIN
bugn.exe

Binary file not shown.

View File

@ -22,63 +22,66 @@ not implement the functionality: `Monitor_toggleWindowTag`, `View_activateWindow
called with the window ID as a paramater, when applying the rule. called with the window ID as a paramater, when applying the rule.
8. `~` Revised the default rule set. 8. `~` Revised the default rule set.
9. `+` Added the possibility for sending commands to bug.n from another AutoHotkey script. 9. `+` Added the possibility for sending commands to bug.n from another AutoHotkey script.
10. `~` Removed the function `Main_reload` and reassigned the hotkey.
| # | Configuration variables | `-` Hotkey functions | `+` Hotkey functions | | # | Configuration variables | `-` Hotkey functions | `+` Hotkey functions |
| --:| ------------------------- | --------------------------------------- | ----------------------------------------------------- | | ---:| ------------------------- | --------------------------------------- | ----------------------------------------------------- |
| 1. | | `#+d::Manager_toggleDecor()` | `#+d::Window_toggleDecor()` | | 1. | | `#+d::Manager_toggleDecor()` | `#+d::Window_toggleDecor()` |
| 2. | | `#+f::View_toggleFloating()` | `#+f::View_toggleFloatingWindow()` | | 2. | | `#+f::View_toggleFloating()` | `#+f::View_toggleFloatingWindow()` |
| 3. | | `#Left::View_setMFactor(-0.05)` | `#Left::View_setLayoutProperty("MFactor", 0, -0.05)` | | 3. | | `#Left::View_setMFactor(-0.05)` | `#Left::View_setLayoutProperty("MFactor", 0, -0.05)` |
| | | `#Right::View_setMFactor(+0.05)` | `#Right::View_setLayoutProperty("MFactor", 0, +0.05)` | | | | `#Right::View_setMFactor(+0.05)` | `#Right::View_setLayoutProperty("MFactor", 0, +0.05)` |
| | | `#^t::View_rotateLayoutAxis(1, +1)` | `#^t::View_setLayoutProperty("Axis", 0, +1, 1)` | | | | `#^t::View_rotateLayoutAxis(1, +1)` | `#^t::View_setLayoutProperty("Axis", 0, +1, 1)` |
| | | `#^Enter::View_rotateLayoutAxis(1, +2)` | `#^Enter::View_setLayoutProperty("Axis", 0, +2, 1)` | | | | `#^Enter::View_rotateLayoutAxis(1, +2)` | `#^Enter::View_setLayoutProperty("Axis", 0, +2, 1)` |
| | | `#^Tab::View_rotateLayoutAxis(2, +1)` | `#^Tab::View_setLayoutProperty("Axis", 0, +1, 2)` | | | | `#^Tab::View_rotateLayoutAxis(2, +1)` | `#^Tab::View_setLayoutProperty("Axis", 0, +1, 2)` |
| | | `#^+Tab::View_rotateLayoutAxis(3, +1)` | `#^+Tab::View_setLayoutProperty("Axis", 0, +1, 3)` | | | | `#^+Tab::View_rotateLayoutAxis(3, +1)` | `#^+Tab::View_setLayoutProperty("Axis", 0, +1, 3)` |
| | | `#^Up::View_setMY(+1)` | `#^Up::View_setLayoutProperty("MY", 0, +1)` | | | | `#^Up::View_setMY(+1)` | `#^Up::View_setLayoutProperty("MY", 0, +1)` |
| | | `#^Down::View_setMY(-1)` | `#^Down::View_setLayoutProperty("MY", 0, -1)` | | | | `#^Down::View_setMY(-1)` | `#^Down::View_setLayoutProperty("MY", 0, -1)` |
| | | `#^Right::View_setMX(+1)` | `#^Right::View_setLayoutProperty("MX", 0, +1)` | | | | `#^Right::View_setMX(+1)` | `#^Right::View_setLayoutProperty("MX", 0, +1)` |
| | | `#^Left::View_setMX(-1)` | `#^Left::View_setLayoutProperty("MX", 0, -1)` | | | | `#^Left::View_setMX(-1)` | `#^Left::View_setLayoutProperty("MX", 0, -1)` |
| | | `#+Left::View_setGapWidth(-2)` | `#+Left::View_setLayoutProperty("GapWidth", 0, -2)` | | | | `#+Left::View_setGapWidth(-2)` | `#+Left::View_setLayoutProperty("GapWidth", 0, -2)` |
| | | `#+Right::View_setGapWidth(+2)` | `#+Right::View_setLayoutProperty("GapWidth", 0, +2)` | | | | `#+Right::View_setGapWidth(+2)` | `#+Right::View_setLayoutProperty("GapWidth", 0, +2)` |
| 4. | | `#^d::Debug_setLogLevel(-1)` | `#^d::Debug_setLogLevel(0, -1)` | | 4. | | `#^d::Debug_setLogLevel(-1)` | `#^d::Debug_setLogLevel(0, -1)` |
| | | `#^+d::Debug_setLogLevel(+1)` | `#^+d::Debug_setLogLevel(0, +1)` | | | | `#^+d::Debug_setLogLevel(+1)` | `#^+d::Debug_setLogLevel(0, +1)` |
| | | `#+Down::View_shuffleWindow(+1)` | `#+Down::View_shuffleWindow(0, +1)` | | | | `#+Down::View_shuffleWindow(+1)` | `#+Down::View_shuffleWindow(0, +1)` |
| | | `#+Up::View_shuffleWindow(-1)` | `#+Up::View_shuffleWindow(0, -1)` | | | | `#+Up::View_shuffleWindow(-1)` | `#+Up::View_shuffleWindow(0, -1)` |
| | | `#+Enter::View_shuffleWindow(0)` | `#+Enter::View_shuffleWindow(1)` | | | | `#+Enter::View_shuffleWindow(0)` | `#+Enter::View_shuffleWindow(1)` |
| | | `#+0::Monitor_setWindowTag(0)` | `#+0::Monitor_setWindowTag(10)` | | | | `#+0::Monitor_setWindowTag(0)` | `#+0::Monitor_setWindowTag(10)` |
| | | `#.::Manager_activateMonitor(+1)` | `#.::Manager_activateMonitor(0, +1)` | | | | `#.::Manager_activateMonitor(+1)` | `#.::Manager_activateMonitor(0, +1)` |
| | | `#,::Manager_activateMonitor(-1)` | `#,::Manager_activateMonitor(0, -1)` | | | | `#,::Manager_activateMonitor(-1)` | `#,::Manager_activateMonitor(0, -1)` |
| | | `#+.::Manager_setWindowMonitor(+1)` | `#+.::Manager_setWindowMonitor(0, +1)` | | | | `#+.::Manager_setWindowMonitor(+1)` | `#+.::Manager_setWindowMonitor(0, +1)` |
| | | `#+,::Manager_setWindowMonitor(-1)` | `#+,::Manager_setWindowMonitor(0, -1)` | | | | `#+,::Manager_setWindowMonitor(-1)` | `#+,::Manager_setWindowMonitor(0, -1)` |
| | | `#^+.::Manager_setViewMonitor(+1)` | `#^+.::Manager_setViewMonitor(0, +1)` | | | | `#^+.::Manager_setViewMonitor(+1)` | `#^+.::Manager_setViewMonitor(0, +1)` |
| | | `#^+,::Manager_setViewMonitor(-1)` | `#^+,::Manager_setViewMonitor(0, -1)` | | | | `#^+,::Manager_setViewMonitor(-1)` | `#^+,::Manager_setViewMonitor(0, -1)` |
| 5. | | `#Down::View_activateWindow(+1)` | `#Down::View_activateWindow(0, +1)` | | 5. | | `#Down::View_activateWindow(+1)` | `#Down::View_activateWindow(0, +1)` |
| | | `#Up::View_activateWindow(-1)` | `#Up::View_activateWindow(0, -1)` | | | | `#Up::View_activateWindow(-1)` | `#Up::View_activateWindow(0, -1)` |
| 6. | `-` `Config_normBgColor` | | | | 6. | `-` `Config_normBgColor` | | |
| | `-` `Config_normFgColor` | | | | | `-` `Config_normFgColor` | | |
| | `-` `Config_selBgColor` | | | | | `-` `Config_selBgColor` | | |
| | `-` `Config_selFgColor` | | | | | `-` `Config_selFgColor` | | |
| | `+` `Config_backColor_#1` | | | | | `+` `Config_backColor_#1` | | |
| | `+` `Config_backColor_#2` | | | | | `+` `Config_backColor_#2` | | |
| | `+` `Config_backColor_#3` | | | | | `+` `Config_backColor_#3` | | |
| | `+` `Config_foreColor_#1` | | | | | `+` `Config_foreColor_#1` | | |
| | `+` `Config_foreColor_#2` | | | | | `+` `Config_foreColor_#2` | | |
| | `+` `Config_foreColor_#3` | | | | | `+` `Config_foreColor_#3` | | |
| | `+` `Config_fontColor_#1` | | | | | `+` `Config_fontColor_#1` | | |
| | `+` `Config_fontColor_#2` | | | | | `+` `Config_fontColor_#2` | | |
| | `+` `Config_fontColor_#3` | | | | | `+` `Config_fontColor_#3` | | |
| 7. | `~` `Config_rule_#2` | | | | 7. | `~` `Config_rule_#2` | | |
| 8. | `~` `Config_rule_#3` | | | | 8. | `~` `Config_rule_#3` | | |
| | `~` `Config_rule_#4` | | | | | `~` `Config_rule_#4` | | |
| | `~` `Config_rule_#7` | | | | | `~` `Config_rule_#7` | | |
| | `~` `Config_rule_#9` | | | | | `~` `Config_rule_#9` | | |
| | `~` `Config_rule_#10` | | | | | `~` `Config_rule_#10` | | |
| | `~` `Config_rule_#11` | | | | | `~` `Config_rule_#11` | | |
| | `~` `Config_rule_#12` | | | | | `~` `Config_rule_#12` | | |
| | `+` `Config_rule_#13` | | | | | `+` `Config_rule_#13` | | |
| | `+` `Config_rule_#14` | | | | | `+` `Config_rule_#14` | | |
| | `+` `Config_rule_#15` | | | | | `+` `Config_rule_#15` | | |
| | `+` `Config_rule_#16` | | | | | `+` `Config_rule_#16` | | |
| | `+` `Config_rule_#17` | | | | | `+` `Config_rule_#17` | | |
| 10. | | `#^r::Main_reload()` | |
| | | `#^+r::Reload` | `#^r::Reload` |
### 8.4.0 ### 8.4.0

View File

@ -268,7 +268,7 @@ in a multi-monitor environment.
`#^s::Config_UI_saveSession()` `#^s::Config_UI_saveSession()`
> Save the current state of monitors, views, layouts to the configuration file. > Save the current state of monitors, views, layouts to the configuration file.
`#^+r::Reload` `#^r::Reload`
> Reload bug.n (i. e. the whole script), which resets i. a. the configuration > Reload bug.n (i. e. the whole script), which resets i. a. the configuration
and internal variables of bug.n, including the window lists. It is like and internal variables of bug.n, including the window lists. It is like
Quitting and restarting bug.n. Quitting and restarting bug.n.

View File

@ -1107,7 +1107,7 @@ Manager_winActivate(wndId) {
Manager_setCursor(wndId) Manager_setCursor(wndId)
Debug_logMessage("DEBUG[1] Activating window: " wndId, 1) Debug_logMessage("DEBUG[1] Activating window: " wndId, 1)
If Not wndId { If Not wndId {
If (A_OSVersion = "WIN_8") If (A_OSVersion = "WIN_8" Or A_OSVersion = "WIN_8.1")
WinGet, wndId, ID, ahk_class WorkerW WinGet, wndId, ID, ahk_class WorkerW
Else Else
WinGet, wndId, ID, Program Manager ahk_class Progman WinGet, wndId, ID, Program Manager ahk_class Progman