New to eventghost, still trying to get a grip on it all. Right now I'm trying to pass a variable received via AutoRemote onto a command line command which is being used to open a URL on a specific Chrome profile.
'eg.event.payload.arcomm' is the variable being handed off by AutoRemote. What could I be doing wrong? In the example below, if I replace "{eg.event.payload.arcomm}" with "facebook.com", it correctly loads facebook in the relevant chrome profile, but with the variable in there the command just doesn't run.
Any suggestions? Code attached below.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="0.5.0-beta4">
<Macro Name="Run Chrome" Expanded="True">
<Event Name="AutoRemote.Message.tester" />
<Action>
System.Command(u'"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --args --profile-directory=Default -d {eg.event.payload.arcomm}', True, False, u'', True, False, False, False, False)
</Action>
</Macro>
</EventGhost>