title: Applescript running from AppleScript Editor not from the menu using BBEdit
body: <p>I've read here around but I didn't find any fix for this stupid problem.
  BBEdit, the most famous Mac text editor, should be widely scriptable and actually so it is. But,.. using Applescript I was trying to execute a menu command and there is no way at all. Or better, if I alternatively try:</p>
  
  <pre><code>tell application "System Events"
      tell process "BBEdit"
          tell menu bar 1
              tell menu bar item "Markup"
                  tell menu "Markup"
                      tell menu item "CSS"
                          tell menu "CSS"
                              click menu item "Format"
                          end tell
                      end tell
                  end tell
              end tell
          end tell
      end tell
  end tell
  </code></pre>
  
  <p>Or also:</p>
  
  <pre><code> tell application "System Events" to keystroke "+" using {command down, shift down}
  </code></pre>
  
  <p>They works both running the Script from the Editor, but they don't work once I save the script and I choose it from BBEdit's AS Menu. Any idea ? Thanks.</p>