Hi! I tried using Run -n to play a list of youtube videos I have written on an ini file. The first time the browser opens its hidden as assigned by the -n switch. However when it goes to open up the second link on the list it creates a tab and makes the browser window the main window (so it's not minimized the second time around). So is this a bug?

Oh and here's the code in question

Code:
alias -l playYT {
  var %file songrequest.ini
  if (!$ini(%file,0)) { return }
  ; -----------------------------------------
  var %song $ini(%file,1)
  run -n www.youtube.com/watch?v= $+ %song
  var %timer $calc($ini(%file,%song,1) + 7)
  remini %file %song
  .timerplayYTcont 1 %timer playYT
}

Last edited by Newbie; 11/02/15 03:07 AM.