• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  1. Home
  2. Bradley Lansink
B
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 2
  • Best 0
  • Controversial 0
  • Groups 0

Bradley Lansink

@Bradley Lansink

0
Reputation
99
Profile views
2
Posts
0
Followers
0
Following
Joined Oct 30, 2018, 10:39 AM Last Online Nov 1, 2021, 6:53 AM

Bradley Lansink Unfollow Follow

Latest posts made by Bradley Lansink

  • RE: Start VBS script from Bat file

    Just to clarify:

    Bat file:

    nircmd setdefaultsounddevice "VG248" 1
    nircmd.exe setsysvolume 35000
    PlayAlarmVBS.vbs

    vbs file:

    Set WshShell = WScript.CreateObject("WScript.Shell")

    Comandline = "C:\Users\Username\AppData\Roaming\Spotify\Spotify.exe"
    WScript.sleep 500
    CreateObject("WScript.Shell").Run("linktoplaylist")
    WScript.sleep 3000
    WshShell.SendKeys "{ENTER}"
    WScript.sleep 100
    WshShell.SendKeys "^{RIGHT}"

    posted in General Discussion
    B
    Bradley Lansink
    Dec 11, 2018, 6:59 PM
  • Start VBS script from Bat file

    Hey I'm currently working on an automated alarm.

    I ask TriggerCMD to start a .Bat file (which works just fine). It select the audio device and sets the volume.
    Then I start a VBS script from the .Bat, And that does't work. It should open spotify and play a playlist. But it won't do anything at all.

    When I start the .Bat manually everything works like intended.

    Any Ideas?

    posted in General Discussion
    B
    Bradley Lansink
    Dec 11, 2018, 6:55 PM