[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs 23.31 on winxp how to run terminal application from shortcut key
From: |
meshulum |
Subject: |
emacs 23.31 on winxp how to run terminal application from shortcut key |
Date: |
Tue, 11 Mar 2014 15:45:06 -0700 (PDT) |
User-agent: |
G2/1.0 |
I usually edit on linux with emacs.
At work I must edit text using a brain dead editor on windows xp pro.
I want to automate grabbing the text into emacs and returning it after i am
done.
I have been searching how to do this but can't seem to locate it in help.
I have a pair of autohotkey scripts that i can run from the command line in a
cmd.exe windows shell.
1. One script copies text out of a "brain dead editor on windows" (that I must
use for work) into emacs ( c:\mlaks\get.ahk)
2. then I edit the text in emacs
3. then I run the second script to copy the final text back into the "brain
dead editor on windows" so I can save it for my boss. (c:\mlaks\put.ahk)
Right now I can run the two scripts from a cmd.exe prompt, (or equivalently
from a shell within emacs (M-x shell).)
Then I would like to bind it to an unused pair of key combinations.
So I first tried to do it without starting a shell.
M-x!c:\mlaks\get.ahk
or
M-x!c:/mlaks/get.ahk
or
M-x!"c:\mlaks\get.ahk"
but it did not work.
after i did that I figured to find out how to
bind it to a key combination/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs 23.31 on winxp how to run terminal application from shortcut key,
meshulum <=