unifiedremote/Docs

OS.Start() not working

Closed this issue · 7 comments

I'm creating a remote for Zoom and I'm trying to launch Edge with the url of the meeting. I'm using this code:

--@help Start Zoom Meeting actions.command1 = function () os.start("C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe", "<url for meeting>"); end

It's not working. I opened the example remote for running applications and those aren't working either. I tried the first button but calc didn't start. My other buttons are working fine (keystrokes).

I'm on a Win10 OS with server version 3.7.0.2352 (46) and the latest android app

pqvst commented

Are you sure that path to msedge is correct? I just checked my Windows 10 machine and I don't have that path. I got this to work though:

os.open("microsoft-edge:https://unifiedremote.com");

You could try that and replace the URL with your meeting link.

pqvst commented

Have a look at the server logs as well after trying to open calc.exe and see if you get any errors:
http://localhost:9510/web/#/log

I checked but no errors. I get an error when I push the second button on the example remote because the foobar.exe is not found. It looks like the server just can|t start executables.

I did check the Windows service checkbox during installation. I think a reinstall might help.

Reinstalling the server without the Windows service fixed the issue

pqvst commented

Ah, interesting. Yeah, the service is pretty experimental. Thanks for the feedback at least!