2

There is probably not a way to do this, but here's the situation:

I am running a Silverlight 4 app in Google Chrome, and on occasion I hit cmd-A (select all) out of habit. It selects the entire SL frame, making it all blue, and I can't deselect it because there is no other element as far as the browser is concerned. Is there a way to deselect current item with a keystroke or something? I am using Google Chrome.

Thanks, Alec

Force Flow
  • 4,144

2 Answers2

3

You can enter the following into the address box to deselect everything

javascript:void(window.getSelection().removeAllRanges())

To make it easier to use, you can make it a bookmark.

  1. Control-click the bookmarks bar and choose Add page.
  2. In the Name field, enter Select None or something like that.
  3. In the URL field, copy and paste the javascript address above.

Now if you accidentally press command-a, you can click on the Select None bookmark.

Bavi_H
  • 6,710
3

What happens when you hit ESC?

Force Flow
  • 4,144