Hey guys,
I have been trying for days to get my search&play function to work in Foobar2000. I was able to get the search function to work, but I cannot get the song to play. I have tried [sendkeys] [inputkeys] [dxinput plugin] [carriage return {CR}] [tild ~]
Nothing seems to work except a hard [enter] by pressing the key. I have made sure that the window is focused, and I also shortened the macro and pressed enter and that works. So I am guessing its just the format.
Im not advanced enough yet to get into the [get xml] xml stuff. Think I need to do some reading for that, but a simple search and play will work for now.
edit: whoops, forgot the code...lol
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="False" name="3_query music" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="980" name="search {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="" description="">
<action>
<cmdType>Window.Focus</cmdType>
<cmdString>Foobar2000</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>InputKeys.Send</cmdType>
<cmdString>{LCONTROL}({L})</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>SendKeys</cmdType>
<cmdString>{1}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>InputKeys.Send</cmdType>
<cmdString>{ENTER}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>play</phrase>
<payloadDictation>payloadDictation: Regular</payloadDictation>
</command>
</commandGroup>
thanks
-mike