Question #160928 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160928
Status: Needs information => Answered RaiMan proposed the following answer: generally: if something is highlighted in an input field, you just start typing, and the highlighted text is overwritten. so in your case you simply do this: click (imgofSavePageAs) wait (5.0) # 0.5 seconds should be sufficient paste("MyNewFileName") #use paste instead of type for text type(Key.ENTER) BTW: type (Key.DELETE, KEY_DELETE + "MyNewFileName") is not correct: - a KEY_DELETE is not defined - the second parameter of type only accepts the modifier keys like KEY_CTRL ... it should read: type (Key.DELETE) type ("MyNewFileName") but I recommend th above mentioned solution -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp