Hi,
I would like to launch a smart hub app from a commandline, so I could bind a specific app to a remote control key.
I search the forum (maybe not carefully enough) and found only few topics that did not provide definitive answers.
My question is - how can this be done? I don't mind doing some coding/scripting, but I would need at least some hints to begin with. I know the location of the app, I just don't have any clue, what is launching them and the butchered nc-based commandline is not helping me.
Thanks,
drasha
Launching apps from commandline
Re: Launching apps from commandline
No need for multipost...
That's how it goes:
exeDSP launches libWEclient.so which launches WidgetEngine that launches Widget itself.
So you have to hook/patch/inject something somewhere amongst these things.
More, "classic" injection to WidgetEngine (=samyGOso) cause it to systematically restart, so you'd surely have to write a whole patch from scratch.
I can tell you it's on my to-do list for a long time (not amongst my priorities though, I don't use widget crap) but for now I never found a way to sort it out. No more clues except it's surely hard work and if there's a simpler way, I just don't know it
That's how it goes:
exeDSP launches libWEclient.so which launches WidgetEngine that launches Widget itself.
So you have to hook/patch/inject something somewhere amongst these things.
More, "classic" injection to WidgetEngine (=samyGOso) cause it to systematically restart, so you'd surely have to write a whole patch from scratch.
I can tell you it's on my to-do list for a long time (not amongst my priorities though, I don't use widget crap) but for now I never found a way to sort it out. No more clues except it's surely hard work and if there's a simpler way, I just don't know it

I do NOT receive any PM. Please use forum.
Re: Launching apps from commandline
Sorry about that. I wasn't sure if knowledgeable people read both forums...
Anyway, thanks for the hint. I will take a look around to get more info and maybe start hacking on it, just for the fun. That or buy some media center and avoid the widget crap
Anyway, thanks for the hint. I will take a look around to get more info and maybe start hacking on it, just for the fun. That or buy some media center and avoid the widget crap
