I'm currently writing a project Wizard Script and am trying to initialize the AddCompilerPage() directory boxes without much success! Can anyone give me any pointers?
I've looked at 'Operating on GUI controls' at
http://wiki.codeblocks.org/index.php?title=Wizard_Scripting_Commands and tried the following:
function OnEnter_CompilerPage(forward)
{
local wiz_type = Wizard.GetWizardType();
// we only care to initialize if going forward
if (forward)
{
Wizard.SetTextControlValue(_T("RelName"), _T("test1"));
Wizard.SetTextControlValue(_T("RelOut"), _T("test2"));
}
}
Not sure if this is the right approach or how to find the correct 'control_name' to use with Wizard.SetTextControlValue(). Any help would be greatly appreciated.