PDA

View Full Version : Generate Girder Event ("myevent")



Ron
October 13th, 2002, 12:55 PM
I think you are looking for a 'goto', check the girder action tab and select goto. this will do a jump in the tree.

Ron
October 13th, 2002, 12:55 PM
You can download it, Mark wrote that some time ago, check the download page under Hardware plugins.

Mark F
October 13th, 2002, 12:55 PM
There should be a "User Event" plugin on the download page soon. :)

DAntE2000
October 13th, 2002, 12:55 PM
I need to use my own event, generated from main treeview, not from driver.
Is it possible to generate girder event ("myevent") within girder other way than:
O.S.Execute
File=girder.exe
Step Size=-eventstring myevent
?
This method works, but it too slow. May be there same plugin (like "wm_copydata") can help to make it?
With this option programm will be much much more flexible! :smile:
Sorry for bad english.

DAntE2000
October 13th, 2002, 12:55 PM
On 2002-04-01 10:25, RonB wrote:
I think you are looking for a 'goto', check the girder action tab and select goto. this will do a jump in the tree.

No.
I want to generate event.
Goto will run only one command. Event can initiate execution of many commands of many programs.
Is it possible to write such plugin?
Example1:
My remote have not button "fwd". Have only "next". I write code that make "fwd" when i pressing "next" for a 500 ms or make "next" if i release it before 500 ms.
When i have 1 programm it's simple to write this code for it. But when i have 3 programm (winamp, zoomplayer, mediaplayer) i must write this code for each programm ... :sad:
Example2:
i have 10 programs, that controlled by event's from keyboard.
i have buyed IR.
I must to add new eventstrings to each command, of each programm... :sad:
May be there other way's to do it?

lee
October 13th, 2002, 12:55 PM
I'm not sure what you mean, but I think I've got it...

You want to use the codes you've already written (which work on your keyboard) on your IR controller? And you want to use the same button for several different exe's?

I did it this way:

1. Copy the groups you're using for the keyboard now.
2. Rename them (put [remote] or something)
3. Delete the present events and re-assign remote-control ones.
4. Setup a group which uses girder's 'group enable' and 'group disable' commands. e.g. have a 'winamp' button which enables the group called Winamp [remote] and disables the other ones which are going to use the same buttons. Then have another button for each different program etc.

Not sure that's what you meant, but if it is, I hope it's helpful!

nikolai.fink
October 13th, 2002, 12:55 PM
I also was locking for a user event.

Hope to see it soon :P