Sign in to follow this  
Followers 0
enaiman

GuiCtrlGetState

4 posts in this topic

I've been looking on GuiCtrlGetState topics to get an answer but none of them offered it.

I know that it should be used to get the state of other controls (not radio or checkboxes)

What I try to do is to get the state of an inputbox - enabled/disabled

I can't use a statement like:

If GuiCtrlGetState ($input) = $GUI_ENABLE then

because it doesn't work

The way to get it to work is to change that statement as:

If GuiCtrlGetState ($input) = 80 then

I don't know what I'm missing - I know that I should be able to get it working using $GUI_ENABLE instead of 80 and $GUI_DISABLE instead of 144 but ... I can't see how.

Thanks for anyone helping me with this matter.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites



I have one problem in GUICtrlSetState not run ... i set time for script not replay

Error in script ?

Case  $msg =  $buff1check
      if GUICtrlRead($buff1check) = 1 Then
          send("{F2}")
            GUICtrlSetState($buff1input, $GUI_ENABLE)
            GUICtrlSetState($buff1input, $GUI_ENABLE)
        Else
          GUICtrlSetState($buff1duration, $GUI_DISABLE)
          GUICtrlSetState($buff1input, $GUI_DISABLE)
          
      EndIf
oÝ÷ Ù'+_ºYZºÚ"µÍÚ[ÛYH ÑÕRPÛÛÝ[Ë]LÉÝÂÒ[ÛYH  Ñ]K]LÉÝÂÛØ[   ÌÍÕ[YHHÛØ[ ÌÍÕ[YHÛØ[  ÌÍÕ[YÈHÛØ[    ÌÍÕ[YHÛØ[  ÌÍÕ[YHHÜ
    ][ÝÑÕRPÛÛÜ[ÙI][ÝËJBÕRPÜX]J   ][ÝÐYÚ[ÜØYRËQPU   ][ÝÊHÈUHTÐYÚ[[ÈÙÜ^BÝZXÝÜX][X[
    ][ÝÔÙÜ[XHHYÚ[ÜØYRËQPU   ][ÝËL
BÌÍÜÜÜÈHÕRPÝÜX]P]Û    ][ÝÔÕTÔÉ][ÝËLÌL
BÌÍÜÝHÕRPÝÜX]P]Û    ][ÝÔÕT   ][ÝËMLL
BÌÍÙ^]HÕRPÝÜX]P]Û    ][ÝÑVU    ][ÝËMÌL
BÌÍØYXÚXÚÈHÕRPÝÜX]PÚXÚØÞ
    ][ÝÉ][ÝË
LMLKJBÌÍØYÚXÚÈHÕRPÝÜX]PÚXÚØÞ
    ][ÝÉ][ÝË
LNKJBÌÍØYØÚXÚÈHÕRPÝÜX]PÚXÚØÞ
    ][ÝÉ][ÝË
LLKJBÌÍØYÚXÚÈHÕRPÝÜX]PÚXÚØÞ
    ][ÝÉ][ÝË
LKJBÌÍØYXÚXÚÈHÕRPÝÜX]PÚXÚØÞ
    ][ÝÉ][ÝË
LÌKJBÌÍØYY][ÛHÕRPÝÜX]R[]
    ][ÝÌ  ][ÝË
ËMLË

BÌÍØY][ÛHÕRPÝÜX]R[]
    ][ÝÌL ][ÝË
ËNË

BÌÍØYÙ][ÛHÕRPÝÜX]R[]
    ][ÝÌÍL   ][ÝË
ËLË

BÌÍØY][ÛHÕRPÝÜX]R[]
    ][ÝÍLI][ÝË
ËË

BÌÍØYY][ÛHÕRPÝÜX]R[]
    ][ÝÍÌI][ÝË
ËÌË

BÌÍØYZ[]HÕRPÝÜX]R[]
    ][ÝÌI][ÝËMÍKMLËÍK
BÌÍØY[]HÕRPÝÜX]R[]
    ][ÝÌ][ÝËMÍKNËÍK
BÌÍØYÚ[]HÕRPÝÜX]R[]
    ][ÝÌÉ][ÝËMÍKLËÍK
BÌÍØY[]HÕRPÝÜX]R[]
    ][ÝÍ  ][ÝËMÍKËÍK
BÌÍØYZ[]HÕRPÝÜX]R[]
    ][ÝÍI][ÝËMÍKÌËÍK
BÕRTÙ]Ý]H

BÕRPÝÜX]QÜÝ
    ][ÝÐY]]É][ÝËL
K
JBÕRPÝÜX]SX[
    ][ÝÐ[YÛÈÝÜÌXZÈ  ][ÝË

BÕRPÝÜX]SX[
    ][ÝÐÛÛÜ]YHÈ[ÈÜÈYË
[HÙXÛÛÊI][ÝË
MJBÕRPÝÜX]SX[
    ][ÝÔÙ[XÚ[ÛHÜÈ[YÜÈ[ÛHÝHÜÈÚÚ[  ][ÝË
Ì
BÕRPÝÜX]SX[
    ][ÝÕØÉ][ÝË
L
BÕRPÝÜX]QÜÝ
    ][ÝÉ][ÝËÌLL

KÌ
BÕRPÝÜX]SX[
    ][ÝÕ[É][ÝËLL
BÕRPÝÜX]QÜÝ
    ][ÝÉ][ÝËMKLL
LÌ
BÕRPÝÜX]SX[
    ][ÝÜÙXÜÉ][ÝËLÌMN
BÕRPÝÜX]SX[
    ][ÝÜÙXÜÉ][ÝËLÌN
BÕRPÝÜX]SX[
    ][ÝÜÙXÜÉ][ÝËLÌN
BÕRPÝÜX]SX[
    ][ÝÜÙXÜÉ][ÝËLÌ
BÕRPÝÜX]SX[
    ][ÝÜÙXÜÉ][ÝËLÌÎ
BÕRPÝÜX]SX[
    ][ÝÔÛÝ  ][ÝËNL
BÕRPÝÜX]QÜÝ
    ][ÝÉ][ÝËMÌLL
Ì
BÌÍØYÛÝHÕRPÝÜX]UÝÛ    ÌÍØYZ[]
BÌÍØYÛÝHÕRPÝÜX]UÝÛ    ÌÍØY[]
BÌÍØYÜÛÝHÕRPÝÜX]UÝÛ  ÌÍØYÚ[]
BÌÍØYÛÝHÕRPÝÜX]UÝÛ    ÌÍØY[]
BÌÍØYÛÝHÕRPÝÜX]UÝÛ    ÌÍØYZ[]
BÕRPÝÙ][Z]
    ÌÍØYÛÝK
HÕRPÝÙ][Z]
    ÌÍØYÛÝK
BÕRPÝÙ][Z]
    ÌÍØYÜÛÝK
HÕRPÝÙ][Z]
    ÌÍØYÛÝK
BÕRPÝÙ][Z]
    ÌÍØYÛÝK
BËKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWTÔVBÐYÚ[[È]Û[[Ý[ÛÂÚ[HBH   ÌÍÛÙÈHÕRQÙ]ÙÊ
BHÙ[XÝHØÙH  ÌÍÛÙÈH ÌÍÜÜÜÂBH[ ][ÝÙÜÚ[ÜØYÜÚ[ÜØY^I][ÝÊBBHÜ[ÈÜÂØÙH ÌÍÛÙÈH ÌÍÑÕRWÑUSÐÓÔÑB^]ÛÜØÙH  ÌÍÛÙÈH ÌÍÑÕRWÑUSÓRSSRVBBPØÙH   ÌÍÛÙÈH ÌÍÑ^]BH^]ÛÜBHBHØÙH   ÌÍÛÙÈH ÌÍØYXÚXÚÂHYÕRPÝXY
    ÌÍØYXÚXÚÊHHH[BHÙ[
    ][ÝÞÑI][ÝÊBBHÕRPÝÙ]Ý]J ÌÍØYZ[]  ÌÍÑÕRWÑSPJBBHÕRPÝÙ]Ý]J ÌÍØYZ[]  ÌÍÑÕRWÑSPJBBQ[ÙBBHÕRPÝÙ]Ý]J   ÌÍØYY][Û    ÌÍÑÕRWÑTÐPJBBHÕRPÝÙ]Ý]J   ÌÍØYZ[]  ÌÍÑÕRWÑTÐPJBBHH[YØÙH    ÌÍÛÙÈH ÌÍØYÚXÚÂHYÕRPÝXY
    ÌÍØYÚXÚÊHHH[BHÕRPÝÙ]Ý]J   ÌÍØY[]   ÌÍÑÕRWÑSPJBBHÕRPÝÙ]Ý]J ÌÍØY[]   ÌÍÑÕRWÑSPJBH[ÙBBHÕRPÝÙ]Ý]J    ÌÍØY][Û ÌÍÑÕRWÑTÐPJBBHÕRPÝÙ]Ý]J   ÌÍØY[]   ÌÍÑÕRWÑTÐPJBH[YØÙH  ÌÍÛÙÈH ÌÍØYØÚXÚÂHYÕRPÝXY
    ÌÍØYØÚXÚÊHHH[BHÕRPÝÙ]Ý]J ÌÍØYÚ[] ÌÍÑÕRWÑSPJBBHÕRPÝÙ]Ý]J ÌÍØYÚ[] ÌÍÑÕRWÑSPJBH[ÙBBHÕRPÝÙ]Ý]J    ÌÍØYÙ][Û   ÌÍÑÕRWÑSPJBBHÕRPÝÙ]Ý]J ÌÍØYÚ[] ÌÍÑÕRWÑSPJBH[YØÙH    ÌÍÛÙÈH ÌÍØYÚXÚÂHYÕRPÝXY
    ÌÍØYÚXÚÊHHH[BHÕRPÝÙ]Ý]J   ÌÍØY[]   ÌÍÑÕRWÑSPJBBHÕRPÝÙ]Ý]J ÌÍØY[]   ÌÍÑÕRWÑSPJBH[ÙBBHÕRPÝÙ]Ý]J    ÌÍØY][Û ÌÍÑÕRWÑTÐPJBBHÕRPÝÙ]Ý]J   ÌÍØY[]   ÌÍÑÕRWÑTÐPJBH[YHØÙH ÌÍÛÙÈH ÌÍØYXÚXÚÂHYÕRPÝXY
    ÌÍØYXÚXÚÊHHH[BHÕRPÝÙ]Ý]J  ÌÍØYZ[]  ÌÍÑÕRWÑSPJBBHÕRPÝÙ]Ý]J ÌÍØYZ[]  ÌÍÑÕRWÑSPJBH[ÙBBHÕRPÝÙ]Ý]J    ÌÍØYY][Û    ÌÍÑÕRWÑTÐPJBBHÕRPÝÙ]Ý]J   ÌÍØYZ[]  ÌÍÑÕRWÑTÐPJBH[YHÙ[
    ][ÝÞÑ_I][ÝÊB[Ù[XÝÌÍÛÙÈHÕRQÙ]ÙÊ
BÙ[XÝBØÙH   ÌÍÛÙÈH ÌÍÜÝÛY
L
BBZYÕRPÝXY
    ÌÍØYXÚXÚÊHH[BIÌÍÙ][ÛHÕRPÝXY
    ÌÍØYY][ÛH
L
ÈLBZY  ÌÍÕ[YHH[BBNØYÝYBBÙ[
    ][ÝÞÑI][ÝÊBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBIÌÍÕ[YHH[Y[]

BBBÛY
Ì
BBQ[ÙRY[YY ÌÍÕ[YJH  ÝÈ    ÌÍÙ][Û[BBNØYÈ^YBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYZ[]
JBBBIÌÍÕ[YHH[Y[]

BBBÛY
Ì
BBQ[YQ[YNÌYZYÕRPÝXY
    ÌÍØYÚXÚÊHH[BIÌÍÙ][ÛHÕRPÝXY
    ÌÍØY][ÛH
L
ÈLBZY  ÌÍÕ[YH[BBNØYÝYBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBIÌÍÕ[YH[Y[]

BBBÛY
Ì
BBQ[ÙRY[YY ÌÍÕ[YH   ÝÈ    ÌÍÙ][Û[BBNÐY^YBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBÙ[
ÕRPÝXY
    ÌÍØY[]
JBBBIÌÍÕ[YH[Y[]

BBBÛY
Ì
BBQ[YQ[YNÌÜYZYÕRPÝXY
    ÌÍØYØÚXÚÊHHH[BIÌÍÙ][ÛHÕRPÝXY
    ÌÍØYÙ][ÛH
L
ÈLBZY  ÌÍÕ[YÈH[BBNØYÝYBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBIÌÍÕ[YÈH[Y[]

BBBÛY
Ì
BBQ[ÙRY[YY ÌÍÕ[YÊH ÝÈ    ÌÍÙ][Û[BBNØYÈ^YBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBÙ[
ÕRPÝXY
    ÌÍØYÚ[]
JBBBIÌÍÕ[YÈH[Y[]

BBBÛY
Ì
BBQ[YQ[YNÍYZYÕRPÝXY
    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or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0