Autoit window spy returns:

Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Title <<<<<<<<<<<<<
Bank

(  classname=CabinetWClass  )

>>>>snipped a chunk out<<<<<<

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<
(1): 2 objects
(2): 999 bytes
(3): My Computer

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
C:\Documents and Settings\steve.fisher\Desktop\Bank
C:\Documents and Settings\steve.fisher\Desktop\Bank
2 objects
FolderView


My (simple) Test Script is:

FilePath= Win.ChildTextByIndex(Caption, 1) 
debug Visible Window Text is -  &(Filepath)


This is not working on an explorer window.  If I click the test button
whilst in button setup dialogue it reurns &ok as expected, but returns
nothing at all when I click the button on the explorer window.

I assume it is because as I click the button, the window loses focus
momentarily - is there a workround ???

Anyway lunch is over so I better get back to wok :)

Steve











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/
 



Reply via email to