I'm using TextPad as an external editor for another application. The application makes a temporary file, then opens that temp file within TextPad. Then I edit the file, and when TextPad closes, the focus goes back to the original application.
I want to hit Control-W from within TextPad, to save the file and close down TextPad so that I go back to the original application in one keystroke. Is there a way to set this up?
Thanks
Save and Quit in one keystroke? (Using as external editor)
Moderators: AmigoJack, bbadmin, helios, MudGuard
-
EricDB
- Posts: 2
- Joined: Wed Dec 10, 2003 6:14 pm
- talleyrand
- Posts: 624
- Joined: Mon Jul 21, 2003 6:56 pm
- Location: Kansas City, MO, USA
- Contact:
Looks like you have a few options
Preferences, Keyboard
Categories: File
Commands: FileSaveAndClose
However that'll still leave TP running
Preferences, Keyboard
Categories: File
Commands: FileExit
However that'll bring up the prompt to save, which may or may not be what you want.
I suppose a macro might handle both actions but I'm not sure---mostly on the closing TP part.
By the way, using ctrl-W will overwrite the default of WordRight
Preferences, Keyboard
Categories: File
Commands: FileSaveAndClose
However that'll still leave TP running
Preferences, Keyboard
Categories: File
Commands: FileExit
However that'll bring up the prompt to save, which may or may not be what you want.
I suppose a macro might handle both actions but I'm not sure---mostly on the closing TP part.
By the way, using ctrl-W will overwrite the default of WordRight
I choose to fight with a sack of angry cats.
-
EricDB
- Posts: 2
- Joined: Wed Dec 10, 2003 6:14 pm
Yeah, I tried both of those options and they're not exactly what I need, for the reasons you mentioned. And I didn't even know ctrl-W was word-right until I went to overwrite it--I have always used ctrl-rightarrow.
Currently I'm using the FileExit method, and I can just tap spacebar to say "yes, save". Unfortunately, if I haven't made any changes, I end up hitting spacebar by reflex anyway, and passing it on to the main application, which can be troublesome.
Currently I'm using the FileExit method, and I can just tap spacebar to say "yes, save". Unfortunately, if I haven't made any changes, I end up hitting spacebar by reflex anyway, and passing it on to the main application, which can be troublesome.
- talleyrand
- Posts: 624
- Joined: Mon Jul 21, 2003 6:56 pm
- Location: Kansas City, MO, USA
- Contact: