|
DialogDevil
DAIR
New for 2020
Contact 2020 Download Virtual Screen Tour How-To's: Closing a Dialog Chrome shut down |
The DD2 interface is more streamlined than previous with features supported obsolete Windows XP and Vista hidden by default.
SndVol UI automation needs to rely on visual analysis
|
I use Edge to play music and Chrome to do all other browsing. What I would like ideally is a button on my desktop that clicked once mutes Edge (music) and unmutes Chrome (browsing). Click again and again and the mute/unmute states of each browser are toggled. Simply having a straight toggle button is not good enough because the toggle should start with the assumption that music is playing.
OK, so that is the spec for the toggle button. Now, how to go about this? The 3.7 upgrade permits including a screen image capture and processing program. Maybe I could put together a DialogDevil which robo-ran SndVol via active analysis of the user screen. 3.7 allows going in this direction but its implementation is very time consuming.
As a default, the SndVol UI is shown on screen for 8.5 sec and then dismissed. You can easily edit the left_proto file discussed below to change or delete default operation. We may get to DialogDevil being able to do scene analysis someday and click mute/unmute icons but that is future.
What I want is something to put together my music mute/unmute button now, not some distant future. My searching revealed that there is only one realistic foundation for building my mute/unmute toggle: SoundVolumeView from nirsoft.net.
Here is Nirsoft's licensing statement:
This utility [SoundVolumeView] is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this and you don't sell it or distribute it as a part of commercial product. If you distribute this utility, you must include all files in the distribution package, without any modification !I will respect what Nirsoft is entitled to require and do abstain from incorporating SoundVolumeView in our download. You will need to do that as described in instructions for adding SoundVolumeView to DD2 below. I have these changes on my system and now with a single click, I can switch between browsers as sound source.
As distributed, the DD2 icon left click launches SndVol temporarily so you can make mute/unmute changes yourself. Auto switching requires SoundVolumeView.
1. Navigate to
https://www.nirsoft.net/utils/sound_volume_view.html.
Near the bottom of the page, you will see download links for the 32 or 64 bit version. Select one based on your system.
2. Download the zip file and extract all 3 files to the initially empty DialogDevil2/@data/nirsoft directory (circled). 3. If DialogDevil is already running, right click the tray icon and select "exit". 4. Edit the DialogDevil2/@data/clik_bat/left_proto.bat file to add "REM " to the lines in the default section and remove "REM " from the nirsoft section. The image at right shows what the result looks like. |
|