|
Jeff, I recorded "ALT + L" for marking a line, here's out it's saved in : C: \WDT400\macros\Markline.lx /*---------------------------------------------------------------*/ /* keystroke record and playback macro. Save to macros directory */ /* execute using 'macro macroFilename.' */ /*---------------------------------------------------------------*/ "check" "lxi LP_MARKLINE" Would you show me how to make a button on the toolbar? I'll then take that example to create "ALT + C", "ALT + M", "ALT + U", etc... buttons. Thanks, Frank Jeff@xxxxxxxxxx@midrange.com on 02/18/2003 04:07:52 PM Please respond to CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx> Sent by: code400-l-bounces@xxxxxxxxxxxx To: CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx> cc: Subject: Re: macro buttons for the tool bar For example: 'set actionbar.~Macros.RPG~COMMENT MACRO RPGCOMMENT' 'set toolbar.OPENRPG BITMAP _33 HELP "Open RPG source" 4 MACRO RPGOPEN' 'set toolbar.OPENDDS BITMAP _33 HELP "Open DDS source" 5 MACRO DDSOPEN' 'set toolbar.CreatePROC BITMAP_31 HELP "Create Procedure" 6 macro runjava LpexRPGProcSG' 'set toolbar.CreateDSPEC BITMAP_32 HELP "Create D-spec" 7 macro runjava LpexDSpecSG' 'set toolbar.COMPHEAD BITMAP _34 HELP "Insert RPGLE Compile Heading" 8 MACRO RPGLECOMPILE' /* Alt keys */ 'set action.a-t focus.row 3' /* Ctrl keys */ 'set action.c-c MACRO CLIPLINE COPY' 'set action.c-f MACRO ISD_FIND' 'set action.c-v MACRO CLIPLINE PASTE' 'set action.c-x MACRO CLIPLINE CUT' /* Other keys */ 'set action.del MACRO ISD_DELETE1' "John Larimer" <jklarimer@xxxxxxxxxxx> Sent by: code400-l-bounces@xxxxxxxxxxxx 02/18/2003 04:34 PM Please respond to CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx> To "CODE/400 Discussion & Support" <code400-l@xxxxxxxxxxxx> cc Subject Re: macro buttons for the tool bar Frank: You will want to use the 'SET' command and the 'TOOLBAR' parameter. Under 'Help' 'Editor Reference', you will find documentation for both commands and parameters. Other useful items you can 'SET' are: ACTION = Keyboard Key ACTIONBAR = Add items to the Menu Bar POPUPMENU = Right Mouse Click Good luck, John ----- Original Message ----- From: <fkany@xxxxxxxxxxxxxxxxxx> To: <code400-l@xxxxxxxxxxxx> Sent: Tuesday, February 18, 2003 1:09 PM Subject: macro buttons for the tool bar > I've just started using CODE/400 for editing RPG programs on a V5R2 box. > Is there a way to add a macro button to the tool bar? I would like to > record a macro for marking, unmarking, copying, and moving lines. Having > to press ALT + L, ALT + C, etc... everytime I want to copy a line seems to > slow me down when coding. > > TIA, > > Frank > > _______________________________________________ > This is the CODE/400 Discussion & Support (CODE400-L) mailing list > To post a message email: CODE400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/code400-l > or email: CODE400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/code400-l. > > NOTE: WDSc for iSeries disucssion has it's own mailing list. > Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-l > > _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries disucssion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-l _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries disucssion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-l
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.