Copy Active Window Title to Clipboard Action

You can use the "Run Real java script action" with this script:

(async ()=> {


let windowTitle = await get_string_variable("focused_window_title");

await set_clipboard_content({content:windowTitle, format: 'NSPasteboardTypeString'})


returnToBTT(windowTitle);


})();