Open GoogleCodeExporter opened 9 years ago
I am also getting same issue java.lang.IllegalStateException: getInt() only legal on Variants of type VariantInt, not 8 while calling controlListViewGetItemCount Any one found solution for this?
Hi, Any luck on the above issue? I just encountered similar issue. Please share if you have a resolution. Thanks.
Change code AutoItX.java line 672 to
return Integer.parseInt( this.controlView( title, text, control, command, option, option2, "ControlListView").getString() );
This is my code, it works
private Variant errorCode = new Variant(1, true);
public Variant getErrorCode() {
return errorCode;
}
int errorCode = Integer.parseInt(getErrorCode().toString());
Original issue reported on code.google.com by
erez...@gmail.com
on 23 Jul 2014 at 1:10