Search in sources :

Example 26 with Variant

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();
}
Also used : Variant(com.jacob.com.Variant)

Example 27 with Variant

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());
}
Also used : Variant(com.jacob.com.Variant)

Example 28 with Variant

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);
}
Also used : Variant(com.jacob.com.Variant)

Example 29 with Variant

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);
}
Also used : Variant(com.jacob.com.Variant)

Example 30 with Variant

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);
}
Also used : Variant(com.jacob.com.Variant)

Aggregations

Variant (com.jacob.com.Variant)100 Dispatch (com.jacob.com.Dispatch)45 ActiveXComponent (com.jacob.activeX.ActiveXComponent)18 ComFailException (com.jacob.com.ComFailException)17 Message (de.janrufmonitor.exception.Message)13 ICallerList (de.janrufmonitor.framework.ICallerList)13 ZipArchiveException (de.janrufmonitor.repository.zip.ZipArchiveException)13 SQLException (java.sql.SQLException)13 ArrayList (java.util.ArrayList)13 List (java.util.List)13 IAttribute (de.janrufmonitor.framework.IAttribute)6 SimpleDateFormat (java.text.SimpleDateFormat)2 Date (java.util.Date)2 SafeArray (com.jacob.com.SafeArray)1 ICaller (de.janrufmonitor.framework.ICaller)1 IMultiPhoneCaller (de.janrufmonitor.framework.IMultiPhoneCaller)1 IPhonenumber (de.janrufmonitor.framework.IPhonenumber)1 UUID (de.janrufmonitor.util.uuid.UUID)1 Properties (java.util.Properties)1