Script hot key and focus

Discussion Forums discussion Script hot key and focus

This topic contains 1 reply, has 1 voice, and was last updated by  musabio 3 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
June 4, 2014 at 3:32 pm #20169

musabio
Participant

Greetings. I’m new to PN2 and quite enthusiastic about it’s scripting possibilities. Not sure if this forum is actually active though, so here are a couple of hopefully simple questions:

1. Is it possible to assign a hot key to a script (instead of having to double-click on the script name)?

2. After double-clicking on a script, the focus remains on the scripts panel. How can I put it back on the current document? I’ve tried both the IDocument Activate method and the Scintilla GrabFocus method but neither seem to have any effect.

Thanks in advance for any tips and examples.

June 13, 2014 at 8:59 pm #20174

musabio
Participant

Item 1 was a stupidity on my part! (I failed to notice that scripts appear in the Tools > Options > Keyboard list of shortcuts.)

Item 2 remains a minor annoyance.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.