Hello Everyone,

I have figured out a way to use a shortcut to bold a selection in 
Mnemosyne. I got tired of typing "<b></b>" around what I wanted to bold. I 
don't use cloze and prefer bold instead. 

Anyway you're going to need a program called autohotkey (it's free)

Then I just created an .ahk file and typed up the following code:

#IfWinActive, Add cards
^Numpad1::
{
    Send, {CTRL Down}{x}{CTRL Up}
    Send, <b>
    Send, {CTRL Down}{v}{CTRL Up}
    Send, </b>
    Return
}
#IfWinActive, Edit card
^Numpad1::
{
    Send, {CTRL Down}{x}{CTRL Up}
    Send, <b>
    Send, {CTRL Down}{v}{CTRL Up}
    Send, </b>
    Return
}

Now when I highlight a word I press CTRL+1 (on numpad) and it automatically 
cuts, then types <b>, then pastes the text back, then types </b> 
You can set the shortcut to any key combination you'd like and thanks to 
#IfWinActive the shortcut will only work when adding cards or editing cards.

I don't do anything else to my cards but you can use autohotkey to make 
other shortcuts and there is a lot of help for the program if you google 
what you'd like to do.

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/59820f71-f63d-4580-8a42-7bafa052f30d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to