You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
I've never worked with AHK before but is something like this possible?
Things work normally as is, but a new property is introduced to the WinPos.txt file where you can assign a hotkey to a specific section which defaults to [Win] + 0.
Something like this (I know the key binding is not the correct syntax):
Then, when you press that key combo it would launch that section's window layout.
Use case:
When you want to have 4 or 5 different layouts for different things and you want to jump between using them without having to manually copy / paste things around in the WinPos.txt file.
Workaround for now:
From what I gathered, the only way to do this now would be to:
Duplicate the current AHK script.
Assign a different key combo for the duplicate script (1 instead of 0 for example for save / restore).
Change WinPos.txt to be uniquely named (append a _1 or something to it).
Do business as usual and pick the layout you want on demand.
That's kind of a lot of duplication!
The text was updated successfully, but these errors were encountered:
I am not sure if it is possible to configure Hotkeys dynamically like this.
One solution would be to reserve multiple keys and store the configuration in separate files, which I believe would be easy.
I will think about it.
Oh, that's a nice idea about pre-registering the keys in the script.
If we go down that route with separate position configs (instead of parsing WinPos.txt), maybe the script could just create WinPos_2.txt, or whatever save invoking key was hit. Then you could at a glance know which position file maps to which key without even looking at the contents of the file.
I've never worked with AHK before but is something like this possible?
Things work normally as is, but a new property is introduced to the
WinPos.txt
file where you can assign a hotkey to a specific section which defaults to [Win] + 0.Something like this (I know the key binding is not the correct syntax):
Then, when you press that key combo it would launch that section's window layout.
Use case:
When you want to have 4 or 5 different layouts for different things and you want to jump between using them without having to manually copy / paste things around in the
WinPos.txt
file.Workaround for now:
From what I gathered, the only way to do this now would be to:
Duplicate the current AHK script.
Assign a different key combo for the duplicate script (1 instead of 0 for example for save / restore).
Change
WinPos.txt
to be uniquely named (append a _1 or something to it).Do business as usual and pick the layout you want on demand.
That's kind of a lot of duplication!
The text was updated successfully, but these errors were encountered: