Start CE with Array of Byte as default scan value
So i was annoyed to change the '4 bytes' to 'Array of Bytes' everytime when starting CE.
Following code will set Array of Byte as default option.
Copy the code, create a textfile, rename it to 'defaultaob.lua' and put it in CE's autorun folder.
for CE 6.2 use this:
vt=component_findComponentByName(getMainForm(),"VarType") combobox_setItemIndex(vt,8) f=getMethodProperty(vt,"OnChange") f(vt) pa=component_findComponentByName(getMainForm(),"miPresetAll") menuItem_doClick(pa)
for CE 6.3 use this:
getMainForm().VarType.ItemIndex=8 getMainForm().VarType.OnChange(getMainForm().VarType) getMainForm().miPresetAll.doClick()