Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Windows Messaging Help Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: February 10 2012 at 15:30 | IP Logged Quote smarty

I am wanting set up a "watchdog" type, timed Powerhome event that sends a message to another windows application (Xlobby) on the same computer (to see if that application is still running/alive).

The target application has triggers that can be set up that will allow it to respond in some manner. From that response (or lack there of), I can deteremine if it is running/Ok.

The target application can trigger off of either: WM_APPCOMMAND, WM_COMMAND, WM_USER or WM_INPUT for the trigger notification type.

For the first three(WM_APPCOMMAND, WM_COMMAND, WM_USER), I need to specify the "WParam" and the "LParam".

If I use the WM_INPUT, I need to specify "Raw Data", "Usage" and "Usage Page".

HERE IS MY QUESTION: what Powerhome formula should I use to send a windows message to one of these Xlobby trigger types so that I can trip the Xlobby trigger?

I would think something like:
ph_postmsg(ph_findwindow("xlobby",1),XXX,YYY,ZZZ)

But I have no idea what the X/Y/Z should be in the powerhome formula. Also, what Xlobby (my target application) trigger notification type should be used (and what would be the right W & LParams be)?

Thanks
Steve


__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum