If you want to find the dock window id, then you can do: dwindowId=deFindAssistant("Track Pattern" hiGetSessionWindow(hiGetCurrentWindow())) If you then want to find the name (which probably isn't necessary if you have the id above, but including for completeness), it would be: dwindowId->hiHandle BTW, it does seem that the deFindAssistant function works with just hiGetCurrentWindow() passed to it (not just the session window), but the documentation doesn't mention that as being supported - so probably best to provide the session window. Regards, Andrew.
↧