Question #243428 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243428
Status: Answered => Open
Jeremy is still having a problem:
Sikuli isn't acting on the GUI. It is acting on another program.
This is how I have Sikuli setup in my program:
[code]
package com.main;
import org.sikuli.script.*;
public class GameReboot implements Runnable {
SikuliGameLibrary m_sikulilibrary;
public GameReboot()
{
m_sikulilibrary = new SikuliGameLibrary();
}
public void RunProcess() throws FindFailed
{
Screen s = new Screen();
s.click(.....
[/code]
This is how I call it:
[code]
@Override
public void actionPerformed(ActionEvent arg0) {
if (m_viewlistiner != null)
{
m_viewlistiner.ViewChanged(true);
}
try {
GameReboot m_test = new GameReboot();
m_test.RunProcess();
} catch (FindFailed e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
[/code]
--
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 : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp