| Return to Index | Read Prev Msg | Read Next Msg |

Slink-e / CDJ Discussion Archive #10

Re: need help setting up a timed event

Posted By: Colby Boles <cboles@n...>
Date: 11/9/00 9:21am

In Response To: need help setting up a timed event (Steve Rausch)

First, a more advanced sample to cause CDJ to go to sleep an hour after you press a toolbar button:

1. Add a toolbar button -> View | Toolbar | Customize | Commands | User1 - drag a button (say 01) onto the toolbar

2. Add the timer device -> View | Options | Devices | Add.. - get the Device Files\Misc\timer.cde device file and use the name "tmr" in this example. Don't check any IR / S-Link ports.

3. Add a map to cause the toolbar button to do something -> View | Options | Maps | Edit and enter the following lines:

cdjr:user_button[001] {tmr:setalarm[sleepytime,1h]} tmr:sleepytime {cdj:sleep}

4. Save the map file and hit the reload button and you are ready to go

------------------------------------------------

If instead you wanted something to put CDJ to sleep at 1am every night, you could do the following:

cdjr:startup {tmr:setalarm[sleepytime,1:00,24h,forever]} tmr:sleepytime {cdj:sleep}

to wake it back up, you could add a toolbar button like before:

cdjr:user_button[001] {cdj:awaken}

| Return to Index | Read Prev Msg | Read Next Msg |

Password:

Slink-e / CDJ Discussion Archive #10 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21.