Search found 9 matches

by Kagerjay
18 Nov 2017, 13:02
Forum: Ask For Help
Topic: Win+1 to 9 keys, only min/max first window, modifier keys for next window
Replies: 1
Views: 86

Win+1 to 9 keys, only min/max first window, modifier keys for next window

I use win+1, win+2, win+3, win+4 ..... win+9 keys fairly frequently Is there a way to have an autohotkey to do the following? Say I have chrome in position 9 on my taskbar. If chrome has 3 windows 1.WIN+9 only maximizes / minimizes 1st window in stack 2. SHIFT+WIN+9 maximizes / minimizes only the 2n...
by Kagerjay
17 Nov 2017, 10:41
Forum: Tutorials
Topic: jeeswg's RegEx tutorial (RegExMatch, RegExReplace)
Replies: 9
Views: 10683

Re: jeeswg's RegEx tutorial (RegExMatch, RegExReplace)

thanks this was useful
by Kagerjay
16 Nov 2017, 15:46
Forum: Ask For Help
Topic: Wildcard or matching 2 ahk_class
Replies: 0
Views: 73

Wildcard or matching 2 ahk_class

I used winspy to grab an ahk_class for my autohotkey macro. Sometimes that application has 2+ ahk_classes associated with that program Example: HwndWrapper[program.exe;;1111-1111] HwndWrapper[program.exe;;2222-2222] How can I use winNotExist to simply just match both names? Or perhaps use a `||`, `O...
by Kagerjay
08 Nov 2017, 09:55
Forum: Ask For Help
Topic: Clipboard Convert Tabs to Spaces
Replies: 2
Views: 116

Re: Clipboard Convert Tabs to Spaces

I have a working solution now :) Press f9 to trigger clipboard changes F9:: clipboard := StrReplace(clipboard, A_Tab, A_Space A_Space) position := RegExMatch(clipboard, "\S") test := RegExReplace(clipboard, "m)^[ ]{" . position - 1 . "}") clipboard := test
by Kagerjay
07 Nov 2017, 13:47
Forum: Ask For Help
Topic: Clipboard Convert Tabs to Spaces
Replies: 2
Views: 116

Clipboard Convert Tabs to Spaces

I have a snippet of code I copied into my clipboard. Pasting it out looks like this. Where[tab] is an actual tab indent [tab]<header id="masthead" class="site-header"> [tab][tab]<h1> [tab][tab][tab]<h2> [tab][tab][tab][tab]<h3> [tab][tab][tab][tab][tab]<h4>; I want to press an au...
by Kagerjay
07 Nov 2017, 09:18
Forum: Ask For Help
Topic: Autohotkey to cycle through active program windows
Replies: 6
Views: 319

Re: Autohotkey to cycle through active program windows

I'll have to play around with regex and autohotkey later. I'm not actually entirely sure how & where autohotkey knows where the .exe file lives at though. Back to the original script, I tried making this script work for directory Opus app https://www.gpsoft.com.au/ . It doesn't cycle through the...
by Kagerjay
06 Nov 2017, 15:29
Forum: Ask For Help
Topic: Autohotkey to cycle through active program windows
Replies: 6
Views: 319

Re: Autohotkey to cycle through active program windows

by the way, is there a way to have wild card exe names

Some programs .exe files have version numbers on them

for instance, phpstorm is "PhpStorm-2017.2.4.exe"

Was wondering if there's an all encompassing names to work with any "phpstorm-version#.exe" filetypes
by Kagerjay
04 Nov 2017, 11:59
Forum: Ask For Help
Topic: Autohotkey to cycle through active program windows
Replies: 6
Views: 319

Re: Autohotkey to cycle through active program windows

by the way, on the topic of firefox and thunderbird. How does google chrome and google chromium differentiation work? (both use chrome.exe as their default names, possibly same AHK_Class as well)

Also I tried out the notepad one its exactly what I want :)
by Kagerjay
04 Nov 2017, 09:07
Forum: Ask For Help
Topic: Autohotkey to cycle through active program windows
Replies: 6
Views: 319

Autohotkey to cycle through active program windows

I have this autohotkey file. When I press F2, it toggles through any windows explorer tabs I have open and keeps it in focus / sends it to the top. If no file explorer windows are open, it opens one up https://i.stack.imgur.com/KqQJ4.gif F2:: IfWinNotExist, ahk_class CabinetWClass Run, explorer.exe ...

Go to advanced search