First time here? Check out the FAQ!

Revision history  [back]

You can write a script to do this -- take a look at remove_prompts_and_paste() in scripts/ in Wing's installation directory. That's close to what you want. You can make your own scripts file in scripts/ (or any *.py file name) in your Settings Directory (listed in WIng's About box), add your script there, and then do Edit > Reload All Scripts to make it available in Wing. Reload All Scripts is only needed if you added a script file; after that WIng auto reloads changed script files so you can edit, save, and immediately test. You can invoke that script from Edit > Command by Name or bind a key to it in the User Interface > Keyboard > Custom Key Bindings preference.

For more info on extending Wing with Python scripts, see