title: Photoshop Script does not change the color anymore
body: <p>This script should change the background color. Until 10 minutes ago that worked too. I have not changed anything on the script and even the backup copy of the script shows no other efect. So there must be an mistake in the script, which is efect by the settings. Has anybody a idea?</p>
  
  <p><strong>Thanks for your efforts</strong></p>
  
  <pre class="lang-js prettyprint-override"><code>var srcDoc = app.activeDocument;
  var color = app.backgroundColor;
  
  var l = srcDoc.width.value;
  var h = srcDoc.height.value;
  
  if (l/h &gt;16/9)
  {
    color.rgb.red = 255;
    color.rgb.green = 255;
    color.rgb.blue = 255;
    app.backgroundColor = color;
    app.activeDocument.resizeCanvas(l, l/(16/9), AnchorPosition.MIDDLECENTER);
  }
  </code></pre>