I want to know how to save the content of a control edit to a .txt file, on exit or on button click, doesn't matter. This is what I have so far. Please note, this it's not for a game, it's for a software named dota keys, I've posted another tread and confusion arise because the path include "games", but it's not game automation... #include "macros.txt" #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <EditConstants.au3> #include <StaticConstants.a