Sorry for the excessively delayed reply.
The first works great thanks!
I just didn't know the code to get last result for Eventghost it would seem.
The second bit doesn't seem to work for me. When I run "Update radiosure favourites Alexander tells me "Sorry, there seems to be a problem". Looking at the radfavs.xml file it contains nothing but {Match.1} in value and phrase, so I'm guessing something is missing.
Attached is a screenshot of the Vox log, not sure if it helps.
I updated the code for my folder locations etc and it looks like this...
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="True" name="radio sure" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="169" name="play radio station {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Window.Close</cmdType>
<cmdString>radiosure</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch.RawParam</cmdType>
<cmdString>C:\Users\Chloe\AppData\Local\RadioSure\RadioSure.exe&&/source="{1}"</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>play radio station</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">radfavs.xml</payloadFromXML>
</command>
<command id="229" name="update radio sure favourites" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Scrape</cmdType>
<cmdString>C:\Users\Chloe\AppData\Local\RadioSure\RadioSure.xml</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<cmdString><Favorites>(.*?)</Favorites></cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<cmdString><Source>(.*?)</Source><Title>(.*?)</Title>&&---&&{Match.1}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>{LastResult}</cmdString>
<cmdRepeat>0</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)<(B)</ifType>
<ifParams>0&&{#M}</ifParams>
<then>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>I am storing {#M} stations in your payload x m l file</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>PayloadXML.Clear</cmdType>
<cmdString>radfavs.xml</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.MatchToEvent</cmdType>
<cmdString>Rs.AddFav&&99</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.RestartQuick</cmdType>
<cmdString />
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Sorry, there seems to be a problem.</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>update radio sure favourites</phrase>
</command>
<command id="230" name="adfav" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Results.RegEx</cmdType>
<cmdString>(.*?)---&&&&{1}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.SetVar</cmdType>
<cmdString>val&&{Match.1}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Results.RegEx</cmdType>
<cmdString>---(.*)&&&&{1}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>PayloadXML.AddPair</cmdType>
<cmdString>radfavs.xml&&{Var.val}&&{Match.1}&&True</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>{Match.1}</cmdString>
<cmdRepeat>0</cmdRepeat>
</action>
<event>Rs.AddFav</event>
</command>
</commandGroup>
Thanks,
-P