I've added a new function to XHelper called "ConvertVariables", pass a string with variables in it.....you can use any variable you want its just like using them on a button....but it will return the actual text back with the variables replaced with their real values.
http://www.xlobby.com/xlobby2.zip
I didnt test it but something like passing
"audioplayer>now>%artist%" would return the current playing artist or
"epg>time>f" would work also now. You should be able to get to any variable that can be displayed through a specific text pattern.