Estuve haciendo pruebas.
Code: Select all
F11::
{
CENSURA = 1
msgbox ACTIVADO MODO PRUEBA
}
F12::
{
CENSURA = 0
msgbox DESACTIVADO MODO PRUEBA
reload
}
If CENSURA = 1
{
#IfWinActive , ahk_class Notepad
::PR::prueba
}
else
{
censura = 0
}
Return
Luego si vuelvo a pulsar F11, se activa de nuevo y asi, sucesivamente.
Agradeceria mucho la ayuda
Gracias de antemano.