• 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. Custom IC SKILL
  3. Bindkey to navigate DialogBoxes

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 13360
  • Members are here 0
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

Bindkey to navigate DialogBoxes

shayansh
shayansh over 14 years ago

Hi all,

I have tried to find the solution on this forumn, but have been unable to find it. I appologize in advance if the solution is somewhere and i couldnt find it.

What i would really like to do is the following:

Assign a bindkey which opens a dialog box, then changes a parameter inside the dialog box, and finally closes the dialog box.

I havent been able to make it such that after the dialog box is opened, the rest of the commands for the bindkey are executed. If i press the bind key again after bringing focus to the main window, then it will perform the rest of the actions. I would really like to automate all of this.

 

Thank you very much,

Shayan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Hi Shayan,

    Not sure you really mean a dialog box or a form? Either way, the best solution is to try to avoid a form interaction at all and use a direct (non user interface) function to do what you want. Failing that, the approach that usually works is:

    hiRegTimer("functionToInteractWithFormOrDialog()" 0)
    bringUpTheFormOrDialog()

    The hiRegTimer() allows a SKILL expression (in a string) to be executed n tenths of a second after the UI toplevel has returned. So this means that if the form or dialog is blocking SKILL execution (which is usually the case), it will be executed after the form has appeared.

    If you search around for hiRegTimer (probably on this forum, but certainly on http://support.cadence.com ) you'll find many examples, I'm sure.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shayansh
    shayansh over 14 years ago

     Hi Andrew,

     

    I cant thank you enough, it worked perfectly. 

     With regards to doing it through actual code and not menues, i would like to do this, but i dont know where i can find the commands. Right now, i just press the menues and see what shows up in the ICFB window. Is there a list of functions somewhere?

     

    Thanks,

    Shayan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Hi Shayan,

    Yes, that's what the manuals are for! If using IC5141 you can use "cdsdoc" or look in the pdf files in <ICinstDir>/doc . The pdf files are mainly in directories that begin "sk" for SKILL (e.g. skdfref, sklayoutref etc). You can also use the "cdsFinder" utility to give you a searchable list of public function names - but more details will be in the documentation.

    Or you can use cdnshelp from a later release to index your IC5141 documentation - that's much nicer than the (now replaced) cdsdoc.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 14 years ago

    Hi Shayan,

    In addition to what Andrew said, we both made some similar recommendations in another post, in case you didn't see it, here is my recent post.

    Hopefully this will help you also!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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