Python Forum

Full Version: Filename stamp script is needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Much thanks to all. I found the solution some days ago and I am attaching the code.

## autokey alt + shift + 1

import gi
gi.require_version("Wnck", "3.0")
from gi.repository import Wnck

scr = Wnck.Screen.get_default()
scr.force_update()
keyboard.send_keys(scr.get_active_window().get_name())
This issue was resolved but I encountered another problem in my recent post on the same subject
Pages: 1 2