Jump to content

Visual c# express: Save all on lose focus


Recommended Posts

Hello,

I'm very new to Autoit. Visual Studio Express 2008 doesn't have a feature, some other Application have: Save all open files on lose focus.

Would it be possible with Autoit to have a script running (get an event when Visual Studio loses the focus, and then call Save all files from the menu, the key shortcut is ctrl-shift-s.

I need it because, some files I want to edit with also an external editor (which supports save all on lose focus) and I don't have to strike ctrl-shift-s every time, when I switch from Visual Studio to my other text editor.

Thank you in advance

 

 

Link to comment
Share on other sites

Have a look at while wend, WinActive and ControlSend. This should give you a good start.

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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...