
This is the initial code. Produces options in grey. Perhaps is needed a third option to select background color :
1. Button Title
2. Program to run
3. Color for background selection....
Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
if !numRows if !numCols Loop % numRows*numCols { } Edit1:=1 Butt1:=1 { Title:=Title%Index% Edit%Index%:=Index Butt%Index%:=Index } Run: tpp:= % "Path" %A_GuiControl% Run % %tpp% Edit: Gui +Disabled cIndex:=%A_GuiControl% FileSelect:=cIndex FileSelect: Gui +OwnDialogs FileSelectFile, Path%cIndex%, 3, %A_ProgramFiles%, Select program to run with button ?%cIndex%, Programs(*.exe;*.lnk;*.bat) 2GuiClose: SelOk: Path%cIndex%:=SelPath Title%cIndex%:=SelTitle






Logged
