The SimpleScript plugin looks excellent. My question is, once you've created a script, is there a way to assign a keyboard shortcut to it? Or must you open the Plugins menu and SimpleScript submenu each time?
For example, I've written a script to replace all double spaces with single spaces. But if I have to use menus like that each time I want to run the script, I may as well use Find/Replace—which, at least, I can do without taking my hands off the keyboard.
BTW, I haven't tried recording a macro to run SimpleScript—that'd seem perverse. :?D
Thanks, ander
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the script appears as a menu command, you can put it on your context menu, which should help. And it should appear on the Shortcut mapper.
Otherwise... no, macros won't work with plugin commands.
But a plugin is a dll. If you can devise how to launch the script using rundll32.exe, then you can assign that command line to a Run command. Even more perverse, but might work. You'll need the plugin source to figure out the C name of the function that runs the script. Or a dll analyser.
CChris
PS: I don't have SimpleScript because I believe it is ANSI only.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, thanks. As it turned out, I decided to write a system-tray app that monitors the Clipboard and automatically applies various formatting preferences to copied text. So I think I won this particular "perversity" (i.e. geekiness) contest. :?D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The SimpleScript plugin looks excellent. My question is, once you've created a script, is there a way to assign a keyboard shortcut to it? Or must you open the Plugins menu and SimpleScript submenu each time?
For example, I've written a script to replace all double spaces with single spaces. But if I have to use menus like that each time I want to run the script, I may as well use Find/Replace—which, at least, I can do without taking my hands off the keyboard.
BTW, I haven't tried recording a macro to run SimpleScript—that'd seem perverse. :?D
Thanks, ander
If the script appears as a menu command, you can put it on your context menu, which should help. And it should appear on the Shortcut mapper.
Otherwise... no, macros won't work with plugin commands.
But a plugin is a dll. If you can devise how to launch the script using rundll32.exe, then you can assign that command line to a Run command. Even more perverse, but might work. You'll need the plugin source to figure out the C name of the function that runs the script. Or a dll analyser.
CChris
PS: I don't have SimpleScript because I believe it is ANSI only.
Okay, thanks. As it turned out, I decided to write a system-tray app that monitors the Clipboard and automatically applies various formatting preferences to copied text. So I think I won this particular "perversity" (i.e. geekiness) contest. :?D