Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Visual Studio with Tool windows, window placement trigger.

Avatar from Gravatar.com
SurfRat
38 discussion posts
Hi,

I wish to create a trigger(s) to place VS in the following position:

See Image 1.

Here is my monitor configuration:

See image 2.

Because "Find Results" tool window always has "Project Name" (this changes all the time) as a title and changes its Window Class as well I have not been able to do this. The tool window is docked to the RHS of monitor 3 and takes up 1/2 the screen.

Do you have any ideas?

I asume you have VS. If not please let me know if you require more info.

Thanks

Mark.
• Attachment [protected]: Image 1.png [95,119 bytes]
• Attachment [protected]: Image 2.png [12,915 bytes]
Apr 23, 2020 (modified Apr 23, 2020)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
In the Trigger rule, you can disable the Window Class condition, and edit the Window Text condition so it just says
"Find Result"


That will make it match any window that starts with that text

Hope that helps!
Apr 24, 2020  • #2
Avatar from Gravatar.com
SurfRat
38 discussion posts
Thanks for your input but that will unfortunately not work. As you can see in the screenshot the window text is the VS solution name and not "Find Results".

Any other options?

Thanks

Mark.
• Attachment [protected]: Screenshot - 2020-04-25 09.46.23.png [57,360 bytes]
Apr 25, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah nuts, if that's the case, and the Window Class also changes each time, there isn't anything you can do there, unfortunately

If you have a limited number of projects, you could put all of the project names in the Window Text. Spaces are treates as an OR, so you'd do something like this:

project1 project2 project3 project4
27 days ago  • #4
Avatar from Gravatar.com
SurfRat
38 discussion posts
Thanks for your suggestion. I had already tried that with no luck.

I am investigating Window Position Profiles but for some reason VS does not get moved to the correct posion.

Any suggestions.

Image 1 and 2 are my DF settings.

Image 3 is VS with random posiions on main monitor.

Image 4 is what I expect after pressing Ctrl Alt V. Unfortunately I still have image 3. Note that Image 4 shows 2 windows split over 2 monitors.

Thanks

Mark.
• Attachment: Screenshot - 2020-05-12 11.28.17.png [14,098 bytes]
Screenshot - 2020-05-12 11.28.17.png
Screenshot - 2020-05-12 11.28.17.png
• Attachment: Screenshot - 2020-05-12 11.29.06.png [58,451 bytes]
Screenshot - 2020-05-12 11.29.06.png
Screenshot - 2020-05-12 11.29.06.png
• Attachment: Screenshot - 2020-05-12 11.29.20.png [214,480 bytes]
Screenshot - 2020-05-12 11.29.20.png
Screenshot - 2020-05-12 11.29.20.png
• Attachment: Screenshot - 2020-05-12 11.29.28.png [188,330 bytes]
Screenshot - 2020-05-12 11.29.28.png
Screenshot - 2020-05-12 11.29.28.png
13 days ago (modified 13 days ago)  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you manually add an entry for that NCrunch Tests window to the Window Position Profile and use the blue target picker to grab the info for that window, what is the Window Text?
9 days ago  • #6
Avatar from Gravatar.com
SurfRat
38 discussion posts
It is the same as this "Find Results tool window always has "Project Name" (this changes all the time)". I have 3 windows docked there and it has the project name.

Can Window Position Profiles arrange windows on demand and is this feature likely to work for me?
9 days ago  • #7
Avatar from Gravatar.com
SurfRat
38 discussion posts
I have found a manual solution. The solution using triggers with window save and restore was not at all reliable.

I have created on huge Window Position profile with all my commonly run apps. I manually trigger this with a hot key.

It looks like you cannot edit this once created. Can I add individual apps so I don't have to open everything when I create a new one?

Found it.
5 days ago (modified 5 days ago)  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for the updates! All good now then?
4 days ago  • #9
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply