News:

Welcome to our NEW forum! We invite you to sign up today
so it can grow to be a valuable resource to all Toolbox users!

Main Menu

Set your PC volume without clicking the volume icon

Started by Bazza, December 09, 2025, 11:03:25 PM

Previous topic - Next topic

Bazza

Great to finally see an Alomware forum! Been using this wonderful software for a long time now and there's really nothing like it.

Here is my contribution to the contest. It's a simple mathematical action that I've set to a hotkey (F9) that sets the PC's volume level depending on how high the mouse is on my desktop at the time. If the mouse is at the top of the desktop, the volume is 100%. In the middle, 50%. At the bottom, 0%.

Saves me clicking the volume icon in the taskbar to do it, and it's really intuitive once you start using it.

(Start)
TIP: Copy from Start to End to paste into an action.
0001 String: Assign "{=(mousey$*100)/deskh$}"
0002 Computer: Volume is "{=100-string$}"
(End)

Paul (Lead Developer)

Very clever! Thanks for demonstrating the calculation functionality of AlomWare Toolbox's automation. :)

And just so you know: you can omit "string$" altogether and just do it in one step:

(Start)
TIP: Copy from Start to End to paste into an action.
0001 Computer: Volume is "{=100-(mousey$*100)/deskh$}"
(End)

oblivion


Bazza

I just realised today that I can also do this to set the volume level for the active window! Just a slight modification to my original action like this:

(Start)
USE: Copy from Start to End to paste into an action.
SEE: An example image is at alomware.com/paste.png
0001 Action: Allow failure messages "0"
0002 Window: Assign active ""
0003 Window: Volume is "{=100-(mousey$*100)/deskh$}"
(End)