Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
ShodadV
1 discussion post
I've written a scripted function that I use to position windows at various pre-defined locations on the monitor, cycling through various pre-defined sizes, depending on the current location/position.

For convenience, I invoke it with these key Ctrl-Alt combinations:

q w e
a s d
z x c

Each of which selects a monitor corner or adjusts width/height.

The script is complicated enough, and I tweak the pre-defined sizes/positions enough that I don't want to have to copy it 9 times to apply it to each key combination. Currently my approach is to have each key combination call ScriptSettings.WriteValue with the key character, then invoke my WinMgmt script, which calls ScriptSettings.ReadValue to take the appropriate action.

Is there any way to directly connect all 9 of these keypresses to the same script? And to determine in script which key invoked it?

Thanks!
Feb 23, 2021 (modified Feb 23, 2021)  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Unfortunately, this isn't possible.

Sorry I couldn't be of more help!
Feb 26, 2021  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)