When a certain macro runs, I want th To put the question differently: When a certain macro runs, I want the submit window it opens to behave slightly differently than if the window opens any other way. How can I have an active link detect the fact that the window was opened by a certain macro?
The bigger story is that I have an external application doing a DDE call to Remedy User to open the ticket window for submit and populate a few fields, including requester's login. I want a user lookup to happen with login as the key, if the ticket submit window opens this way. --- My current solution is to have the macro invoked by DDE set a hidden temp field to a certain value. Then an active link firing on "Window Loaded" has a run if that is true only if that field has that value. This method is not working, because this active link sees this field as blank. However, when the window opens, I see the value in the field. So, the field is getting the value after Window Loaded event has completed. Weird. That's not what I read on the 6.3 Basic manual and that's not how I thought it worked. --- On Thu, 4/22/10, Rabi Tripathi <[email protected]> wrote: > From: Rabi Tripathi <[email protected]> > Subject: On "Window Loaded" active link doesn't see field values??? > To: [email protected] > Date: Thursday, April 22, 2010, 1:18 PM > I have an active link firing on > "Window Loaded". It sees a field as having no value when it > fires. That makes me not happy, because the value is there > or should be there. > > The submit window is opened by a macro with a parameter, > and the macro is correctly populating the parameter value on > the field. I can see it when the window is fully open > (meaning active links have all completed firing). > > When a submit window opens, my understanding is that by the > time "Window Loaded" event occurs, all field values (set by > "set to default" feature, sent with a macro etc) should > already be there on the fields, such that on Window Loaded > active links should see the values. > > Why is my active link not seeing the field value? I put a > debug message, and yes, the field is blank when the active > links fires. But the value gets to the field, when the > window has opened fully. > > ???? > > ARS 6.3. > > from the doc: > Window Loaded Executes after all the data values have been > loaded into a > Submit or Search window (from defaults, from a copy to > new, > or from an open window action). > > > > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

