use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method regEnumKey.
public String regEnumKey(String keyname, int instance) {
Variant vKeyname = new Variant(keyname);
Variant vInstance = new Variant(instance);
Variant[] params = new Variant[] { vKeyname, vInstance };
return autoItX.invoke("RegEnumKey", params).getString();
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method processSetPriority.
public boolean processSetPriority(String process, int priority) {
Variant vProcess = new Variant(process);
Variant vPriority = new Variant(priority);
Variant[] params = new Variant[] { vProcess, vPriority };
Variant result = autoItX.invoke("ProcessSetPriority", params);
return oneToTrue(result.getInt());
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method winSetState.
public void winSetState(String title, String text, int flag) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant vFlag = new Variant(flag);
Variant[] params = new Variant[] { vTitle, vText, vFlag };
autoItX.invoke("WinSetState", params);
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method controlView.
private Variant controlView(String title, String text, String control, String command, String option, String option2, String function) {
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 vOption2 = new Variant(option2);
Variant[] params = new Variant[] { vTitle, vText, vControl, vCommand, vOption, vOption2 };
return autoItX.invoke(function, params);
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method iniDelete.
public boolean iniDelete(String filename, String section, String key) {
Variant vFilename = new Variant(filename);
Variant vSection = new Variant(section);
Variant vKey = new Variant(key);
Variant[] params = new Variant[] { vFilename, vSection, vKey };
Variant result = autoItX.invoke("IniDelete", params);
return oneToTrue(result);
}
Aggregations