Jump to content

Setting a key macro


Recommended Posts

When using Visual Studio, I like to be able to clear existing bookmarks and set a new one with one keystroke. To clear bookmarks requires Ctrl+K, then Ctrl+L, then answer Yes when asked if I'm sure I want to do this. To set a new bookmark requires Ctrl+K, then Ctrl+K.

I'd like to do all these with one keystroke like Ctrl+/. Can I do this with AutoIt and have it only respond when I'm using Visual Studio?

Do I have to start the script each time I launch VS, or is there a way to automate it?

Thanks for any help.

Link to comment
Share on other sites

Have the script run Visual Studio. Only start by running the script.

Snowmaker,

Thanks. How do I make the script stop running when I exit VS?

Also, I presume I would use a HotKeySet, and then a Send to accomplish the result. Is that correct?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...