This is a VBA macro to convert Verbatim speech documents to a screen-reader accessible format. Please read the usage notes!
-
The macro is in development and may cause issues on non-Windows systems. Please report any issues to [email protected].
-
The macro will convert the current file that is open. It is recommended that users open a new Word document and paste in the content they wish to convert before running the macro.
-
Should a user accidentally convert a document, they can simply undo the operation by pressing Control+Z twice.
-
Make sure the following conditions are true for documents (some are less important than others):
- Tags and analytics are all marked with "tag"
- Card names are marked with either "tag" or "cite"
- Parts of cards to read are delineated with highlighting
- Section headers that should be kept in the doc are styled as "pocket", "hat", or "block"
-
Download the file titled 'CopyForScreenWriter.txt', in the repository.
-
Open the file in any file editor (e.g. Notepad, TextEdit, Notepad++).
-
Copy the all of the code with Control-A and Control-C.
-
Open any Word document.
-
Navigate to the View tab and press on 'Macros', or 'View Macros.'
-
In the 'Macro name' box, type 'CopyForScreenReader.'
-
Select 'Create.' This should bring you to the VBA editor.
-
Paste the code. The code should be situated between the lines 'Sub CopyForScreenReader()' and 'End Sub.'
-
Save the macro (with Control-S) and close out of the VBA editor.
-
To verify that your macro has been installed, press 'Macros' once again and scroll through the list of available Macros.
-
Open any document that you wish to convert. Open 'Macros', select 'CopyForScreenReader,' and press 'Run.'
For more information on steps 1-9, please visit: http://www.techtoolsforwriters.com/how-to-add-a-macro-to-word/
-
Press the 'File' tab and select 'Options' in the bottom left corner.
-
Press 'Customize Ribbons.'
-
Next to 'Keyboard Shortcuts:', press 'Customize'.
-
Scroll to the bottom of the list of 'Categories' and press 'Macros.'
-
In the right hand dropdown, select 'CopyForScreenReader.'
-
In the box titled 'Press new shortcut key,' press the desired shortcut combination key, e.g. Control+=.
-
Ensure that changes are saved in the 'Normal' document template. This ensures the shortcut applies to all future documents.
-
Create a new document or restart word. Paste in debate content, and test the shortcut!
For more information on steps 1-7, please visit: https://wordribbon.tips.net/T008058_Assigning_a_Macro_to_a_Shortcut_Key.html
Thank you Xavier for developing the tool.