Home > Community > Forums > Custom IC SKILL > Find nested commands

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Find nested commands 

Last post Fri, May 17 2013 11:45 AM by dmay. 5 replies.
Started by psill00 16 May 2013 10:54 AM. Topic has 5 replies and 658 views
Page 1 of 1 (6 items)
Sort Posts:
  • Thu, May 16 2013 10:54 AM

    • psill00
    • Top 500 Contributor
    • Joined on Tue, Jan 15 2013
    • Posts 18
    • Points 330
    Find nested commands Reply

     Is there a way to find the nested commands?

    • Post Points: 20
  • Thu, May 16 2013 11:10 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,587
    • Points 15,915
    Re: Find nested commands Reply

     I am sorry, but do you realise how vague your question is? Please clarify and you may get a useful answer. Please read the forum guidelines.

    • Post Points: 20
  • Thu, May 16 2013 11:18 AM

    • psill00
    • Top 500 Contributor
    • Joined on Tue, Jan 15 2013
    • Posts 18
    • Points 330
    Re: Find nested commands Reply

     Sorry about that.

    Is there a way to find the nested commands in Layout/Schematic session.

    Current number and name of commands nested:

    A particular window that has the commands nested.

    Canceling all nested commands.

     

    • Post Points: 20
  • Fri, May 17 2013 1:47 AM

    Re: Find nested commands Reply

    I don't believe so (for any of these).

    Andrew.

    • Post Points: 20
  • Fri, May 17 2013 10:59 AM

    • psill00
    • Top 500 Contributor
    • Joined on Tue, Jan 15 2013
    • Posts 18
    • Points 330
    Re: Find nested commands Reply

     Do know how well it works, but just something I have messing around with

     

     foreach(win hiGetWindowList() printf("%s " win) println(hiGetCurrentCmd(win)))

    • Post Points: 20
  • Fri, May 17 2013 11:45 AM

    • dmay
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 394
    • Points 7,420
    Re: Find nested commands Reply

    If you have a skillDev license (Skill Development), you can try using the stacktrace() command.

     stacktrace(
    [ g_unevaluated ]
    [ x_depth ]
    [ x_skip ]
    [ p_port ]
     )
         => x_result

    Prints the functions on the stack and their arguments to the depth specified, or to the bottom of the stack.

    Derek

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by psill00 at 16 May 2013 10:54 AM. Topic has 5 replies.