This is your code I used...I didnt change anything from it def useSaveASDialog(filePath=None): from watsup.winGuiAuto import findTopWindow,findControl,setEditText from time import sleep
rVal = None handle = winGuiAuto.findTopWindow("Save As") sButton = winGuiAuto.findControl(handle,"&Save","Button") sEdit = winGuiAuto.findControl(handle, None, "Edit") if filePath != None: winGuiAuto.setEditText(sEdit, filePath) rVal = winGuiAuto.getEditText(sEdit) winGuiAuto.clickButton(sButton) return rVal So, in the interactive window I make an instantiation of it and this is what I get r = useSaveASDialog("C:\Downloads") Traceback (most recent call last): File "<interactive input>", line 1, in ? File "C:\My Documents\python scripts\mytest1.py", line 6, in useSaveASDialog handle = winGuiAuto.findTopWindow("Save As") File "C:\PYTHON23\lib\site-packages\watsup\winGuiAuto.py", line 158, in findTopWindow raise WinGuiAutoError("No top level window found for wantedText=" + WinGuiAutoError: No top level window found for wantedText='Save As', wantedClass=None, selectionFunction=None, maxWait=1, retryInterval=0.1 So, I fire up IE manually and find a link to click on that brings up the download window and the first window I run into is the File Download window with an Open, Save, Cancel, and More Info buttons. I click on Save and that brings up the Save As window, so from there I go back to PythonIDE and do the same command in the window and it PythonIDE crashes. The weird thing is though it puts the path inside the Filename text box. Just the path without the file. Ill be testing this more next week, so ill get back with you then. Thanks for the start though!! --Barry -- http://mail.python.org/mailman/listinfo/python-list