use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method controlCommandVariant.
private Variant controlCommandVariant(String title, String text, String control, String command, String option) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant vControl = new Variant(control);
Variant vCommand = new Variant(command);
Variant vOption = new Variant(option);
Variant[] params = new Variant[] { vTitle, vText, vControl, vCommand, vOption };
return autoItX.invoke("ControlCommand", params);
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method controlDisable.
public boolean controlDisable(String title, String text, String control) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant vControl = new Variant(control);
Variant[] params = new Variant[] { vTitle, vText, vControl };
Variant result = autoItX.invoke("ControlDisable", params);
return oneToTrue(result.getInt());
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method regEnumVal.
public String regEnumVal(String keyname, int instance) {
Variant vKeyname = new Variant(keyname);
Variant vInstance = new Variant(instance);
Variant[] params = new Variant[] { vKeyname, vInstance };
return autoItX.invoke("RegEnumVal", params).getString();
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method mouseWheel.
public void mouseWheel(String direction, int clicks) {
Variant vDirection = new Variant(direction);
Variant vClicks = new Variant(clicks);
Variant[] params = new Variant[] { vDirection, vClicks };
autoItX.invoke("MouseWheel", params);
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method winMove.
public void winMove(String title, String text, int x, int y) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant vX = new Variant(x);
Variant vY = new Variant(y);
Variant[] params = new Variant[] { vTitle, vText, vX, vY };
autoItX.invoke("WinMove", params);
}
Aggregations