• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. How to color the message print from SKILL to CMD window

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 165
  • Views 14864
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to color the message print from SKILL to CMD window

Duc Nguyen SV
Duc Nguyen SV over 6 years ago

Hi ,

good day

I'm writing a SKILL

I'm looking a way to color the message print from SKILL to CMD window  (similar as what WARNING and ERROR message)?

The purpose for this is to highlight some important info to user.

Thanks in advance

  • Cancel
Parents
  • B Bruekers
    B Bruekers over 6 years ago

    This only works with the new command line history option enabled (which you show). 

    Use this format:

    axlMsgPut('("this is red %s" 3) "msg")

    axlMsgPut('("this is yellow %s" 2) "msg")

    The "msg' part you can use as input for the formatted string.

    Bram

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • B Bruekers
    B Bruekers over 6 years ago

    This only works with the new command line history option enabled (which you show). 

    Use this format:

    axlMsgPut('("this is red %s" 3) "msg")

    axlMsgPut('("this is yellow %s" 2) "msg")

    The "msg' part you can use as input for the formatted string.

    Bram

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • Duc Nguyen SV
    Duc Nguyen SV over 6 years ago in reply to B Bruekers

    Thank  B Bruekers so much, is there any others color ? I don't want it to duplicate the system notification color

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • B Bruekers
    B Bruekers over 6 years ago in reply to Duc Nguyen SV

    Something like this also works: axlMsgPut("<font color=LightCoral>Test</font>")

    So basically you can use HTML formatting...

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Duc Nguyen SV
    Duc Nguyen SV over 6 years ago in reply to B Bruekers

    Thank B Bruekers so much. it works ! ^^

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information