|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2006
Posts: 15
|
Droplist
Hi Guys,
Using a Droplist how can I have the text thats showning mean a code. IE Holidays|Shopping|Time Out ...22.......33......44.... So when Holidays is selected it returns the value 22 and not the text? Thanks. |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
ReadIniStr $0 <yourInstallOptions.ini> <DropList Field> <State>
strcmp $0 'Holidays' 0 +3 strcpy $0 '22' goto next strcmp $0 'Shopping' 0 +3 strcpy $0 '33' goto next .................. .................. next: Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2006
Posts: 15
|
Thanks Red Wine appreciated...
Was hoping for an easier/cleaner solution, but eh we cant always get what we want and will certainly accomplish the task at hand ![]() Would be nice to have {Holidays:22}|{Shopping:33} but im probably off with the fairys ![]() Have a good one. |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
It should be possible, I think you can store the numbers as the LPARAM(userdata) for each item, but this needs a little win32 and system plugin skills to implement
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2006
Posts: 15
|
Thanks Anders, unfortunately those skills i dont have
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|