klomb's Scripts (09/20/17)

Post your working scripts, libraries and tools
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (05/27/15) (new multimonitor support!)

28 May 2015, 15:40

BGM wrote:I wish I could hold the win key whilst scrolling and increase scrolling by x4 or x5.
or push win+shift to scroll to the top or bottom.

The Software scroll mode has a fastscroll toggle in the tray menu, I'll see about making it faster and adding a hotkey for it. :)
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (05/27/15) (new multimonitor support!)

28 May 2015, 17:29

Ok, just updated it, there are now 2 more options in the ini file,
iFASTSCROLLMODIFIER and iFASTSCROLLKEY
iFASTSCROLLMODIFIER can be a number 1 to 10, this is the number of times it should scroll additionally.
iFASTSCROLLKEY can be a key from the list here: http://ahkscript.org/docs/KeyList.htm any modifier symbols must be at the beginning, some keys may not work. leave it blank to disable hotkey. The scroll hotkey will only work when fastscroll is enabled. Toggling Fastscroll in the tray while no hotkey is present will still enable it.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
BGM
Posts: 366
Joined: 20 Nov 2013, 20:56
GitHub: bgmCoder
Contact:

Re: klomb's Scripts (05/27/15) (new multimonitor support!)

28 May 2015, 21:48

Mr. Kuroi, I ran that script with AutoHotkey 1.1.22.00 Unicode on Windows 7 Pro x64
I think it should prompt the user to set the key or at least provide a default.

But I set the key in the ini file to # and it works! Super fast with #+mousewheel!

---------------------------
ScrollAnywhere.ahk
---------------------------
Error: "ERROR" is not a valid key name.

Line#
076: Menu,Tray,Enable,Native+Activate
077: Menu,Tray,Enable,Fast Scroll
078: Hotkey,WheelUp,%sna_up%,Off
079: Hotkey,WheelDown,%sna_down%,Off
080: Hotkey,~WheelUp,NativeAndActivate,Off
081: Hotkey,~WheelDown,NativeAndActivate,Off
082: if (FastScrollKey != "")
---> 083: Hotkey,%FastScrollKey%,FastScrollPress,Off
085: if (SCROLLMODE = 0)
085: {
086: Menu,Tray,Disable,Off
087: Menu,Tray,Disable,Fast Scroll
088: }
088: Else
088: if (SCROLLMODE = 1)

The current thread will exit.
---------------------------
OK
---------------------------
User avatar
BGM
Posts: 366
Joined: 20 Nov 2013, 20:56
GitHub: bgmCoder
Contact:

Re: klomb's Scripts (05/27/15) (new multimonitor support!)

28 May 2015, 21:54

the tray menu for the ahk script doesn't work right. I think the check marks are not showing properly.
When I click on one item others get grayed out, but I can't tell what is happening.

screenshot_Microsoft® Windows® Operating System (Windows Explorer) [explorer]_005.png
screenshot_Microsoft® Windows® Operating System (Windows Explorer) [explorer]_005.png (4.52 KiB) Viewed 3058 times


And with the speedscroll, when I scroll over one window, it speed-scrolls the previous window. (I'm using 3 monitors)
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (05/27/15) (new multimonitor support!)

29 May 2015, 02:00

Spoiler

Set it to LWin or RWin instead, the setting needs a keyname to work right. I'll try to make it more tolerant later.

Spoiler

Grayed out means the setting is enabled (being used), only Fast Scroll has a check mark since its toggle-able.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (06/01/15) (new scripts; +32bit builds)

01 Jun 2015, 22:19

added my buildscript and most of my other personal scripts, also added 32bit builds to downloads for main scripts.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (06/24/15)

24 Jun 2015, 23:29

Updated AHKDocker 150624.211842, should be a little more game/fullscreen application friendly.
:salute:
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (07/12/15)

27 Jul 2015, 23:58

sorry I haven't updated these; recently had a software mess up causing me to lose my un-pushed commits. :sick:
Anyways pushed a small update for ScrollAnywhere and AHKDocker: cleaned up ini code, added new startup entry creation (will ask on when you run it), added custom icon check (will make my own icons later). also fixed a bug with ahkdocker causing it to self-disable on the desktop. (NOTE: All ini files should be deleted to prevent any problems (hopefully just this once))
I Will update my other scripts later once I've rewritten the lost changes.
:salute:
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (07/12/15)

09 Oct 2015, 04:29

Hey everyone, been a while. :wave:
I just uploaded a new script(I'm sure someones already made something like this), frontandcenter, added to the OP. It will get a proper description on bitbucket later;
It shouldn't be too hard to figure out how it works- whenever a new window opens up it will move and center it to the monitor that the mouse is in, if its already in this monitor it is ignored.

You can also add custom rules to the ruleset.txt file in the form of type|filtertext|monitor heres a (maybe)better description of the rules:
type can be one of the follow strings:
  • class this will try to match the filtertext to the class of any new windows, this is case-sensitive.
  • exe this will match to the executable name, including the extension, this is not case-sensitive.
  • title this will match to the title of the window, this is case-sensitive.
filtertext is the string to match against and monitor can be 0 or any non-negative number, this will move the matched window to that monitor, (this still needs error-checking so don't put something goofy)
There are already some examples in the default ruleset.txt.

I'll also be pushing some updates for my other scripts in the next few days when I find the time, so check back. :salute:
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
joedf
Posts: 5819
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: klomb's Scripts (07/12/15)

09 Oct 2015, 07:11

Always glad to see a user active again :)
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (07/12/15)

09 Oct 2015, 17:39

joedf wrote:Always glad to see a user active again :)

Thanks!

Just updated frontandcenter, adding the needed error-checking, and a default ruleset.txt file will be created if it doesn't exist;
I've also added another param to the rules, ititle same as title but case-insensitive and added a readme to the bitbucket page.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (10/10/15)

10 Oct 2015, 20:59

Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
iPhilip
Posts: 197
Joined: 02 Oct 2013, 12:21

Re: klomb's Scripts (10/10/15)

21 Oct 2015, 19:22

I am interested in AHKDocker. Where can I download the startupshortcut.ahk file? Thank you.
Windows 7 Pro (64 bit) - AutoHotkey v1.1+ (Unicode 32-bit)
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (10/10/15)

21 Oct 2015, 22:38

Oh oops looks like I forgot to add it during commit, its up there now thanks for letting me know.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
iPhilip
Posts: 197
Joined: 02 Oct 2013, 12:21

Re: klomb's Scripts (10/21/15)

21 Oct 2015, 23:48

Thank you! I look forward to trying it out.
Windows 7 Pro (64 bit) - AutoHotkey v1.1+ (Unicode 32-bit)
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (10/21/15)

22 Nov 2015, 20:20

@anyone interested
Been doing a rewrite of my personal scripts (wip), will be re-adding as many scripts to them as I can as I go, check them out in the sub-directories (./apps/ | ./libs/).

EDIT: Just fixed a bug with AHKDocker causing windows to stay topmost after being undocked, (rewrote LockWindow, should be more reliable and less hackish).
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (11/22/15)

03 Dec 2015, 23:35

updated frontandcenter, rewrote the mainloop, simplified the rule-set error-checking and built-in filter, and added a more complete description of filter rules included in the ruleset.txt file itself and added ability to always force a window to the preferred location.
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
User avatar
KuroiLight
Posts: 184
Joined: 12 Apr 2015, 20:24
GitHub: KuroiLight

Re: klomb's Scripts (12/03/15)

03 Jan 2016, 15:49

update commit and push for frontandcenter 1.07 - fixing monitor number read, lazy init of a windows data and various minor changes
Windows 10, Ryzen 1600, 16GB G.Skill DDR4, 8GB RX 480 | [MyScripts][MySublimeSettings] [Unlicense][MIT License]
SparQx

Re: klomb's Scripts

29 Apr 2017, 12:54

Sleek script! Super useful and will no doubt include this amongst those I use personally and/or reference for inspiration for years to come!

KuroiLight wrote:
boiler wrote:
KuroiLight wrote:95 views and few downloads later, no comments, suggestions, or bug reports yet?
(not that this is a problem)

My suggestion is to provide some screen shots. I'm sure it's useful, but it's hard to understand what the benefits are from the description, for me anyway.


I'm not really sure screenshots would help either, since there isn't really anything to show visually, I'll see what I can come up with though. :crazy:


Very glad that you took the keen advice there as a typed description wouldn't do this justice, nor would you have captured my interest enough so quickly that I digressed from my mission for a moment to give your script a whirl and be so impressed! Bravo! :bravo:
BreakTheWind
Posts: 6
Joined: 19 May 2017, 04:14

Re: klomb's Scripts (01/03/16)

21 May 2017, 03:36

Can you add an option to disable middle click centering as it's making the script unusable for me, please?
Also an option to hide the icon.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Alien97pl, dashunbaba and 13 guests