Ok Bruce your gonna laugh at me but I figure I need to embarrass myself since you've been trying to help. I had an option selected in my VDesktop settings.
Keep Taskbar button order It appears that with this select when power pro switches desktops it picks whichever desktop is on the far left hand side of the task bar. It's a bit weird, but I disabled it and my desktops are keeping active windows as it should be now. Thanks for the help. ----- Original Message ---- From: brucexs <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, December 1, 2006 9:57:16 AM Subject: [power-pro] Re: Virtual Desktop select last active window > > It doesn't appear that PowerPro is making any attempt to select the window, it seems that that it's only tracking one active window for all desktops. PowerPro definitely tries to track and restore foreground window by desktop. Please try the following experiment exactly as described so we can by sure we are comparing the same situation. 1. Shutdown all windows except PowerPro. Make sure you are on desktop. Uncheck "move window to current desktop if switchto when active applies when launched" on vdesk setup. 2. Create the following hot keys F2 *vdesk switchto 1 F3 *vdesk switchto 2 3. Use start|run to run notepad, explorer (just type program name into run box). Activate notepad. 4. Press F3 to switch to desktop 2. 5. Use start|run to run calc, regedit (just type program name into run box). Activate regedit. 6. Use F2 and F3 to switch between desktops. Note the active window. 7. Try changing foreground window on either or both desktops and switching with the F keys. In my tests on two different XP machines, the correct window stays activated. Do you see that same in your tests? If it consistently fails, I have no explanation. If it fails sporadically, I would be disappointed but not surprised (and I would have no immediate solution). > > Now to your other question I am using keys to change desktops. IE- ALT-1,2,3,4 to switch desktops. I use the KeyTrap module to do this since the built in PowerPro key macros don't appear to be able to map holding the key down as a key. For example I wanted to be able to hold alt and cycle through 1,2,3,4 desktops without releasing the alt key. However it doesn't actually change the desktop until I release the alt. KeyTrap has been able to do this, but I wanted to mention it in case it helps. Possibly keytray or the above approach is interfering with the way PowerPro captures and resets the foreground window on each desktop. One thing you may want to try is created a "run after switching" command list with the command win.debug(win. caption(" rawactive" )) to show the window that is active after the switch. I suspect it is a bar. >> Is it possible to make a command the would select (activate) the foremost window? Since this would be the window on top it would most likely be the last one in use. I could then implement this under the desktop switch. As it happens, I added an undocumented win.topwindow to return the handle of the topmost window in the z-order to the win.dll I uploaded yesterday. It is _not_ the one in 4.6; you have to download win.dll from the usual folder where I put the beta's on webeddie. After you download, win.show(win. topwindow) or possibly win.show(win. topwindow, 3) <!-- #ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family:Georgia; } #ygrp-text p{ margin:0 0 1em 0; } #ygrp-tpmsgs{ font-family:Arial; clear:both; } #ygrp-vitnav{ padding-top:10px; font-family:Verdana; font-size:77%; margin:0; } #ygrp-vitnav a{ padding:0 1px; } #ygrp-actbar{ clear:both; margin:25px 0; white-space:nowrap; color:#666; text-align:right; } #ygrp-actbar .left{ float:left; white-space:nowrap; } .bld{font-weight:bold;} #ygrp-grft{ font-family:Verdana; font-size:77%; padding:15px 0; } #ygrp-ft{ font-family:verdana; font-size:77%; border-top:1px solid #666; padding:5px 0; } #ygrp-mlmsg #logo{ padding-bottom:10px; } #ygrp-vital{ background-color:#e0ecee; margin-bottom:20px; padding:2px 0 8px 8px; } #ygrp-vital #vithd{ font-size:77%; font-family:Verdana; font-weight:bold; color:#333; text-transform:uppercase; } #ygrp-vital ul{ padding:0; margin:2px 0; } #ygrp-vital ul li{ list-style-type:none; clear:both; border:1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight:bold; color:#ff7900; float:right; width:2em; text-align:right; padding-right:.5em; } #ygrp-vital ul li .cat{ font-weight:bold; } #ygrp-vital a { text-decoration:none; } #ygrp-vital a:hover{ text-decoration:underline; } #ygrp-sponsor #hd{ color:#999; font-size:77%; } #ygrp-sponsor #ov{ padding:6px 13px; background-color:#e0ecee; margin-bottom:20px; } #ygrp-sponsor #ov ul{ padding:0 0 0 8px; margin:0; } #ygrp-sponsor #ov li{ list-style-type:square; padding:6px 0; font-size:77%; } #ygrp-sponsor #ov li a{ text-decoration:none; font-size:130%; } #ygrp-sponsor #nc { background-color:#eee; margin-bottom:20px; padding:0 8px; } #ygrp-sponsor .ad{ padding:8px 0; } #ygrp-sponsor .ad #hd1{ font-family:Arial; font-weight:bold; color:#628c2a; font-size:100%; line-height:122%; } #ygrp-sponsor .ad a{ text-decoration:none; } #ygrp-sponsor .ad a:hover{ text-decoration:underline; } #ygrp-sponsor .ad p{ margin:0; } o {font-size:0;} .MsoNormal { margin:0 0 0 0; } #ygrp-text tt{ font-size:120%; } blockquote{margin:0 0 0 4px;} .replbq {margin:4;} --> ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com [Non-text portions of this message have been removed]
