Search found 9 matches
- 18 Nov 2017, 13:02
- Forum: Ask for Help (v1)
- Topic: Win+1 to 9 keys, only min/max first window, modifier keys for next window
- Replies: 1
- Views: 953
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...
- 17 Nov 2017, 10:41
- Forum: Tutorials (v1)
- Topic: jeeswg's RegEx tutorial (RegExMatch, RegExReplace)
- Replies: 22
- Views: 53324
Re: jeeswg's RegEx tutorial (RegExMatch, RegExReplace)
thanks this was useful
- 16 Nov 2017, 15:46
- Forum: Ask for Help (v1)
- Topic: Wildcard or matching 2 ahk_class
- Replies: 0
- Views: 560
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...
- 08 Nov 2017, 09:55
- Forum: Ask for Help (v1)
- Topic: Clipboard Convert Tabs to Spaces
- Replies: 2
- Views: 1351
Re: Clipboard Convert Tabs to Spaces
I have a working solution now
Press f9 to trigger clipboard changes
Press f9 to trigger clipboard changes
Code: Select all
F9::
clipboard := StrReplace(clipboard, A_Tab, A_Space A_Space)
position := RegExMatch(clipboard, "\S")
test := RegExReplace(clipboard, "m)^[ ]{" . position - 1 . "}")
clipboard := test
- 07 Nov 2017, 13:47
- Forum: Ask for Help (v1)
- Topic: Clipboard Convert Tabs to Spaces
- Replies: 2
- Views: 1351
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 autohotkey to automati...
- 07 Nov 2017, 09:18
- Forum: Ask for Help (v1)
- Topic: Autohotkey to cycle through active program windows
- Replies: 6
- Views: 3099
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 app...
- 06 Nov 2017, 15:29
- Forum: Ask for Help (v1)
- Topic: Autohotkey to cycle through active program windows
- Replies: 6
- Views: 3099
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
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
- 04 Nov 2017, 11:59
- Forum: Ask for Help (v1)
- Topic: Autohotkey to cycle through active program windows
- Replies: 6
- Views: 3099
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
Also I tried out the notepad one its exactly what I want
- 04 Nov 2017, 09:07
- Forum: Ask for Help (v1)
- Topic: Autohotkey to cycle through active program windows
- Replies: 6
- Views: 3099
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 ...