IndividualPaths in profile.json

Talk about anything at all related to the app
Post Reply
antitesebr
Posts: 1
Joined: Fri Apr 08, 2016 1:34 am

IndividualPaths in profile.json

Post by antitesebr »

First of all, thank you guys for this amazing tool. I've been using it for some months and it's very helpful.

I'm coding a powershell script that will automatically check monitors' position (vertical or horizontal), resolution and set wallpapers accordingly to each monitor.

In "profile.json" file, where do you get data for the numbers in "IndividualPaths"? I observed that numbers like 0,1 and 2 are set depending of which output the monitor is plugged in.

Thank you in advance!
User avatar
sumo
Site Admin
Posts: 131
Joined: Mon Jul 25, 2011 7:02 pm

Re: IndividualPaths in profile.json

Post by sumo »

Your welcome.

After reviewing the code, it seems its simply using the C# Method "Screen.AllScreens", I cant see any other magic going on, however I may be mistaken since I also found that I had written a program specifically for debugging the different ways to get the layouts which is here:
LayoutDump

Method 1 appears to be the C# one, the others use win32 api etc.

I believe the numbers are simply the order or something.
Post Reply