Difference between revisions of "File:VectorMEP AddWorkspaceInstallerMenu.vs"

From VectorMEP
Jump to navigation Jump to search
(Adds a menu command to the active workspace which can launch the VectorMEP workspace installer.)
 
m
 
Line 1: Line 1:
 
== Summary ==
 
== Summary ==
 
Adds a menu command to the active workspace which can launch the VectorMEP workspace installer.
 
Adds a menu command to the active workspace which can launch the VectorMEP workspace installer.
 +
 +
 +
Instead of downloading the file, you can also run this code from the Vectorscript editor:<syntaxhighlight lang="pascal" line="1">
 +
PROCEDURE AddMenu;
 +
VAR
 +
DoRestart :BOOLEAN;
 +
BEGIN
 +
DoRestart := False;
 +
wsEditBegin('Hippocode'); { the retina icon will be picked automatically}
 +
wsEditAddMenu( 'VM_CW_Premium' );
 +
DoRestart := wsEditEnd( DoRestart );
 +
END;
 +
 +
RUN(AddMenu);
 +
</syntaxhighlight>

Latest revision as of 08:39, 23 February 2021

Summary

Adds a menu command to the active workspace which can launch the VectorMEP workspace installer.


Instead of downloading the file, you can also run this code from the Vectorscript editor:

 1 PROCEDURE AddMenu;
 2 VAR
 3 	DoRestart :BOOLEAN;
 4 BEGIN
 5 	DoRestart := False;
 6 	wsEditBegin('Hippocode'); { the retina icon will be picked automatically}
 7 	wsEditAddMenu( 'VM_CW_Premium' );
 8 	DoRestart := wsEditEnd( DoRestart );
 9 END;
10 
11 RUN(AddMenu);

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current05:58, 21 February 2021 (248 bytes)Admin (talk | contribs)Adds a menu command to the active workspace which can launch the VectorMEP workspace installer.

The following page uses this file: