--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > For the above, it seems the script is running fine. Also, I thought > that maybe the wait until was failing and the script was running > before the program was ready for the keys, but your tests found that > even a with long fixed wait after the wait until, the keys still > don't seem to work. > > I see you are tabbing twice and then sending i. I suspect this > means that you are using tab to move the input focus to a different > window. Are you sure the input focus always starts at the same > place? > > What happens if you manually type two tabs then i? > > Also try > keys {slow}{tab}{tab}i > > keys {fast}{tab}{tab}i
Hi Bruce, Yes, I am changing the focus to a different window. The program is a software database. It starts up in a 2 pane view - the left window has 2 categories (folders) just below the name of the database file - Installed and Uninstalled. The right window (which is the active one upon startup), shows each program in the category. The active entry in the second window is always the first program listed. Now, what this means is that all programs are shown when you open the database. I am only interested in having the installed programs shown (which means clicking on installed in the left window). I would normally use a mouse click to do so, but I thought PowerPro may be able to automate it for me (either by 2xTab and then i or Shift+Tab and then i - i being for 'installed'). However, as I mentioned, it will never work on the first attempt. I thought the first program opening being in the windows cache may have some effect on the wait statements (maybe the wait statements are somehow affected by the time it takes to actually open the program - first attempt being slower is affected, subsequent attempts while program is still in cache are not affected). When I try keys (slow), the program window opens up in the background and thus the tab_i does not work (not on any attempt). Keys (fast) does exactly the same thing. CM 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/
