[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] quick way to kill task window



In message <cf3e01d750.jr@xxxxxxxxxxxxxxxxxxxxx>
          rickman@xxxxxxxxxxxxx wrote:

> Very often I need to open a task window and issue a command to
> discover some system information that I need for an email or to put
> into a document.
>
> As nothing much works on a task window, including the clipboard, I
> have to use the mouse menu to kill the task before extracting text.

The easiest way would be pick a keypress that doesn't have to be passed
on to the underlying task - which is what TaskWindow mode usually does -
and assign the function tw_Kill to it. For example:

  KeyList
    cs-F11   tw_Kill
  End

The tw_Kill function quits the underlying task and switches to BaseMode.
There is no function to turn the view back into a TaskWindow, but if the
option 'Always new window' in 'Global Choices -> Respond to' is off then
pressing c-F12 again will turn the view back into a TaskWindow.

If you only want to access the global clipboard then you might get away
with just assigning the functions CB_Copy, CB_Paste and CB_Purge to keys
that don't have to be passed on. Haven't tried this myself though.

Cheers,

Fred.

-- 
StrongED developer
http://www.stronged.iconbar.com/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx