View Full Version : Need help with holding down button please
mikehende
April 7th, 2004, 06:08 PM
My multimedia player has a "mute" button but it is not a "toggle" button meaning you have to press the button and keep it pressed to mute the sound,only when you release the button that the sound continues.Is it possible to build a macro for a keyboard key to emulate the function of the mute button?Meaning,I want to press a key on my keyboard that will hold down the mute bottun in my player and only when I release the key in my keyboard then the mute button also releases,is this possible?If so,can I get instructions on how to do it please?Thanks,Mike.
Promixis
April 7th, 2004, 08:24 PM
Hm, strange media player....
I guess you could have Girder send continuous events to the player. But, you can't create a simple loop as this will bog down the system. You might be able to use the alarmtimer to generate an event every 500ms to press the mute button. your would have a keypress start and stop the timer.
mikehende
April 8th, 2004, 01:09 PM
ok Mike,please allow me to explain this in another way,what I want is to have a hotkey on the keyboard emulate the "left-click" of the mouse BUT with the left-click being held down.Say you have a virtual spinning turntable and you use the left-click of the mouse to stop the turntable from spinning and when you release the mouse's left button the turntable starts spinning again.I want to press a key on the keyboard and hold it down to stop the turntable and when I release the key the turntable spins again,is this possible?If so,how please?
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.