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

E

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 wrote:
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,

hiGetAppType(
w_windowId
)
=> t_applicationType | nil

Returns the application type of a window.


hiGetAppType(hiGetCurrentWindow())
=>
"layout"

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


-
Suresh
 

Welcome to EDABoard.com

Sponsor

Back
Top