Set Proofing Language
Description | : | Prompt user to set proofing language on selected text. |
Download |
||
---|---|---|---|---|---|
Author(s) | : | c$ | |||
Category | : | Content | |||
Last Updated | : | June 19, 2016 | |||
Requirements | : | OneNote 2010 or above | |||
Screenshot | : | ||||
![]() Set Proofing Language |
|||||
Changelog | : | June 19, 2016 (79F5FD) - c$ These versions are no longer supported: September 17, 2013 - c$ |
Thanks in advance!
Is it possible to add russian language to the selection list?
Thanks
<Macro name="Set Proofing Language Everything (en-us)" category="Lang" description="Sets proofing language on entire page to en-us " version="8">
<ModifyVar name="desiredLanguage" op="set" value="en-us" />
<For each="Text">
<That hasProp="lang" op="not" var="desiredLanguage" />
<ModifyProp name="lang" op="set" var="desiredLanguage" />
</For>
</Macro>
This adds a new drop down category to the ribbon called "Lang", with this macro in it. In addition to this I have a similar one that sets the language to Norwegian (nb-no) to allow me to switch between the two languages I use with as few clicks as possible while still keeping the ribbon reasonably clean.
I am trying to set French(France) as proofing language, without any drop-downs. No luck until now.
Your help would be much appreciated!
Thanks,
Brigi
I\'ve modified your macro in order to switch between 2 languages in 2 clicks only instead of 4 in your macro.
For that, you have to create a macro for each language you want. In point 3 of your post, instead of requesting the user to choose a value in a dropdown list, I specify a value (en-us for example). [Enter a new literal value]
1. Click on Edit Macros > Set Proofing Language
2. Click where it says: prompt(Select a proofi...ext)
3. Choose Edit Prompt Details...
4. Change the Possible Values box from \"en-gb;nl-be;fr-be;de-de\" to whatever you want (should be semi-colon separated values).
5. Click OK, then Save
You can also change the initial value there