View Full Version : Lot's of programs, few remote buttons..
JOHN
October 13th, 2002, 12:55 PM
Hi
You can make a group for dvd comands,and another for winamp comand.
Learn same button to same comand of both groups(dvd play and winamp play common with play button of your control)
Make comands:
A)IF DVD START THEN DESABLE WINAMP GROUP AND ENABLE DVD GROUP
B)IF WINAMP START THEN DESABLE DVD GROUP AND ENABLE WINAMP GROUP
JOHN
October 13th, 2002, 12:55 PM
<font size=-1>[ This Message was edited by: JOHN on 2001-06-19 17:18 ]</font>
JOHN
October 13th, 2002, 12:55 PM
You must use the task create plugin.
The task create plugin detects when an exe starts or close.
Make the enable/disable comands
For example:
Make a comand that enables the dvd group and
press the learn button
Start the dvd application
In the girders dot matrix display you will see for example dvd.exe (create)
Now when you run the dvd.exe girder will enable the dvd group.
Eelector
October 13th, 2002, 12:55 PM
I'd like do do the following:
if(DVD-station==open)
remote_button_play = play_dvd_move;
else
if(Mediaplayer==open)
remote_button_play = play_divx_move;
else
remote_button_play = play_winamp_media;
(hope you understand what i mean)
I have a remote with few buttons and i would like to use the same buttons in diffrent program depending on wich one is open.
I've tried to do this using Window-exist, but i't just don't seem to work.
How is the proper way to do this?
:smile:
Eelector
October 13th, 2002, 12:55 PM
Sorry, im a bit slow, i don't quite follow :smile:
I get the part about assigning the same remote-button,but how do i make the IF..?
(and what happens if i start my dvdplayer "manually", will this method detect that it is running and use play (etc.) to control it?
mrichmon
October 13th, 2002, 12:55 PM
The way I've achieved this type of setup is as follows:
Open Group
+ Master Volume Up
+ Master Volume Down
+ Girder Open (this is set to trigger when girder opens the set)
+ enable root select group
[list:3fc3e30908]
- disable DVD group
- disable TV group
- reset states
[/list:u:3fc3e30908]
Root Select Group
+ Start DVD
[list:3fc3e30908]
- message (show OSD "DVD")
- enable DVD group
- start DVD ( goto DVD->Powerup Command )
- disable root select group
+ Start TV (similar structure to start DVD)
[/list:u:3fc3e30908]
DVD Group
+ Powerup DVD
[list:3fc3e30908]
- start DVD software
+ Poweroff DVD
- stop DVD software
- jump back to root select (goto Open->Girder Open)
[/list:u:3fc3e30908]
The idea is that the Open Group is always active, but none or few buttons are linked to the commands here. When Girder starts up the result of the Girder Open group is that only the Root Select (and Open) group is enabled. I then have a series of commands linked to buttons on my remote. These commands only work in the root select group and are used to choose between DVD, TV, WinAmp, etc.
Once one of these commands is triggered, a message is shown to acknowlege the selection, then the appropriate group eg DVD, is enabled, and the approriate program is started. Finally the root select group is disabled allowing the DVD group to use all remote buttons save one which is reserved to close down the DVD software and return to the Root Select group. I use the same button in all sets to close the current program (DVD, TV, Winamp, etc) and return to the Root Select Group.
As others have suggested, you could use the Task plugin or Window Exists actions to change from the Root Select group to the approriate other group. This would avoid problems encountered if you start one of the programs without using the remote. For my setup this is not necessary since I only use the remote to start these programs.
<font size=-1>[ This Message was edited by: mrichmon on 2001-12-06 01:29 ]</font>
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.