I was editing my .ahk file which contains lots of stuff..
It worked without a flaw until I changed something that wasn't
in any connection with the following what so ever.
But all of a sudden it started complaining that EnableLeave()
function cannot contain functions..
I didn't change anything in the following code, or anything
that uses these functions.
Why did it start to give me errors all of a sudden?
Code:
DisableLeave()
{
WinGet, Manage, List, [ID=, , ,
Control, Disable, , Button9, ahk_id %Manage1%
Control, Disable, , Button9, ahk_id %Manage2%
}
EnableLeave()
{
WinGet, Manage, List, [ID=, , ,
Control, Enable, , Button9, ahk_id %Manage1%
Control, Enable, , Button9, ahk_id %Manage2%
}
[Title edited. Please write descriptive titles for your topics. ~jaco0646]