Windowbox.me - Forums

Improving your desktop experience

Forum Index | Project [ WindowBox | MultiWall | Img2tab | AuzenMixer ]

IndividualPaths in profile.json

Talk about anything at all related to the app

IndividualPaths in profile.json

Postby antitesebr on Fri Apr 08, 2016 1:53 am

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!
antitesebr
 
Posts: 1
Joined: Fri Apr 08, 2016 1:34 am

Re: IndividualPaths in profile.json

Postby sumo on Sat Apr 09, 2016 6:43 pm

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.
User avatar
sumo
Site Admin
 
Posts: 121
Joined: Mon Jul 25, 2011 7:02 pm


Return to MultiWall

Who is online

Users browsing this forum: No registered users and 1 guest

cron

© Sumeet Patel 2011 Legal