Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 shareram proposed the following answer: you can use https://www.shareitforpcappdownload.com/ to download shareit application. this is the fastest file sharing application -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 wiliamdevlin proposed the following answer: in my opinion you should [URL='https://shareitdownload.net/']download shareit[/URL] to replace the existing application, this is also a very reliable file transfer application that I use and have not seen any errors, -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 RaiMan posted a new comment: sorry, have to correct the 1st line of the 2nd part of the snippet: np = App("testing.txt") np.focus() # we try to focus using a new App object -- 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
Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 RaiMan proposed the following answer: taking the following example: (supposing Notepad is closed) (you might have to fix the type()'s - I am on german Win7) App("Notepad").open(); wait(1) # opens a new Notepad window App("Editor").focus() # german: comes up with a different prog-name type("s", KEY_CTRL); wait(1) type("testing\n") # to give the window a name (mind overwrite situation) np = App("testing.txt") # the App instance Region(np.window()).highlight(2) # the Notepad window type(" ", KEY_ALT); wait(1); type("n") # the sequence to minimize wait(2) # it is minimized now np = App("testing.txt").focus() # we try to focus using a new App object Region(np.window()).highlight(2) # the Notepad window # nothing happens, because the window is at (-32000, -32000) # but it accepts type()'s type(" ", KEY_ALT); wait(1); type("w") # the sequence to restore the window the window you want, is restored when minimized. You could even check the x-value of the window region, to find out, whether it is minimized or not after the App.focus(). -- 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
Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 Status: Open => Answered Calle Rundgren proposed the following answer: Maybe this is not answering your question, but... I am able to focus on a minimized window by using App.focus(r"full path to .exe") Try that and maybe it would work. :) -- 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
Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 Status: Answered => Open Kc Liu is still having a problem: Thanks at 1: I understand. at 2: Should again failed to properly express my meaning. For example: Suppose I open a notepad and I minimize it. I can not App.focus () to find it? Or there are other ways to focus it? -- 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
Re: [Sikuli-driver] [Question #162050]: about App.focus() question
Question #162050 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/162050 Status: Open => Answered RaiMan proposed the following answer: --- at 1: App.focus() only works for ASCII-characters in the moment (see bug 784967) --- at 2: on this we have another bug: bug 682281 you might try the workaround: after firing App.focus() use: wait(1); type(" ", KEY_ALT); type("x") this accesses the window menu and opens window -- 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
[Sikuli-driver] [Question #162050]: about App.focus() question
New question #162050 on Sikuli: https://answers.launchpad.net/sikuli/+question/162050 About App.focus () use, would like to ask you two questions: 1 How can identify the title of the window in the Chinese text(code)? I want to focus only in the window title Chinese text(code), but with App.focus (), can not successfully focus to them. 2 Is there a way to focus a minimized window? I can not focus with it is minimized windows. Thanks Again! -- 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