Code: Select all
#Requires AutoHotkey v2.0
Global Self_edit := "Q" ;编辑模式开关
MsgBox "D:" . Self_edit
Code: Select all
Button3_Click(GuiCtrlObj, *) {
MsgBox "D:" . Self_edit
if (Self_edit = "Q"){
}
}
E:\AutoHotkey\demo\Mococo\main.ahk (126) : ==> This variable has not been assigned a value.
Specifically: local Self_edit (same name as a global)
Specifically: local Self_edit (same name as a global)
122: }
125: {
▶ 126: MsgBox("D:" . Self_edit)
128: If (Self_edit = "Q")
128: {