Question #184141 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184141

RaiMan posted a new comment:
*** from other question: /// pls. stay here

I need to get access to methods from org.sikuli.script.OS; in Java.

import org.sikuli.script.OS;

//Field
private OS myOS;.

public void Test(){

tempString = "filename";
  dir = "\\\\server\\folder\\folder\\";
  path = os.path.join(dir, tempString);
}

I get an error when I try to use os.path.join

Shouldn't I get access to all the methods in the class after I use the
import statement?

There seems to be no other way. I tried a work around, but it failed.
It's either I succeed with opening the file or opening the application.
Never both.

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

Reply via email to