Thanks for your input on this. After comparing the lgcommander script and this one I had noticed there where some lines missing in the handleCommand. I had been attempting to add them myself but ended up with syntax errors aplenty lol ( I think I will have to buy python for noobs to read on my lunch breaks at work! )

Anyway the downside is after adding your corrected code I am still not getting a response. As before the script is returning a session ID so we know it is communicating with the tv but nothing happen after that, no action on tv nor an error in eg
With my limited experience I even tried changing the handlecommand to be the same as requested herehttp://developer.lgappstv.com/TV_HELP/i ... yInput.htm

Wow you swapped a couple of words around on the cmdText line and suddenly it all works! Thank you very much Sem;colon for taking the time to look into this and get it working. I had looked for sometime for a way to do this but only ever found dead ends.

I have decided it it finally time to have ago at learning python, I enjoy reading through trying to work out what does what in a script but I would like to be able to have a go at being able to right it now.
If I get any good maybe I will be able to turn this into a plug-in lol

Well just an update. I guess I wont be turning this into a plug in for the simple reason, there is one available already!!!! and it works very wellviewtopic.php?f=10&t=6144
After weeks of searching for a solution I never once found this thread. I just happened to chance upon it today while browsing the forum.

I am guessing the forums are not getting indexed very well by google as even doing a search for the thread title + eventghost does not bring up the thread!