Macro Fails When Unattended

A quick search of this forum threw up Screen Wake Password Entry Macro Or Avoid Screen Lock When Connected To Specific Wifi Macro Help which would imply entering the password in this state can't be done.