Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
how can i emulate keystroke keyboard.volumeup??
-
yakovyarmo
- Posts: 18
- Joined: Mon Jul 27, 2009 12:01 am
how can i emulate keystroke keyboard.volumeup??
is it doable??
Re: how can i emulate keystroke keyboard.volumeup??
hi,
looking at the plugin's help it looks like it is not possible:
You could always use the "Set master volume" action.
looking at the plugin's help it looks like it is not possible:
Code: Select all
{Ctrl} or {Control}
{Shift}
{Alt}
{Return} or {Enter}
{Back} or {Backspace}
{Tab} or {Tabulator}
{Esc} or {Escape}
{Spc} or {Space}
{Up}
{Down}
{Left}
{Right}
{PgUp} or {PageUp}
{PgDown} or {PageDown}
{Home}
{End}
{Ins} or {Insert}
{Del} or {Delete}
{Pause}
{Capslock}
{Numlock}
{Scrolllock}
{F1}, {F2}, ... , {F24}
{Apps} (This is the context-menu-key)
These will emulate keys from the numpad:
{Divide}
{Multiply}
{Subtract}
{Add}
{Decimal}
{Numpad0}, {Numpad1}, ... , {Numpad9} -
yakovyarmo
- Posts: 18
- Joined: Mon Jul 27, 2009 12:01 am
Re: how can i emulate keystroke keyboard.volumeup??
but when i use the keyboard.volumeup there is an osd display. anybody as an idea how can i see it without the keyboard.volumeup?
Re: how can i emulate keystroke keyboard.volumeup??
Try this one.. (copy&paste into EG)
-jinxdone
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="918">
<Macro Name="Python Script" Expanded="True">
<Action Name="VolumeMute">
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(173,0,0,0)\nwin32api.keybd_event(173,0,2,0)')
</Action>
<Action Name="VolumeDown">
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(174,0,0,0)\nwin32api.keybd_event(174,0,2,0)')
</Action>
<Action Name="VolumeUp">
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(175,0,0,0)\nwin32api.keybd_event(175,0,2,0)')
</Action>
</Macro>
</EventGhost>-
yakovyarmo
- Posts: 18
- Joined: Mon Jul 27, 2009 12:01 am
Re: how can i emulate keystroke keyboard.volumeup??
it works but for some strange reason i cant see the osd. i have an hp laptop. maybe these help??
Re: how can i emulate keystroke keyboard.volumeup??
I was hoping that it would trigger the OSD as well, but apparently it did not. The OSD you are talking about comes from some of the HP programs, it's not a native windows feature. I really don't know what you should do to trigger it since the earlier thing I suggested did not work.
Most people just use the EG's built-in sound/volume actions. I think it's very likely that we will have an graphical OSD plugin at some point in the future with which you can have a volume bar and other graphics generated by EG. But until then, sorry..
-jinxdone
Most people just use the EG's built-in sound/volume actions. I think it's very likely that we will have an graphical OSD plugin at some point in the future with which you can have a volume bar and other graphics generated by EG. But until then, sorry..
-jinxdone