I'm trying to set a profile on XXX application that on entry, retrieves a current media volume value, stores it in %BVOLM, then use variable add to %BVOLM by 5. This new value is then assigned %AVOLM After that, I set the media volume to %AVOLM.
On exit, the %AVOLM is cleared, and media volume is set back to %BVOLM.
I managed to do it in some weird way using variable set (%BVOLM to %VOLM, which is counterintuitive). What would be the proper way of obtaining a system-wide tasker variable and storing it?