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.

Search found 16 matches

by Kindt.nick
Tue Jan 24, 2012 10:28 pm
Forum: Plugin Support
Topic: SoundGraph iMON HID plugin
Replies: 103
Views: 55015

Re: SoundGraph iMON HID plugin

Allright!

For now I don't really need to reconfigure those hid buttons, but still, it might come in handy in the future.
We'll be waiting!

Nick
by Kindt.nick
Mon Jan 23, 2012 2:57 pm
Forum: Plugin Support
Topic: SoundGraph iMON HID plugin
Replies: 103
Views: 55015

Re: SoundGraph iMON HID plugin

I actually already wrote this one a system tray application that sends all the received commands to eventghost.
It is based on the iMON API.

There"s only one limitation and that is hardware which uses a hid driver for the arrow keys and numkeys is non configurable and I can't seem to get the ...
by Kindt.nick
Fri Jan 20, 2012 4:09 pm
Forum: Coding Corner
Topic: Using C# and Visual Basic.net
Replies: 1
Views: 2970

Re: Using C# and Visual Basic.net

This one came in handy, thx!
by Kindt.nick
Wed Jan 20, 2010 9:00 pm
Forum: Coding Corner
Topic: HowTo? Control line-in volume/mute via the SoundMixer.py
Replies: 1
Views: 1813

Re: HowTo? Control line-in volume/mute via the SoundMixer.py

Ok,

Appaerently I found it by myself, although I think there is an easier way.
I must admit, I 'stole' some code from the soundmixer.py library



####################################################################################################
# NOTE
# ----
# HOW TO get te corresponding ...
by Kindt.nick
Tue Jan 19, 2010 12:23 pm
Forum: Coding Corner
Topic: HowTo? Control line-in volume/mute via the SoundMixer.py
Replies: 1
Views: 1813

HowTo? Control line-in volume/mute via the SoundMixer.py

Hi,

I'm trying to control the volume and/or the mute function of the line-in on my soundcard.
I've google, searched in the forum, tried a couple of things but I can't seem to get it working.
I think I need to get the correct structure from somewhere (just like they do in the soundmixer.py file)
but ...
by Kindt.nick
Sun Jan 03, 2010 4:43 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

Bitmonster wrote: And this will only get processed once, in the moment the module is loaded. Not every time your code comes to a point where a print statement might be used (if debugging is requested).

Indeed, that seems quite odd to me, but hey, if it works, why not
by Kindt.nick
Wed Dec 30, 2009 6:57 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

Thx for the insight on how the event processing works.

"Doing an if-then-elif for every possible event will use multiple powers more CPU cycles" , that is actually true.
As for debugging, it is true that the implemented auto-visualisation helps you allot.
Except, it also depends on how how you ...
by Kindt.nick
Wed Dec 30, 2009 4:24 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

Hi,

No offense taken, it's just that, I would like to write everything in python code.
I'm used to reading code and it's a lot easier and has more overview for me than the tree view
that eventghost supplies. Although I think it's a good way for starting programmers or small jobs.
Not that we are ...
by Kindt.nick
Wed Dec 30, 2009 2:24 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

welcome to the 20th century. Event driven code is good. Let the events activate your script when necessary.

What do you want to do, have a loop running continually eating up 100% of your cpu resources? This makes no sense to me.
"21th century." It's not that I'm some sort of dumbass, I've been ...
by Kindt.nick
Wed Dec 30, 2009 2:23 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

welcome to the 20th century. Event driven code is good. Let the events activate your script when necessary.

What do you want to do, have a loop running continually eating up 100% of your cpu resources? This makes no sense to me.


"21th century." It's not that I'm some sort of dumbass, I've been ...
by Kindt.nick
Wed Dec 30, 2009 1:01 am
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

Another question,

I've written the script now,
is it possible to run continually?

What I mean is, IÔÇÖve written the script in a way that it skips automatically all the code untill there the correct key is pressed. (volumeup, down, mute, etc)

I just think it is more neat to just have the script ...
by Kindt.nick
Tue Dec 29, 2009 10:16 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

THX!

Now I understand the purpuse of the "eg.event."- syntax.
I thought is was something completely else.

< if eg.event.string == 'MceRemote.VolumeDwn': > dit the trick

thx,
Nick
by Kindt.nick
Tue Dec 29, 2009 8:42 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

I would like to just have 1 python script for the volume.
This script should be activated by the following keys;
- Keyboard.Volumeup
- Keyboard.VolumeDown
- Keyboard.Mute
- MceRemote.Volumeup
- MceRemote.VolumeDown
- MceRemote.Mute Just add those events to the Skript and you are done.

Hi ...
by Kindt.nick
Tue Dec 29, 2009 2:55 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

I would like to just have 1 python script for the volume.
This script should be activated by the following keys;
- Keyboard.Volumeup
- Keyboard.VolumeDown
- Keyboard.Mute
- MceRemote.Volumeup
- MceRemote.VolumeDown
- MceRemote.Mute

Below that should be the python script.
And it is withtin the ...
by Kindt.nick
Mon Dec 28, 2009 11:41 pm
Forum: Coding Corner
Topic: Python,; KeyError; Volumeup
Replies: 22
Views: 9002

Re: Python,; KeyError; Volumeup

Hey, thx for your reply,

So, what you is is that it is not possible to check in a Python script wether a key is pressed or not?

Thx,
Nick