SG-1 Charpy
10 discussion posts
Hi,
I try to create a trigger to automatically switch 6 instance of the same software on my second screen and place them in a defined order. As shown in the attached screenshot.
I managed to place the first window but how to identify the others?
This would help me for my project !
• Attachment [protected]: CCS64.JPG [121,429 bytes]
Jan 31, 2017 (modified Jan 31, 2017)
•
#1
Does each one of those windows run in its own process?
Ok, thanks! It wouldn't be possible to distinguish these windows via Triggers, but you could create a Scripted Function to launch each instance and move it to a specific size and location. I've attached a sample for 2 instances. To add more instances to the script, just copy the second one and modify the x, y, width, and height values in the BFS.Window.SetLocation line.
Hope that helps!
SG-1 Charpy
10 discussion posts
Now here the script :
Thanks a lot Mr Keith Lammers for your help !!!
Awesome, glad to hear you were able to get it sorted!
Could you export the script from your DF settings and attach it so that I can have a quick look at it?
Greg Cantrell13682
2 discussion posts
Hello, I'm trying to do this same thing. The script is working quite well, but the two instances do not move to the location they should. both open directly in the center of the screen.
I've included the script I'm using below. Any guidance?
• Attachment [protected]: DisplayFusion Multiple Instance test.txt [1,169 bytes]
Greg Cantrell13682
2 discussion posts
Yes, this fixed it! Well mostly. I had to add a few more pauses of 2000 in between launches to give it time to load. Once I did that plus your method everything worked perfectly. Thank you!
No worries, glad to hear it!