Search in sources :

Example 86 with Variant

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

Example 87 with Variant

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

Example 88 with Variant

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

Example 89 with Variant

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

Example 90 with Variant

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);
}
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