Hi, this is my remote. I have several problems with it
- The controlled app doesn't launch on remote open (it must be already started)
- The own glyphs are excessively oversized to whole button area. How can I make them smaller? (downsizing the own images doesn't have impact)
And finally, how do I send the remote to public repository?
Hi, I have checked several sample remotes how they ensure controlled app is running when they start.
Making action.launch applet doesn't to work:
<layout onlaunch="launch" ... >
actions.launch = function()
I need also to query if the controlled app is running and start only if it doesn't.
Thanks for suggestions.
HI, how do I know the windows message codes to work for controlling the target app. I see that most predefined remotes for windows apps use internal message codes. Unlike keyboard shortcuts these are certainly better since the right app is always controlled regardless if it has focus or not. Thanks for explaining.
hi, how do I (on custom remote start) detect if controlled app is running on server, and in case it's not running, the app is launched?
I did inherit a code from preset scripts for PotPlayer to own remote which however doesn't work
<layout onlaunch="launch" ...>
events.detect = function () return libs.fs.exists("C:\\Program Files (x86)\\ProgDVB") or libs.fs.exists("C:\\Program Files\\ProgDVB"); end
====> when is this called?
actions.launch = function() device.toast("Opening..."); os.start("%programfiles%/ProgDVB/ProgDvbNet.exe"); os.start("%programfiles(x64)%/ProgDVB/ProgDvbNet.exe"); end
If I start te remote nothing happens if corresponding app is not running, any help appreciated
Hi, where is the detailed custom remotes reference ?