SKILL Q: Function to return app assoc. with a window?

Discussion in 'Cadence' started by Edward, Jul 11, 2007.

  1. Edward

    Edward Guest

    I'm writing a bindkey that decides what command to send based on my
    being in either Virtuoso or VirtuosoXL. Is there a window-id property
    or a function to give me this info?

    Thanks in advance,

    Edward
     
    Edward, Jul 11, 2007
    #1
  2. Edward,

    hiGetAppType(
    w_windowId
    )
    => t_applicationType | nil

    Returns the application type of a window.


    hiGetAppType(hiGetCurrentWindow())
    =>
    "layout"

    After invoking VXL:
    hiGetAppType(hiGetCurrentWindow())
    =>
    "Virtuoso XL"


    -
    Suresh
     
    Suresh Jeevanandam, Jul 15, 2007
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.