3226
Post New Requests Here / Another Little modification to menuak.ahk
« Last post by Contro on June 10, 2012, 04:20 PM »I would like to assign a light color definable to each launch option...

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....

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....
Code: Autohotkey [Select]
- if !numRows
- if !numCols
- Loop % numRows*numCols
- {
- }
- Edit1:=1
- Butt1:=1
- {
- Title:=Title%Index%
- Edit%Index%:=Index
- Butt%Index%:=Index
- }
- return
- Run:
- tpp:= % "Path" %A_GuiControl%
- Run % %tpp%
- return
- Edit:
- Gui +Disabled
- cIndex:=%A_GuiControl%
- FileSelect:=cIndex
- return
- FileSelect:
- Gui +OwnDialogs
- FileSelectFile, Path%cIndex%, 3, %A_ProgramFiles%, Select program to run with button ?%cIndex%, Programs(*.exe;*.lnk;*.bat)
- return
- 2GuiClose:
- return
- SelOk:
- Path%cIndex%:=SelPath
- Title%cIndex%:=SelTitle
- return

Recent Posts





