--- Alan Martin <[EMAIL PROTECTED]> wrote: > After some more testing: > The problem of finding the handle of the child window > is now solved by the new win.getfocus. Thanks Bruce :-) > > At least it works if win.getfocus is included in the command > or in the More commands of a hotkey. It also works if it is > included in a script file run from a hotkey. > It doesn't usually work if it is in a script run from a menu item, > where the menu drops down from a bar button. I guess after > the bar is focussed, it cannot retrieve the previously focussed > child window.
You may try: win.setpreviousfocus win.getfocus FYI, I don't know what it is. Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
