<?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[Switch Spotify devices with Alexa and Smartthings]]></title><description><![CDATA[<p dir="auto">I made a video  <a href="https://youtu.be/8BVC2dnnxFQ" rel="nofollow ugc">https://youtu.be/8BVC2dnnxFQ</a><br />
Smartthings switch between Spotify devices. it is a .vbs file I made in notepad. Works like a champ. You can change the amount of times it hits the TAB button (to select different devices) by changing the 3 in "{TAB 3}". I have made multiple identical scripts with the only change being this number. I made multiple Triggercmd switches that I trigger with Alexa through Smartthings. "Alexa turn on device 3"</p>
<p dir="auto">Spotify Devices in your device list will change position when devices are turned on and off.  Even though your computer will always be in position 1 it still requires "{TAB 2}" in the script.  It goes up from 2 to how many ever devices you have.</p>
<p dir="auto">Open notepad and copy and paste the following and save it as a .vbs</p>
<p dir="auto">Set WshShell = WScript.CreateObject("WScript.Shell")<br />
Comandline = ":\Users<em>YOUR COMPUTER NAME</em>\AppData\Roaming\Spotify\Spotify.exe"<br />
CreateObject("WScript.Shell").Run("spotify:")<br />
WScript.sleep 1000<br />
WshShell.SendKeys "^{d}"<br />
WScript.sleep 1000<br />
WshShell.SendKeys "{TAB 3}", True<br />
WScript.sleep 1000<br />
WshShell.SendKeys " "</p>
<p dir="auto">I will post a video of this sooner or later.  <img src="https://www.triggercmd.com/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=6sa9akdcpc2" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://www.triggercmd.com/forum/topic/134/switch-spotify-devices-with-alexa-and-smartthings</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 01:59:32 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/134.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jan 2018 09:26:47 GMT</pubDate><ttl>60</ttl></channel></rss>