Skip to main content
1-Visitor
Jan 14, 2011 1:41 AM UTC
Question

launching a modal profiling dialog?

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
    Jan 14, 2011 2:43 AM UTC
    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 🙂


    Translate
    naglists1-VisitorAuthor
    1-Visitor
    Jan 20, 2011 9:18 PM UTC
    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 🙂
    >
    >
    >
    Translate
    18-Opal
    Jan 20, 2011 9:31 PM UTC
    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




    Translate
    naglists1-VisitorAuthor
    1-Visitor
    Jan 20, 2011 9:43 PM UTC
    if only.

    Translate