Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Jeki27610
6 discussion posts
Hello, I need to create a window position profile for a program that has multiple windows in it, and the difference is the window name. The issue is that the program is meant to open different projects, which means that the window names are going to change in some way.

If the project is called MyDemo, one window will be called "Build - MyDemo", the second one will be called "Explorer - MyDemo", the third one "Debug - MyDemo", and so on.

I want the profile to be applicable on any project. Is there a way of making the profile looks for a pattern? For instance, could it look for a window named "Build - *", where star would be substituted with any amount of characters, so that it would use any of the following names: "Build - MyDemo", "Build - MyOtherProject", "Build - YetAnotherProject", and so on?
Jan 12, 2024  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
The Window Text match condition is a contains match, so just putting "Build" in will search for anything with Build in it.

Hope that helps!
Jan 12, 2024  • #2
User Image
Jeki27610
6 discussion posts
Quote:
The Window Text match condition is a contains match, so just putting "Build" in will search for anything with Build in it.

Hope that helps!


It doesn't seem to be the case. As I mentioned, I have three windows: "Debug - Something", "Build - Something", and "Explorer - Something". Leaving them without the "Something" after the hyphen results into moving all the windows of that process (even the ones that are not present in the list) following the position and the resolution of the first one.

I guess it works when the process name is different, but in my case all the windows are made of the same process, so that's why it doesn't work.
Jan 13, 2024  • #3
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Could you send me a screenshot of the "Edit" window from your profile?
Jan 16, 2024  • #4
User Image
Jeki27610
6 discussion posts
Quote:
Could you send me a screenshot of the "Edit" window from your profile?
• Attachment [protected]: image.png [24,173 bytes]
Jan 16, 2024  • #5
User Image
Jeki27610
6 discussion posts
Quote:
Could you send me a screenshot of the "Edit" window from your profile?
• Attachment [protected]: image.png [30,121 bytes]
Jan 16, 2024  • #6
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Thanks for sending that over. Just to confirm, you tested with just "Debug", "Explorer" and "Build" in the Window text?
Jan 18, 2024  • #7
User Image
Jeki27610
6 discussion posts
Quote:
Thanks for sending that over. Just to confirm, you tested with just "Debug", "Explorer" and "Build" in the Window text?


Yeah, I have, but by trying it once again it seems to work.

Previously it was also using the window that is called "ProjectName: [path/to/project/root] -- "path/to/current/open/file"" that I haven't mentioned so far, and it was applying the coords and size of the "Build - ProjectName". Apparently the issue was that the file I had open had the word "build" in it. Example of the actual name: ""mtd [I:/work/p4_workspaces/mtd] – …\\Config\\DefaultEditor.ini""

So, do you know whether it's possible to somehow filter out certain windows? It shouldn't be a deal breaker since the majority of the files don't have any "build", "debug", or "explorer" in them, but it's still annoying to get this result when they happen to be open when applying a profile.

Maybe it helps, but such windows (the ones containing paths) are meant to be always fullscreen. With this information, I thought that I could use a common pattern, yet different from other things, to make it always fullscreen, so that it's not affected by other profile elements (especially "Debug" and "Build"), but using "] – " did not yield anything. In fact, the window is not affected by the DisplayFusion at all.
Jan 18, 2024  • #8
User Image
Jeki27610
6 discussion posts
Nevermind, I fixed the issue I mentioned above by adding a whitespace after "Debug", "Build" etc, resulting them to be "Debug ", "Build " etc.

My files never contain whitespaces, so the window with paths in the title should be never affected by the mentioned windows.

At this point the profile works perfectly and on every project I decide to work on today without any need to change the window names in the profile! I really appreciate your help!

That's my final profile for anyone stumbling upon the same issue.
• Attachment [protected]: 2024-01-18_21-18.png [21,179 bytes]
Jan 18, 2024  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)