 |
gentee.com Gentee Programming Language and CreateInstall forums.
|
| View previous topic :: View next topic |
| Author |
Message |
VitAl2013 Guest
|
Posted: Tue Aug 26, 2008 9:37 am Post subject: Подскажите как реализовать. |
|
|
Как организовать проверку некоего условия и потом в зависимости от результата проверки выбрать одну из 2х радиокнопок выводимых программой?
Как я пытался:
Получаю результирующий макрос (status) из реестра.
Условие: если status равен one то... и вот тут хотелось чтоб вышло окно с 2я радиокнопками одна из которых подсвечена.[/i] |
|
| Back to top |
|
 |
VitAl2013 Guest
|
Posted: Tue Aug 26, 2008 10:23 am Post subject: |
|
|
Всё допетрил.
Вот код sp файла кому надо.
| Code: | <project version = 1 program = Scriptiuss >
<name >
Script Name
</>
<runshell >
1
</>
<recompile >
1
</>
<exe >
</>
<icon >
</>
<autoexe >
0
</>
<savelog >
0
</>
<check1 >
autoclose
</>
<check2 >
runagain
</>
<script >
<_ id = regget >
<cmd >
cmdregget
</>
<desc >
</>
<root >
curuser
</>
<subkey >
Environment
</>
<key >
LANG
</>
<macro >
status
</>
<more >
</>
</>
<_ id = if >
<cmd >
cmdif
</>
<desc >
</>
<macro1 >
status
</>
<iftype1 >
equal
</>
<value1 >
RU
</>
<orand >
and
</>
<macro2 >
</>
<iftype2 >
equal
</>
<value2 >
</>
<_ id = macros >
<cmd >
cmdmacros
</>
<desc >
</>
<data >
on = 1
off = 0
</>
</>
</>
<_ id = if >
<cmd >
cmdif
</>
<desc >
</>
<macro1 >
status
</>
<iftype1 >
equal
</>
<value1 >
EN
</>
<orand >
and
</>
<macro2 >
</>
<iftype2 >
equal
</>
<value2 >
</>
<_ id = macros >
<cmd >
cmdmacros
</>
<desc >
</>
<data >
on = 0
off = 1
</>
</>
</>
<_ id = logtext >
<cmd >
cmdlogtext
</>
<desc >
</>
<data >
Value is not correct.
LANG = #status#
</>
</>
<_ id = options >
<cmd >
cmdoptions
</>
<desc >
</>
<opttype1 >
radio
</>
<text1 >
Russian ON, Russian OFF
</>
<macro1 >
on, off
</>
<opttype2 >
check
</>
<text2 >
</>
<macro2 >
</>
<opttype3 >
check
</>
<text3 >
</>
<macro3 >
</>
</>
<_ id = if >
<cmd >
cmdif
</>
<desc >
</>
<macro1 >
on
</>
<iftype1 >
equal
</>
<value1 >
1
</>
<orand >
and
</>
<macro2 >
</>
<iftype2 >
equal
</>
<value2 >
</>
<_ id = regset >
<cmd >
cmdregset
</>
<desc >
</>
<root >
curuser
</>
<subkey >
Environment
</>
<key >
LANG
</>
<value >
RU
</>
<more >
</>
</>
</>
<_ id = if >
<cmd >
cmdif
</>
<desc >
</>
<macro1 >
off
</>
<iftype1 >
equal
</>
<value1 >
1
</>
<orand >
and
</>
<macro2 >
</>
<iftype2 >
equal
</>
<value2 >
</>
<_ id = regset >
<cmd >
cmdregset
</>
<desc >
</>
<root >
curuser
</>
<subkey >
Environment
</>
<key >
LANG
</>
<value >
EN
</>
<more >
</>
</>
</>
</>
</> |
Жаль но для меня получившаяся программа оказалась неприменимой. Так как визуально мне такое не подходит (лог, кнопки и прочие признаки скриптуса). |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|