tremara1 Active Member Licensed User Longtime User May 27, 2018 #1 In b4j is there a way to change the media volume from an app??....Maybe could be by sending keystroke for the vol+ and vol- buttons.....Thanks everyone......
In b4j is there a way to change the media volume from an app??....Maybe could be by sending keystroke for the vol+ and vol- buttons.....Thanks everyone......
Daestrum Expert Licensed User Longtime User May 27, 2018 #2 Is this for Javafx Mediaplayer ? If so it has a volume method where 0 = muted and 1 = full volume. ie, Code: Copy myMediaPlayer.Volume = 0.0 ' muted myMediaPlayer.Volume = 0.5 ' half volume myMediaPlayer.Volume = 1.0 ' full volume Upvote 0
Is this for Javafx Mediaplayer ? If so it has a volume method where 0 = muted and 1 = full volume. ie, Code: Copy myMediaPlayer.Volume = 0.0 ' muted myMediaPlayer.Volume = 0.5 ' half volume myMediaPlayer.Volume = 1.0 ' full volume
tremara1 Active Member Licensed User Longtime User May 28, 2018 #3 Thanks.....my bad though, I meant system media volume........ Upvote 0
tremara1 Active Member Licensed User Longtime User May 31, 2018 #4 I have been trying different things I tried using jAWTRobot RobotSingleStrikeKeyCode(174)..should be volume down... but it errors code "Invalid KeyCode. I guess because it is a special key or modifier. Is there another way to send this keystroke??....thanks. Upvote 0
I have been trying different things I tried using jAWTRobot RobotSingleStrikeKeyCode(174)..should be volume down... but it errors code "Invalid KeyCode. I guess because it is a special key or modifier. Is there another way to send this keystroke??....thanks.