[Sikuli-driver] [Question #679238]: Alt+Shift+C doesn't work

2019-03-15 Thread Max Musterman
New question #679238 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679238

Hello, I just updated from Sikuli 1.1.2 to 1.1.3 and updated my Java to 11 and 
now I can no longer close my scripts with Alt+Shift+C. 

-- 
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 #678977]: My testing app turns blank when clicking on find function on Sikuli IDE on MAC

2019-03-15 Thread Juliana Xiao
Question #678977 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678977

Status: Answered => Solved

Juliana Xiao confirmed that the question is solved:
The problem is gone later.

-- 
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread RaiMan
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Status: Open => Answered

RaiMan proposed the following answer:
--- If am using robot class of java to open run command and launch
command prompt

I have seen that of course.

That is why I asked:
Why don't you use the SikuliX features like

type("r", Key.WIN)

instead of
  robot.keyPress(KeyEvent.VK_WINDOWS);
robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_R);

the idea is to get rid of your own Robot instance.

-- 
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread Chetan B
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Status: Answered => Open

Chetan B is still having a problem:
If am using robot class of java to open run command and launch command
prompt
Using Sikuli i am not able to launch cmd.exe using App.open

On Fri, Mar 15, 2019 at 2:52 PM RaiMan 
wrote:

> Your question #679226 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/679226
>
> Status: Open => Answered
>
> RaiMan proposed the following answer:
> the only thing I can see, is that you are mixing the SikuliX AWT Robot
> (type()) with your own Robot instance.
>
> Not sure what that might do.
>
> Why don't you use the SikuliX features like
>
> type("r", Key.WIN)
>
> instead of
>   robot.keyPress(KeyEvent.VK_WINDOWS);
> robot.keyPress(KeyEvent.VK_R);
> robot.keyRelease(KeyEvent.VK_WINDOWS);
> robot.keyRelease(KeyEvent.VK_R);
>
> BTW: 1.1.2 is no longer supported for such special cases.
> Use 1.1.4 snapshot
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/679226/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/679226
>
> You received this question notification because you asked the question.
>

-- 
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread RaiMan
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Status: Open => Answered

RaiMan proposed the following answer:
the only thing I can see, is that you are mixing the SikuliX AWT Robot
(type()) with your own Robot instance.

Not sure what that might do.

Why don't you use the SikuliX features like

type("r", Key.WIN)

instead of
  robot.keyPress(KeyEvent.VK_WINDOWS);
robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_R);

BTW: 1.1.2 is no longer supported for such special cases.
Use 1.1.4 snapshot

-- 
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread Chetan B
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Chetan B posted a new comment:
I open 3 command prompts using

 Robot robot = new Robot();

robot.keyPress(KeyEvent.VK_WINDOWS);

robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_R);
Thread.sleep(2000);
screen.type("C:\\Windows\\System32\\cmd.exe");
robot.keyPress(KeyEvent.VK_ENTER);

do some operations and then open notepad and save some data and close
all command prompt and notepad.

This is the complete process i do.

After the code execution is done ,when i type anything in my keyboard,none of 
the keys will work.
After press CTRL+ALT+C combination keyboard beomes normal.

-- 
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread Chetan B
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Chetan B gave more information on the question:
Hi ,

Sorry i sent wrong code,please find correct code below:

package Devicetesting;

import org.apache.commons.codec.binary.Hex;
import org.apache.commons.io.FileUtils;
import org.apache.commons.net.util.Base64;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.sikuli.script.FindFailed;
import org.sikuli.script.Key;
import org.sikuli.script.Pattern;
import org.sikuli.script.Screen;
import org.testng.Reporter;
import org.testng.annotations.Test;
import org.testng.asserts.SoftAssert;

import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Date;

public class SikuliCommand extends Base1 {
public static String line = null;
public static String actualresult = "";
public static String expectedresult =
"df090223edc2330870f8e7100010048e0890b3d51f30010002007c170109020007050b020001070500010b030040bd8052c1021076bffaad8520be7092354574d8d391";
public static int i;
public static boolean flag = false;
@Test
public static void Sikuli() throws IOException,
InterruptedException, FindFailed, AWTException {


try {
Screen screen = new Screen();

//
Runtime.getRuntime().exec("C:\\Windows\\System32\\cmd.exe");

//  App app=new App("notepad.exe");
//  App.open("C:\\Windows\\System32\\cmd.exe");
Robot robot = new Robot();

robot.keyPress(KeyEvent.VK_WINDOWS);

robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_R);
Thread.sleep(2000);
screen.type("C:\\Windows\\System32\\cmd.exe");
robot.keyPress(KeyEvent.VK_ENTER);


Pattern commandprompt1 = new
Pattern("C:\\Sikulinotepad\\Commandprompt.png");
/*
Pattern commandprompt1 = new Pattern("C:\\Sikulinotepad\\Notepadedit.png");
Pattern commandprompt2 = new Pattern("C:\\Sikulinotepad\\Notepadpaste.png");
Pattern commandprompt3= new Pattern("C:\\Sikulinotepad\\Notepadfile.png");
Pattern commandprompt4 = new
Pattern("C:\\Sikulinotepad\\Notepadsaveas.png");
Pattern commandprompt5= new
Pattern("C:\\Sikulinotepad\\Notepadfilepath.png");
Pattern commandprompt6 = new
Pattern("C:\\Sikulinotepad\\Notepadfilesave.png");
Pattern commandprompt7= new Pattern("C:\\Sikulinotepad\\Notepadfile.png");
Pattern commandprompt8= new
Pattern("C:\\Sikulinotepad\\Notepadfilexit.png");
Pattern commandprompt9= new Pattern("C:\\Sikulinotepad\\Confirmsaveas.png");
// screen.click(commandC:prompt0);
C:
  Thread.sleep(2000);
screen.click(commandprompt1);
screen.click(commandprompt2);
screen
*/
Thread.sleep(3000);
screen.click(commandprompt1);

screen.type("title firstcommandprompt");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("cd/");

robot.keyPress(KeyEvent.VK_ENTER);
screen.type("cd dist-db-17-08-2018");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("acb-r2.0.exe entityfile_00-0F.yaml 9089");
robot.keyPress(KeyEvent.VK_ENTER);

//
//secondcommandprompt


robot.keyPress(KeyEvent.VK_WINDOWS);

robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_R);
Thread.sleep(2000);
screen.type("C:\\Windows\\System32\\cmd.exe");
robot.keyPress(KeyEvent.VK_ENTER);

Thread.sleep(3000);
screen.click(commandprompt1);

screen.type("title Secondcommandprompt");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("cd/");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("cd dist-db-17-08-2018");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("echo  %date%-%time%");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("receive.exe 21020");
robot.keyPress(KeyEvent.VK_ENTER);

//Third command prompt


robot.keyPress(KeyEvent.VK_WINDOWS);

robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_WINDOWS);
robot.keyRelease(KeyEvent.VK_R);
Thread.sleep(2000);
screen.type("C:\\Windows\\System32\\cmd.exe");
robot.keyPress(KeyEvent.VK_ENTER);

Thread.sleep(3000);
screen.click(commandprompt1);

screen.type("title Thirdcommandprompt");
robot.keyPress(KeyEvent.VK_ENTER);
screen.type("cd

Re: [Sikuli-driver] [Question #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread Chetan B
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Status: Needs information => Open

Chetan B gave more information on the question:
Hi,

Yes I type in command prompt ,below is the code.

Maven dependency:

com.sikulix
sikulixapi
*1.1.2*



code :


package Devicetesting;

import com.relevantcodes.extentreports.ExtentReports;
import com.relevantcodes.extentreports.ExtentTest;
import com.relevantcodes.extentreports.LogStatus;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.io.FileUtils;
import org.apache.commons.net.util.Base64;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.winium.DesktopOptions;
import org.openqa.selenium.winium.WiniumDriver;
import org.sikuli.script.*;
import org.sikuli.script.Screen;
import org.testng.Assert;
import org.testng.Reporter;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import org.testng.asserts.SoftAssert;

import java.awt.*;
import java.awt.event.KeyEvent;
import java.io.FileInputStream;
import java.io.IOException;

import java.net.MalformedURLException;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.*;
import java.io.*;

//@Listeners(Listner.TestngListner.class)

public class Gcs23 extends Base {
public static WiniumDriver driver1;

public static String line = null;
public static String actualresult = "";
public static String expectedresult =
"df090223edc2330870f8e7100010048e0890b3d51f30010002007c170109020007050b020001070500010b030040bd8052c1021076bffaad8520be7092354574d8d391";
public static int i;
public static boolean flag = false;
public static ExtentTest extentTest;

@Test
public static void Gcs23Fun() throws IOException, AWTException,
MalformedURLException, InterruptedException, IOException, FindFailed,
FileNotFoundException {

{
try {

// ExtentHtmlReporter  reporter=new
ExtentHtmlReporter("./AdvancedReports/Advancedreport.html");

ExtentReports report = new
ExtentReports("./AdvancedReports/Advancedreport.html", true);


// logger.loadConfig(new
File("C:\\Users\\bodkec1\\IdeaProjects\\winium\\src\\test\\java\\Devicetesting\\Extentconfig.html"));
// System.getProperty("user.dir")+"\\extent-config.xml
report.loadConfig(new
File("C:\\Users\\bodkec1\\IdeaProjects\\winium\\src\\test\\java\\Devicetesting\\extent-config.xml"));
//  ExtentTest logger1=new ExtentTest("Gcs23","Gcs23Fun");
extentTest = report.startTest("Gcs23");

// logger.startTest("")
//extent.attachReporter(reporter);

// reporter.loadConfig("./Devicetesting/Extentconfig.html");
//  ExtentTest logger=extent.createTest("DeviceTest Gcs23");
// reporter.config().setDocumentTitle("Device Testing Report");
//FirstCommandprompt:
DesktopOptions option = new DesktopOptions();
option.setApplicationPath("C:\\Windows\\system32\\cmd.exe");
WiniumDriver driver = new WiniumDriver(new
URL("http://localhost:";), option);
driver.findElementByClassName("#32769").click();

driver.findElementByClassName("#32769").sendKeys("cd..");
driver.findElementByClassName("#32769").submit();

driver.findElementByClassName("#32769").sendKeys("cd..");
driver.findElementByClassName("#32769").submit();
driver.findElementByClassName("#32769").sendKeys("cd..");
driver.findElementByClassName("#32769").submit();


driver.findElementByClassName("#32769").sendKeys(" cd
dist-db-17-08-2018");
driver.findElementByClassName("#32769").submit();
//  acb-r1.3.exe "entityfile_00-0F.yaml" 9089

driver.findElementByClassName("#32769").sendKeys("acb-r2.0.exe
\"entityfile_00-0F.yaml\" 9089");
driver.findElementByClassName("#32769").submit();
Thread.sleep(1);


//Second Command Prompt:
DesktopOptions option1 = new DesktopOptions();
option1.setApplicationPath("C:\\Windows\\system32\\cmd.exe");
driver1 = new WiniumDriver(new
URL("http://localhost:";), option1);
driver.findElementByClassName("#32769").click();

driver1.findElementByClassName("#32769").sendKeys("cd..");
driver1.findElementByClassName("#32769").submit();

driver1.findElementByClassName("#32769").sendKeys("cd..");
driver1.findElementByClassName("#32769").submit();

driver1.findElementByClassName("#3

[Sikuli-driver] [Bug 1818514] Re: [request] make SikuliX available for Python (C-based real Python)

2019-03-15 Thread RaiMan
** Description changed:

+ ** watch the development
+ https://github.com/RaiMan/sikulix4python
+ 
+ 
  currently the plan is to base the implementation on py4j
  
  some things have to be changed and added in SikuliX.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1818514

Title:
  [request] make SikuliX available for Python (C-based real Python)

Status in Sikuli:
  In Progress

Bug description:
  ** watch the development
  https://github.com/RaiMan/sikulix4python
  

  currently the plan is to base the implementation on py4j

  some things have to be changed and added in SikuliX.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1818514/+subscriptions

___
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] [Bug 1820258] Re: After running the sikuli script Keyboard freezes to come out of it we have to manually press control+Alt+C

2019-03-15 Thread RaiMan
should first be a question

** Changed in: sikuli
   Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/679226

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1820258

Title:
  After running the  sikuli script Keyboard freezes to come out of it we
  have to manually press control+Alt+C

Status in Sikuli:
  Invalid

Bug description:
  HI,

  
  I have run a script using sikuli to lauch a command prompt and do some 
operations and close it.

  Once the script execution is over keyboard will be freezed,if we press
  any keyboard key,it doesnt work.

  If we manually press keyboard with hot key CTRL+ALT+C keys,then it
  will be fine.

  
  Please do provide us the solution to it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1820258/+subscriptions

___
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread RaiMan
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Status: Open => Needs information

RaiMan requested more information:
what version of SikuliX?

How do you open the command prompt?

Are you typing into the command prompt?

-- 
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 #679226]: After running the sikuli script Keyboard freezes to come out of it we have to manually press control+Alt+C

2019-03-15 Thread RaiMan
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

RaiMan posted a new comment:
should first be a question

-- 
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


[Sikuli-driver] [Question #679226]: After running the sikuli script Keyboard freezes to come out of it we have to manually press control+Alt+C

2019-03-15 Thread Chetan B
New question #679226 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679226

HI,


I have run a script using sikuli to lauch a command prompt and do some 
operations and close it.

Once the script execution is over keyboard will be freezed,if we press any 
keyboard key,it doesnt work.

If we manually press keyboard with hot key CTRL+ALT+C keys,then it will be fine.


Please do provide us the solution to it.

-- 
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 #679226]: Keyboard frozen after script run --- need to press ctrl-alt-c

2019-03-15 Thread RaiMan
Question #679226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679226

Summary changed to:
Keyboard frozen after script run --- need to press ctrl-alt-c

-- 
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


[Sikuli-driver] [Bug 1820258] [NEW] After running the sikuli script Keyboard freezes to come out of it we have to manually press control+Alt+C

2019-03-15 Thread Chetan B
Public bug reported:

HI,


I have run a script using sikuli to lauch a command prompt and do some 
operations and close it.

Once the script execution is over keyboard will be freezed,if we press
any keyboard key,it doesnt work.

If we manually press keyboard with hot key CTRL+ALT+C keys,then it will
be fine.


Please do provide us the solution to it.

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1820258

Title:
  After running the  sikuli script Keyboard freezes to come out of it we
  have to manually press control+Alt+C

Status in Sikuli:
  New

Bug description:
  HI,

  
  I have run a script using sikuli to lauch a command prompt and do some 
operations and close it.

  Once the script execution is over keyboard will be freezed,if we press
  any keyboard key,it doesnt work.

  If we manually press keyboard with hot key CTRL+ALT+C keys,then it
  will be fine.

  
  Please do provide us the solution to it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1820258/+subscriptions

___
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] [Bug 1818514] Re: [request] make SikuliX available for Python (C-based real Python)

2019-03-15 Thread RaiMan
About py4j usage:

I already have a proof of concept.

Today I will add a new repo to GitHub: Sikulix4Python

where you can watch the goals and the development.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1818514

Title:
  [request] make SikuliX available for Python (C-based real Python)

Status in Sikuli:
  In Progress

Bug description:
  currently the plan is to base the implementation on py4j

  some things have to be changed and added in SikuliX.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1818514/+subscriptions

___
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 #679151]: using type("foo bar") does not type the text into remote desktop window

2019-03-15 Thread RaiMan
Question #679151 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679151

Status: Open => Answered

RaiMan proposed the following answer:
If focus is at the window, then on Windows not getting the typed
characters into the window usually is indeed due to blocking of non
keyboard input.

You might try to start the RD session from a command line in admin mode
(normally the way, to unblock)

Another option is to try with paste() after having allowed pasting
(ctrl-v) from the host to the RD window.

-- 
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


[Sikuli-driver] [Bug 1818514] Re: [request] make SikuliX available for Python (C-based real Python)

2019-03-15 Thread RaiMan
Good job - besides adding features (commits on GitHub) I did not yet
tell anything about that ;-)

Did you notice the following:
- when opening a .py script the bundlepath (the first place where images are 
looked for) is set to the containing folder (like it is with .sikuli scripts)

- of course you can use the setBundlePath() and ImagePath features to
point to other image folders

- a new feature special for .py: if the script contains a statement
setBundlePath("path to image folder")
then this of course will have the wanted effect at runtime, but now also for 
the IDE situation:
- when opening the file, this statement is processed and captured images will 
be stored there and shown as thumbs in the IDE
- if you add the statement after having opened it, switching to another tab and 
back will activate this feature as well as using Reset from the tab context 
menu.

The docs are still waiting to be filled with this information ;-)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1818514

Title:
  [request] make SikuliX available for Python (C-based real Python)

Status in Sikuli:
  In Progress

Bug description:
  currently the plan is to base the implementation on py4j

  some things have to be changed and added in SikuliX.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1818514/+subscriptions

___
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