That's right! 

There are several types of users, developer users and end users and ... (I for
example am both.) 

A developer user writes the VBScirpts and and provides the menu items and
shortcuts. The end user does not need to care about that. (And the PSPad
developer does not need to care about that too.) ;-)  

The end user uses the Fav tools to start a menu item. The end user does not need
to worry about VBScript, he just enters the special path for a fav tool in the
edit dialog. This is very convenient for the end user because he can set up the
fav tools the way he wants.

And for you this means a relatively small effort. When the user clicks a fav
tool, the special path just needs to be converted into menu commands. (I hope
so.) :)

Pseudo code:

cite:
--------------------------------------------------------------------------------
procedure TForm1.FavTool2Click(Sender: TObject);
begin
  if Path = '::Scripts::Todo list::View todos" then
    mnuViewTodosClick;
end;--------------------------------------------------------------------------------


Bernd.

-- 
<https://forum.pspad.com/read.php?2,71869,72411>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem