Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Syntax error when opening a shortcut

If you have a question or need help, this is the place to be.
Post Reply
o0haco0o
Posts: 1
Joined: Tue Jan 28, 2014 4:41 pm

Syntax error when opening a shortcut

Post by o0haco0o »

Ok im hoping someone can help out on this. Basically im trying to execute a shortcut after a button is pressed on my remote. I can execute the shortcut with no problems from my desktop. But when event ghost attempts to execute it, it gives a syntax error. the error is:

Error in Action: "Start Program: ehshell.exe"
Traceback (most recent call last) (1640):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
File "C:\Program Files (x86)\EventGhost\plugins\System\Execute.py", line 102, in __call__
arguments = eg.ParseString(arguments)
File "C:\Program Files (x86)\EventGhost\eg\Utils.py", line 204, in ParseString
res = eval(word, {}, eg.globals.__dict__)
File "<string>", line 1
e6f46126-f8a9-4a97-9159-b70b07890112
^
SyntaxError: invalid syntax

The shortcut is:
C:\Windows\ehome\ehshell.exe /url:windowsmediacenterapp:{e6f46126-f8a9-4a97-9159-b70b07890112}\{982ea9d3-915c-4713-a3c8-99a4688b7c59}?EntryPointParameters=
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Syntax error when opening a shortcut

Post by jonib »

Look here for a solution.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply