[wingide-users] bind two or more command to one key
support at wingware.com
Fri Sep 9 07:27:27 MDT 2011
On 9/9/11 8:42 AM, Jackie Lee wrote:
> I wanted to bind a sequence of command to one key: i.e. end-of-line, open-line
> Looks like when separated with comma, wing will execute the first
> available one, which is not what I want...
> what can I do here?
You could write a script that executes them and bind that to the key.
app = wingapi.gApplication
You'll need to put this in a file in the 'scripts' directory in your
user settings directory (which varies in location and is listed 5th in
Wing's About box) then do Reload All Scripts in the Edit menu to load
the command. Details on scripting the IDE are at
Wingware | Python IDE
Advancing Software Development
More information about the wingide-users