Skip to main content
1-Visitor
January 14, 2011
Question

launching a modal profiling dialog?

  • January 14, 2011
  • 4 replies
  • 846 views
anyone know how to do this off-hand? I honestly haven't looked hard yet, so
don't you go look hard. BUT if you've just done it or something similar and
can throw me a codelet or point me in the right direction ... that'd be very
cool.

I want to be able to:

Do this thing.
Do that thing.
Launch the profiling dialog and wait for the author to profile.
Then move on to the next thing.
And the next.
And so on.


But the profiling dialog (epic_profiling::update_element_profile()) isn't
modal. "Then move on to the next thing." proceeds without waiting for the
profiling dialog to close.

--
Paul Nagai

    4 replies

    1-Visitor
    January 14, 2011
    I'm having a vision... yes, it's coming to me... it's...

    epic_profiling::update_element_profile(0, 0, 1, 0)

    (Sorry, been watching reruns of "Psych" lately...)

    -Brandon 🙂


    naglists1-VisitorAuthor
    1-Visitor
    January 20, 2011
    This didn't pan out unfortunately.

    update_element_profile(win, doc, suppressSelectionWarrning)

    The last determines whether you get notified that applying your profile
    selection will remove/override profiling from descendants of the selected
    element.

    Thanks, for the brain-time, though.


    On Thu, Jan 13, 2011 at 5:43 PM, Brandon Ibach <
    brandon.ibach@single-sourcing.com> wrote:

    > I'm having a vision... yes, it's coming to me... it's...
    >
    > epic_profiling::update_element_profile(0, 0, 1, 0)
    >
    > (Sorry, been watching reruns of "Psych" lately...)
    >
    > -Brandon 🙂
    >
    >
    >
    18-Opal
    January 20, 2011
    Hi Paul-



    Looking at the stock Arbortext code, I think that last flag Brandon
    mentions for the update_element_profile function (which controls whether
    the dialog is modal or not) is be another 5.4 addition not available in
    5.3.



    Ready to upgrade yet? 😉



    --Clay




    naglists1-VisitorAuthor
    1-Visitor
    January 20, 2011
    if only.