Need help with auto full brightness when connected, started a macro and stuck

after some digging found this thread: