Load differents profiles depending on the hour

Here you may post suggestions for improving and extending Dexpot.
Juanjo Garrido

Load differents profiles depending on the hour

Postby Juanjo Garrido » 07.08.2014 14:24:53

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

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Load differents profiles depending on the hour

Postby Patrick » 10.08.2014 18:24:28

:dex:

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.

JJGarrido
Posts: 3
Joined: 12.08.2014 10:53:53

Re: Load differents profiles depending on the hour

Postby JJGarrido » 13.08.2014 11:38:12

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

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Load differents profiles depending on the hour

Postby Patrick » 13.08.2014 12:03:37

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"

JJGarrido
Posts: 3
Joined: 12.08.2014 10:53:53

Re: Load differents profiles depending on the hour

Postby JJGarrido » 13.08.2014 14:39:27

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

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Load differents profiles depending on the hour

Postby Patrick » 13.08.2014 15:09:03

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

JJGarrido
Posts: 3
Joined: 12.08.2014 10:53:53

Re: Load differents profiles depending on the hour

Postby JJGarrido » 14.08.2014 10:07:17

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?

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: Load differents profiles depending on the hour

Postby Patrick » 14.08.2014 14:42:33



Return to “Feature requests”

Who is online

Users browsing this forum: No registered users and 49 guests