programs like citrix provide application windows on the local desktop which are accessed from portal programs like ica32.exe, or iexplorer.exe
While a single local executable is running locally, you are accessing any number of distinct applications. Currently Manictime can only extract info for these programs into the Documents timeline, but often these would be more appropriately treated as distinct groups on the Application timeline.
The CustomTitle mechanism should be enhanced to be able to extract a disctinct group from the window titles of such windows, so that and Application can be extracted from one part of the title, and possibly a Document or other element from other parts, either in a single regex evaluation of the title, or in one.
Once and application is identified, where appropriate, allow it to be mapped to an existing executable for which manictime can extract the document info from the remainder of the line.
e.g.
I run the following apps via Citrix:
Fenics
Opics
Derivatech
and the following via IE:
HP QualityCenter
Anthill
...
These are more appropriately treated as "apps" rather than documents or Web sites.
for the Citrix hosted apps, the title bar is generally the same is it would be if the apps were run natively on the local host, so one should be able to extract Document info from it, if one is able to identify the application itself from the window title.