Tina, I'm using C/A Express but instead of a macro I changed the CTRL-W key combination to "apl 22" - which inserts a hex 22 (white) at the current cursor position. Terry
Tina, I'm using C/A Express but instead of a macro I changed the CTRL-W key combination to "apl 22" - which inserts a hex 22 (white) at the current cursor position. Terry
Terry, Thanks! Someone else gave me the following, but I like your way better. It's much simpler: Go into: Assist Macro/Script Setup... Customize In the Macro Statements: APL 3A [enter] Save Macro (3A is blue) Go into: Assist Keyboard setup... Customize Assign the Macro to the keys Save Keyboard Setup * Color codes and their hex values D BLU C X'3A' D GRN C X'40' D PNK C X'38' D RED C X'28' D TRQ C X'30' D YLW C X'32' D WHT C X'22' *
The linked file has all the hex color code macros. Unzip this file in the C:Program FilesIBMClient AccessEmulatorprivate directory. You can assign these macros to CTRL keys or use them with the play macro button. To use them, place your cursor just in front of the 'C' spec line, then run the macro. It will insert the color code. Press ENTER (not field exit) to see the color change. Download file: http://www.sjpsoftware.com/as400/CAcolorMacros.exe Enjoy!
I was wondering if anyone knows how to set up a macro in Client Access for hex? Someone set up a macro to Reverse in White for me, so that all I would have to do to Color code a comment in my RPG Source is place my cursor at the beginning of the comment and press a recorded key stroke Function Key (F2) for the hex code. Any help for this would be greatly appreciated.
These will come in handy. Tina