2

なんらかの理由で、必要なスクリプトで autohotkey 文字列比較を機能させることができませんが、テスト スクリプトでは機能しています。

テスター

password = asdf

^!=::
InputBox,input,Enter Phrase,Enter Phrase,,,,,,,30,
if ( input == password ){
    MsgBox, How original your left home row fingers are
    Return
} else {
    MsgBox, You entered "%input%"
    Return  
}

主要

password = password

!^=::
InputBox,input,Enter Password,Enter Password,HIDE,,,,,,30,
if ( input == password ){
    MsgBox,"That is correct sir"
    ;Run,C:\Copy\Registry\disable.bat
    return
}else{
    MsgBox,That is not correct sir you said %input%
    Return
}

メインは私に無効を与え続けます。何か案は?

4

1 に答える 1

2

あなたの「メイン」スクリプトは問題なく動作します。

==コンパレータは大文字と小文字を区別します。

于 2013-07-27T03:19:33.353 に答える