This is the whole code. Please change pictures if you want at your own look.
#NoTrayIcon
#include <GuiConstantsEx.au3>
#include <EditConstants.au3>
#include <File.au3>
Global $editfield
Global $logfileadd
Global $logfile
Global $nowopenlog
Global $donepic
Global $permitted
Global $prohibited
Opt("GuiOnEventMode", 1)
HotKeySet("+{F7}", "alloweverything")
HotKeySet("+{F11}", "looklogfile")
FileInstall("msgfile.txt", @TempDir & "\msgfile.txt", 1)
F