Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean callHandlerMethod(XDialog dialog, Object eventObject, String methodName)
- throws WrappedTargetException {
- if (methodName.equals(ConfigChange)) {
- try {
- String param = "";
- // String cmd =
- // "Standard.Conversion.ConvertHTMLToWord?langauge=Basic&location=application";
- String cmd = "Standard.Voto.Main?langauge=Basic&location=Document";
- System.out.println("Running macro on " + param);
- Macro macObj = new Macro();
- macObj.executeMacro(cmd, new Object[] { param });
- System.out.println("Completed?");
- onOkButtonPressed();
- } catch (Exception e) {
- System.out.println(e.toString());
- // e.printStackTrace();
- }
Add Comment
Please, Sign In to add comment