sandun
January 20th, 2003, 03:53 PM
Hello,
I am new to the world of Girder. I went over the gettting started tutorial as well as read most of the help documentation. I am in the middle of developing a gui front-end (for htpc) based on Java2D. One of the functions I want to add is to send an event trigger to girder when a user selects an item from the htpc menu (eg: play or stop cd). Initially I plan to use a command line option (event.exe) and later (when I am more familiar with girder) I'll add event triggering via TCP/IP.
The Girder FAQ describes on using event.exe as
event.exe <eventstring> [device] [pld1] [pld2] [pld3] [-silent]
My question is what are event strings, devices and payload in this context. For example, how would I go about "Opening Notepad" (in the Getting Started gml) via an event string?
I tried 'event.exe "Open Notepad"' (via Windows command prompt). The girder event client responded with "Open Notepad" sent to device 18 successfully. Notepad did not open. Assuming I have not done it correctly, next I added an EventString to the "open notepad" command and renamed the string as "open". Then sending "event.exe open" did not work either. (Btw, Test Command via Girder comfirmed that the command is properly targeted).
I would greatly appreciate it if someone from this forum help me get started on using event.exe. I am using Girder 3.2.7 on Win2K Pro.
Thanks.
-pj
I am new to the world of Girder. I went over the gettting started tutorial as well as read most of the help documentation. I am in the middle of developing a gui front-end (for htpc) based on Java2D. One of the functions I want to add is to send an event trigger to girder when a user selects an item from the htpc menu (eg: play or stop cd). Initially I plan to use a command line option (event.exe) and later (when I am more familiar with girder) I'll add event triggering via TCP/IP.
The Girder FAQ describes on using event.exe as
event.exe <eventstring> [device] [pld1] [pld2] [pld3] [-silent]
My question is what are event strings, devices and payload in this context. For example, how would I go about "Opening Notepad" (in the Getting Started gml) via an event string?
I tried 'event.exe "Open Notepad"' (via Windows command prompt). The girder event client responded with "Open Notepad" sent to device 18 successfully. Notepad did not open. Assuming I have not done it correctly, next I added an EventString to the "open notepad" command and renamed the string as "open". Then sending "event.exe open" did not work either. (Btw, Test Command via Girder comfirmed that the command is properly targeted).
I would greatly appreciate it if someone from this forum help me get started on using event.exe. I am using Girder 3.2.7 on Win2K Pro.
Thanks.
-pj