A family of Microsoft word processing software products for creating web, email, and print documents.
If it is the same line or paragraph use a character style for your Sanskrit. You can attach that to a keyboard shortcut. The character style can have the font, the size and the proofing language attribute. When you are done typing in Sanskrit, press Ctrl+Spacebar to return to the underlying paragraph style.