OS2 World.Com Forum
2012.02.10, 05:11:58
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
OS2 World.Com Forum
>
OS/2 - SIGs
>
Rexx
>
Master Volume with Rexx
Pages: [
1
]
« previous
next »
Print
Author
Topic: Master Volume with Rexx (Read 1669 times)
Fr4nk
Newbie
Posts: 22
Master Volume with Rexx
«
on:
2010.07.02, 16:36:24 »
I'm looking for a solution to set master volume with rexx to build a very individual volume control deluxe utility. .
I already checked the "Master Volume Direct Set Utility" which could be used from command line (and this way by Rexx) but its has an highly annoying fade effect. I need something as snappy as the standard system object. Best would be a Rexx DLL.with rwlated functionality
I checked "Mastervolume XPW Widget" aswell, but it doesn't work on my system.
Any hints?
TIA
Frank
Logged
rudi
Full Member
Posts: 106
Re: Master Volume with Rexx
«
Reply #1 on:
2010.07.02, 17:44:07 »
Event though I hate REXX
Code:
Call RXFUNCADD 'mciRxInit','MCIAPI','mciRxInit'
Call mciRxInit
Call mciRxSendString 'MASTERAUDIO VOLUME 50', 'mciResult', '0', '0'
Logged
Fr4nk
Newbie
Posts: 22
Re: Master Volume with Rexx
«
Reply #2 on:
2010.07.03, 14:14:09 »
It works - thank you!
Do you have some secret documentation for MM-Rexx or where can I find these kind of information regularly?
Onboard MMRexx inf doesn't include "MASTERAUDIO " as a target for commands....
Is it possible to fetch the current mastervolume?
Logged
rudi
Full Member
Posts: 106
Re: Master Volume with Rexx
«
Reply #3 on:
2010.07.03, 16:05:13 »
Do not look in the REXX docs. Search "Multimedia Programming Reference/String Commands/System Commands" (OS/2 Toolkit file MMREF2.INF). The command for retrieving the current value should be: 'MASTERAUDIO QUERY VOLUME'.
Logged
Fr4nk
Newbie
Posts: 22
Re: Master Volume with Rexx
«
Reply #4 on:
2010.07.03, 18:01:55 »
With a "wait" it works. Thanks again.!
"Call mciRxSendString 'MASTERAUDIO QUERY VOLUME WAIT', 'mciResult', '0', '0'"
Logged
Fr4nk
Newbie
Posts: 22
Re: Master Volume with Rexx
«
Reply #5 on:
2010.07.26, 17:23:32 »
Finally I buit a control to replace the old IBM master volume tool.
Its a standalone app using the native IBM slider control in vertical allign instead the circular slider.
It has features like floating on top, changing volume using cursor/pos keys, mute, docking on screen edges, shows volume in window list and last but not least it takes less desktop place than the odd IBM control.. Someoneone out there to give it a try for a early test? Especially I would like to know how it works on screen resolution above 1240x1024 and/or wide screen-, because resizing the control might be a thing to be justified.
Just send me an email to get a test build:
info AT bluetoons DOT de
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
WebSite Information
-----------------------------
=> Article Discussions
=> Comments, Suggestions & Questions
-----------------------------
OS/2 - General
-----------------------------
=> Events
=> Marketplace
=> Polls
-----------------------------
OS/2 - Technical
-----------------------------
=> Applications
=> Communication
=> Games
=> Hardware
=> Internet
=> Mail-News
=> Multimedia
=> Networking
=> Programming
=> Setup & Installation
=> Utilities
=> Web applications
=> Storage
-----------------------------
OS/2 - SIGs
-----------------------------
=> Abandonware
=> CW-Multimedia
=> Doodle's ScreenSaver
=> Emulators
=> Hobbes Archive
=> ODIN
=> OS2 Petition
=> Rexx
=> Security
=> Socket Service
=> USB
=> XFree86
-----------------------------
OS2 World.Com Bounty System
-----------------------------
=> General Discussion
=> Open Bounties
=> Claimed Bounties
=> Development
-----------------------------
User Groups
-----------------------------
=> OS2 User Groups
=> OS2 User Group Denmark
=> OS2 User Group Germany
=> OS2 User Group Sweden
=> OS2 User Group Southern Europe
-----------------------------
Public Discussions
-----------------------------
=> General Advertisements
=> General Discussion
=> Off Topic discussions
Loading...