[Sikuli-driver] [Question #709040]: Cntrl+S

2024-01-18 Thread lemonia
New question #709040 on SikuliX: https://answers.launchpad.net/sikuli/+question/709040 I want to know how to send a command to a browser or text editor to save a page. I tried these options, but it doesn't work: hover(Location(984, 469)) #type("s", KEY_CTRL) type("s", Key.CTRL) wait(7) SikuliX 2

Re: [Sikuli-driver] [Question #709040]: Cntrl+S

2024-01-18 Thread lemonia
Question #709040 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/709040 lemonia posted a new comment: This only works in a text editor, not in a browser. Here the letter S is uppercase. hover(Location(984, 469)) type("S", KEY_CTRL) #type("S", Key.CTRL) wait(7) -- You received

Re: [Sikuli-driver] [Question #709040]: Cntrl+S

2024-01-18 Thread lemonia
Question #709040 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/709040 lemonia posted a new comment: Unfortunately, next time it didn’t work in the text editor either. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX

Re: [Sikuli-driver] [Question #709040]: Cntrl+S

2024-01-18 Thread lemonia
Question #709040 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/709040 lemonia posted a new comment: Also I don't know how to simulate pressing the up arrow. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___

Re: [Sikuli-driver] [Question #709040]: Cntrl+S

2024-01-19 Thread RaiMan
Question #709040 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/709040 Status: Open => Answered RaiMan proposed the following answer: To use type(), the target window must have focus, which is not the case at script start. You might use click() to activate the target wind

Re: [Sikuli-driver] [Question #709040]: Cntrl+S

2024-01-19 Thread lemonia
Question #709040 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/709040 Status: Answered => Solved lemonia confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answ