Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Nyss
5 discussion posts
I've just discovered the triggers function in the program and I've been playing with it a little... But I have a fairly odd scenario for one of my triggers, and I wanted to know if it's even possible to do and how I should do it:

When I turn on my PC there is one app that I normally open, and I always place it in a specific spot, at a specific size. This is all fine and easy to do, except I open this app twice, and the second window is at a different place and different size.

So, what I'd like the trigger to do is detect how many windows of this app are opened, and if there are none, place the new window in position#1, but if there is one or more currently opened, place it in position#2 instead.

Is this something I can do?
Dec 10, 2023  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't a way to do this, no. Does the second window have a different window title by any chance, or are they both exactly the same?
Dec 14, 2023  • #2
User Image
Nyss
5 discussion posts
Quote:
There isn't a way to do this, no. Does the second window have a different window title by any chance, or are they both exactly the same?


Technically it could, but that's because the title changes depending on what tab I have open in it... So it's not really guaranteed
Dec 14, 2023  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, there's a scripted function that might work for you: https://www.displayfusion.com/ScriptedFunctions/View/?ID=aa0ff53e-4b22-4f3c-86af-86622f2103f0

You'll have to modify it to launch your app, but it should hopefully do the job!
Dec 15, 2023  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)