Page 1 of 1
Load differents profiles depending on the hour
Posted: 07.08.2014 14:24:53
by Juanjo Garrido
Hello,
The question is:
Is it possible to load differents profiles depending on the hour automatically?
We use Dexpot for monitoring purpose and it's very interesting for us change the desktops we view depending on the hour of the day.
For example, one profile with 5 desktops from 8:00 to 20:00 and other profile from 20:00 to 8:00 with only two desktops, changing automatically.
Thanks in advance
Re: Load differents profiles depending on the hour
Posted: 10.08.2014 18:24:28
by Patrick

Profiles can be loaded from the command line by executing "dexpot.exe C:\Path\To\Profile.dxp". With this, you can use the Windows Task Scheduler to automatically load profiles at certain points of time.
Re: Load differents profiles depending on the hour
Posted: 13.08.2014 11:38:12
by JJGarrido
Hello Patrick,
The idea was good, but it doesn't work.
Or at least, I couldn't do it
This command doesn't load the TEST profile
"dexpot.exe C:\Path\To\TEST.dxp"
Is it necessary any other modifier?
Thanks
Re: Load differents profiles depending on the hour
Posted: 13.08.2014 12:03:37
by Patrick
No modifiers. You need at least Dexpot version 1.6.0 and the path to the .dxp file has to be valid, of course. Use quotes if the path contains spaces.
For example, I just entered the following at the command prompt (with Dexpot already running) and it correctly loaded the "My Test" profile:
Code: Select all
"C:\Program Files (x86)\Dexpot\dexpot.exe" "C:\Users\Patrick\AppData\Roaming\Dexpot\profile\My Test.dxp"
Re: Load differents profiles depending on the hour
Posted: 13.08.2014 14:39:27
by JJGarrido
Ok, I just tested it and works.
But I want to load a specific profile when I start dexpot automatically
I just have 1.6.13 Pro, Build 2429
I enter the same command as you,
"c:\Program Files\Dexpot\dexpot.exe" c:\Users\tele.scom\AppData\Roaming\Dexpot\profile\PerfilPreimpresion.dxp
Re: Load differents profiles depending on the hour
Posted: 13.08.2014 15:09:03
by Patrick
We'll add support for starting Dexpot with a profile parameter in the next version.
For now, you could try a batch file like this:
Code: Select all
start /B "" "c:\Program Files\Dexpot\dexpot.exe"
timeout 5
"c:\Program Files\Dexpot\dexpot.exe" c:\Users\tele.scom\AppData\Roaming\Dexpot\profile\PerfilPreimpresion.dxp
Re: Load differents profiles depending on the hour
Posted: 14.08.2014 10:07:17
by JJGarrido
Hello Patrick,
It seemed a very good idea, but I have a problem with this method. When I start dexpot always load the last configuration, even I don't check this option.
I think it's better I tell you all my configuration and what is what I want to do.
Could I write you in a private mail?
Re: Load differents profiles depending on the hour
Posted: 14.08.2014 14:42:33
by Patrick