|
Slink-e / CDJ Discussion Archive #3 Re: SlinkX feature request, I thinkPosted By: Tom Surran <TSurran@H...> In Response To: SlinkX feature request, I think (Brooks Talley)
The way to do this is to create a slinkx object with the device file set to the sony slink receive file (it is one of the standard device files). In the message event for the slinkx object set the text of a textbox to the message received. The text box will now show whatever is being sent out of the CDPlayer. In the change event of the text box create an If or Case statement that allows you to do whatever you want. For instance: Sub text1_change() If mid(text1.text,1,7) = "Playing" then ' the message comes back with something like Playing(disc(2places) ' track(2places)time(4places), you can parse what you want from this End If If mid(text1.text,1,9) = "Unloading" then ' there are a number of messages you can create if/case statements for End If
Hope this helps. I am just giving you the concept, if you need to see actual code let me know.
Responses To This Message
Slink-e / CDJ Discussion Archive #3 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21. |