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?
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!
Could you send me a screenshot of the "Edit" window from your profile?
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]
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]
Thanks for sending that over. Just to confirm, you tested with just "Debug", "Explorer" and "Build" in the Window text?
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]