Foreground Window Object
Extension Name: Foreground Window Object
License: Free for all uses, no credit required.
Description: This is a simple extension that can retrieve information about the foreground window (the window the user has in focus).
Is there a way this extension can retrieve either:
Originally Posted by Jaffob
1/the file path of the current in focus window (eg C:/Bla/Notepad.exe).
2/The Program name of the focused window (eg. Notepad.exe)
I can see that I can get the window title but this comes in many forms (WIndows titles dont seem to follow a fixed format ) so its hard to get a real name of the product from it every time. (Notepad has 'untitled - Notepad' while Cinema4d has 'Cinema4d - main' for example)