import sys
import os
from pathlib import Path

sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from tools.autonomous_map_runner import ScreenCapturerGDI

def main():
    capturer = ScreenCapturerGDI()
    out_path = r"C:\Projects\AutoPOE2\captures\current_screen_status.png"
    ok = capturer.capture(out_path)
    print("Capture ok:", ok)

if __name__ == "__main__":
    main()
