gorstk Wrote: > > In the slimserver web interface (http://127.0.0.1:9000) > Server settings --> plugins --> ensure xPL interface checkbox is ticked > > and click on apply > Server settings --> plugins --> xpl settgins (at the bottom of page for > > me) --> heartbeat interval 5, infra red processing raw > > In xplhal help menu --> update plugin library --> select all --> ok > > In xplhal load up tools menu --> xpl monitor > Press the down button on your remote (or whichever button you want to > activate the script) > I get the message in xpl monitor > trig slimdev-slimserv.BATHROOM > zone=slimserver > device=BATHROOM > keys=7689b04f > power=off > > In xplhal > right click on 'determinatory' --> select new --> click next > type in name and description that you wish --> next > add button (this is your ocnditions upon script will be run) > select the slimdevices player e.g. for me slimdev-slimserv.bathroom > select button pressed > in 'button name'' box insert e.g. for the down key 7689b04f (taken > from > xplmonitor output above) > click ok, then next > click on add button to add an action > select xpl-xplhal.<computername> > select run a program > type in the full path to the program e.g. > c:\WINNT\system32\notepad.exe or c:\windows\system32\notepad.exe > > To test right click on the 'determinator' you have created and click > execute. > The program /will/ be executed. (have a look in task manager) > However if xplhal is running a a 'system service' (most likely) then > the > program will hide in the background and will NOT display on screen. > This may or may not be what you want depending on what you are wanting > > to execute. > e.g. running a command line program to shutdown your pc will not > require > the program to come on screen. > > However if you do require the program to load up on your desktop then > try > http://www.xplmonkey.com/xplexec.html > (try installing it as a service, and then going into 'services' in > control pannel and making it run as your user account) > > Hope this helps
You made my day - this works exactly as I need it. Many thanks :-) -- shen ------------------------------------------------------------------------ shen's Profile: http://forums.slimdevices.com/member.php?userid=5787 View this thread: http://forums.slimdevices.com/showthread.php?t=25551 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss