Author Topic: Hook and monitoring programs... How?  (Read 10480 times)

0 Members and 2 Guests are viewing this topic.

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #30 on: July 11, 2015, 05:25:03 PM »
CPU - Intel Core i7
Its happen any time like in video then I use loops on a desktop in notepad or I play in game and use other commands...
What mean see a pattern?
I use DxInput(Keypress or Keycombo) and only keyboard press, i have rapoo wireless keyboard... Maybe install keyboard drivers?

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #31 on: July 11, 2015, 05:50:52 PM »
Thanks for your help with simple program but i don`t understood how it`s use for example i change key on key 1 and focused on VOX and then i press key 1 any change in VOX i not see((

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Hook and monitoring programs... How?
« Reply #32 on: July 11, 2015, 06:07:05 PM »
You should not change anything in the simple program. Leave it as "XButton1".

Disable the Hook plugin in VC (in Options) and restart VC to be safe.

The program needs to be running on the same machine as VoxCommando.

When the simple program is running, every time you click the XButton1 on your mouse, you should see XButton1 mouse events in the VoxCommando history window.

Do you see those?

If you have commands that are triggered by the XButton mouse click, those should be triggered. Is that working?

If so, you can try to use the simple program to change VoxCommando from On to Standby using the mouse. Hopefully it will continue to work even when you are using processor intensive commands like your DXInput looping commands.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #33 on: July 11, 2015, 06:14:54 PM »
I off plugin in options run the program(XButton1) restart VOX and the i clicking on these key anything is change in VOX(run both in administrator mode)(( Thanks

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hook and monitoring programs... How?
« Reply #34 on: July 11, 2015, 06:27:39 PM »
It should generate an EVENT in VoxCommando.  You should see it in the history panel.  You can assign the event to commands that switch VoxCommando to On or Standby mode.

The program assumes you have not changed the default listen port in VoxCommando Options / Advanced / UDP.  The default port is 33000.

The mouse button name is case sensitive.  I used the name that you had in your original events.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2009
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Hook and monitoring programs... How?
« Reply #35 on: July 11, 2015, 06:36:39 PM »
When you click the XButton1 on your mouse, do you see the mouse event in your VoxCommando "history" window?

Yes? No?

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #36 on: July 11, 2015, 06:41:26 PM »
Yes see in Options 33000 port but events not generates, XButton1 is name from Hook plugin, maybe name of key is different?
No don`t see((

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #37 on: July 11, 2015, 06:54:26 PM »
Maybe problem in my mouse Bloody T7 and Bloody 5 program?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hook and monitoring programs... How?
« Reply #38 on: July 11, 2015, 07:05:41 PM »
I don't know. I give up for today.

You can try changing the button name to:
Code: [Select]
Left
And then clicking the left mouse button.

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #39 on: July 11, 2015, 07:10:45 PM »
 :) Well done! Thanks its work, still find interpretation for XButton1))

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hook and monitoring programs... How?
« Reply #40 on: July 11, 2015, 07:17:53 PM »
OK good. For now the main objective is to test if this program works reliably for a long time. Please test it using the left button. We can find the correct button name later.
« Last Edit: July 11, 2015, 07:20:27 PM by nime5ter »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hook and monitoring programs... How?
« Reply #41 on: July 12, 2015, 08:05:06 PM »
Here is a new version with a small change.  Save the .exe file over the old one.  Make sure it is in the same folder as "MouseKeyboardActivityMonitor.dll"

In this version:
  When you erase the button name, it will work for all buttons.  In other words: leave the text box empty.  Blank.

This way you can test with any mouse button and find the correct name.

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #42 on: July 12, 2015, 09:16:13 PM »
Thanks! If you can modify this good simple program that then lunch text field be empty... Thanks! :) Testing this loops work great!!! Because now in text field : XButton1, but work all mouse clicking :) And if manually write XButton1 then XButton1 clickings sends to udp :)
« Last Edit: July 12, 2015, 09:26:09 PM by Slalomen »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hook and monitoring programs... How?
« Reply #43 on: July 13, 2015, 10:17:59 AM »
With this version you can now save the button and it should use it again when you restart the program.

If it is possible, it is better to only use one button so that you are not creating a lot of events that VoxCommando will need to process for nothing.

Slalomen

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hook and monitoring programs... How?
« Reply #44 on: July 17, 2015, 10:56:30 PM »
Thanks you very much! But if field on startup be empty it is be better... If you can modify this little program... Thanks! :)