Forums Bugs & issues Auto sign out options Reply To: Auto sign out options

#5172 Reply

Dale

Anyone who needs the above functionality in the meantime while it is being added to Axcrypt can use this autohotkey script. It will close axcrypt a short while after you open a file, logging you out and requireing password entry any time you open a file again.

—————————

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Persistent

settimer, kill, 20000
return

kill:
Process, Exist, AxCrypt.exe
sleep 10000
If ErrorLevel <> 0
Process, Close, AxCrypt.exe
return

——————————