Home > Community > Forums > PCB SKILL > Detect the presence of a form or an active command

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: *

 Detect the presence of a form or an active command 

Last post Wed, Mar 27 2013 6:39 PM by SkilSiao. 3 replies.
Started by SkilSiao 27 Mar 2013 12:25 AM. Topic has 3 replies and 727 views
Page 1 of 1 (4 items)
Sort Posts:
  • Wed, Mar 27 2013 12:25 AM

    • SkilSiao
    • Top 200 Contributor
    • Joined on Tue, Oct 11 2011
    • Posts 38
    • Points 565
    Detect the presence of a form or an active command Reply

    Hi all,

    is there a function to detect the presence of a form of a command?

    I have a recorded script like this

    axlShell("pbar create; setwindow form.pbarCreate; ...")

    is there any function to check that the form.pbarCreate is present after

    the first command of "pbar create"? Or the command of "pbar create" is still active ?

     Thanks in advance.

    • Post Points: 20
  • Wed, Mar 27 2013 5:39 AM

    • fxffxf
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • ., AK
    • Posts 296
    • Points 4,710
    Re: Detect the presence of a form or an active command Reply

     Try axlUIWExposedWindowName("pbarCreate") if it returns t the window is opened.

    • Post Points: 5
  • Wed, Mar 27 2013 5:40 AM

    • fxffxf
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • ., AK
    • Posts 296
    • Points 4,710
    Re: Detect the presence of a form or an active command Reply

     Oops correct function, try axlUIWExposedWindowByName("pbarCreate") if it returns t the window is opened.

    • Post Points: 20
  • Wed, Mar 27 2013 6:39 PM

    • SkilSiao
    • Top 200 Contributor
    • Joined on Tue, Oct 11 2011
    • Posts 38
    • Points 565
    Re: Detect the presence of a form or an active command Reply

    Hi fxffxf,

    Thanks alot. the function is axlUIWExposeByName(t_windowName).

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by SkilSiao at 27 Mar 2013 12:25 AM. Topic has 3 replies.