简体   繁体   中英

Change Windows Master Volume Java

im actually trying to figure out how i can set the System Master Volume in Windows 7/Vista.

Using javax.sound wont work cause of the new line system of Windows. So i got 2 other options but dont know how to do this.

First option is sending a Media Key like "VK_VOLUME_UP", but the Media Keys arent listed as KeyEvent in java.awt.KeyEvent. Is it possible to add an new key?

Second but worst option is using and command line tool written in another language to set System Volume, but i dont like this option.

can somebody help me out?

regards maefju

下载此独立应用程序: http : //www.desktopapps.co.uk/audioApp.php,然后使用volup参数启动程序。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM