<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Having issues with a new trigger]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">Went to bed last night and realized I left my encrypted drive mounted.  Grumbled, got up, turned on monitors, dismounted.  Then it hit me when I was back in bed; why not make a dismount trigger so I can have Alexa do it for me?  Yay, laziness FTW lol.</p>
<p dir="auto">So I just remembered that so I went to implement.  I have TC running on my domain controller downstairs but the drive in question is up in my main rig.  My encryption software has no remote listening capability so I was going to use psexec but I haven't had great luck with that.  So my next thought was make a C# Windows service with a socket server and then serialize a JSON payload and shoot it to the service and it can deserialize that and get the drive info to dismount from the payload and do it.</p>
<p dir="auto">Then I said wait wait wait nerd; why not just install TC agent on the rig??  Much easier lol.  So I did that and created a new trigger:</p>
<p dir="auto"><strong>Trigger</strong>: dismount drive<br />
<strong>Command</strong>: wscript.exe c:\misc\xd.vbs<br />
<strong>Off Command</strong>: wscript.exe c:\misc\xd.vbs<br />
<strong>Ground</strong>: foreground<br />
<strong>Voice</strong>: dismount drive<br />
<strong>Voice/MCP Reply</strong>: Drive dismounted<br />
<strong>MCP Tool Description</strong>: (not set)<br />
<strong>Allow Parameters</strong>: true<br />
<strong>Quote Parameters</strong>: false<br />
<strong>Icon</strong>: (not set)</p>
<p dir="auto">When I saved, 5 seconds later my phone beeps with a notification from Alexa that a new smart home device was discovered.  Cool.  But then I realized the verbiage will be weird saying to turn on or off a verb so I changed the name to just "drive" and again, I get the alert saying device discovered.  So I say "Alexa, turn off drive".  I had turned on parms and set the cmd both as on and off because to <em>dismount</em> a drive it felt weird saying turn ON drive lol.  But no dice.</p>
<p dir="auto">So I tried just c:\misc\xd.vbs since VBS can be launched directly.  The only reason I did wscript first was habit from batch files anyway.  Still no love.  So I made xd.bat which is just:</p>
<pre><code>@echo off
echo Hi! &gt;c:\misc\debug.log
</code></pre>
<p dir="auto">Again, no love.  Then I realized it has 0 for the run counts so it isn't registering at all.  Alexa did detect "drive" though?  So my question (if you're still with me after this novel lol) is</p>
<p dir="auto"><strong>1</strong>. Is there any issue having TC agent running on two machines?  I would 99.999999999% be sure not since the interface supports showing multiple.<br />
<strong>2</strong>. Did renaming it perhaps break something?  Can't imagine why though<br />
<strong>3</strong>. Any other things you can think of that may be at issue?</p>
<p dir="auto">Thanks a lot!</p>
]]></description><link>https://www.triggercmd.com/forum/topic/3380/having-issues-with-a-new-trigger</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 19:50:40 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/3380.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2026 17:56:40 GMT</pubDate><ttl>60</ttl></channel></rss>