Windows 7 Themes + Dexpot

Post any technical problems or questions you have while using or configuring Dexpot.
Bug-Tracker
philyao

Windows 7 Themes + Dexpot

Postby philyao » 31.08.2010 19:19:57

I want to have a different theme on each of my desktops - this means a different set of backgrounds on each desktop (a set with changing nature pics, a set with changing architecture pics). How is this possible on Dexpot, where it seems I can only set one picture to each desktop...it also looks like I can't just select a theme as my background picture.

Thanks!

User avatar
Sebastian
Developer
Posts: 5209
Joined: 04.03.2003 14:47:54
Location: Dinslaken
Contact:

Re: Windows 7 Themes + Dexpot

Postby Sebastian » 02.09.2010 13:37:04

:dex:,

currently not supported.
Best regards (wave)
Sebastian Brands, Dexpot GbR

Guest

Re: Windows 7 Themes + Dexpot

Postby Guest » 20.09.2010 15:22:00

need this feature

selden
Beta Tester
Posts: 177
Joined: 26.09.2010 18:59:42
Location: usa

Re: Windows 7 Themes + Dexpot

Postby selden » 26.09.2010 20:44:55

Please add me to the list of people who would very much like to be able to use different Windows 7 Themes on different Dexpot Desktops.

Would it be technically possible for someone (not necessarily a Dexpot developer) to script a command which selects a Theme whenever a Desktop is entered?
Selden

CircleDock
Plugin Developer
Posts: 77
Joined: 13.06.2010 11:52:02
Contact:

Re: Windows 7 Themes + Dexpot

Postby CircleDock » 28.09.2010 08:37:44

selden wrote:Please add me to the list of people who would very much like to be able to use different Windows 7 Themes on different Dexpot Desktops.

I hope Patrick and Sebastian don't mind me mentioning that this is something we (Team Circle Dock) are currently looking to provide as a Dexpot "plug-in".

Would it be technically possible for someone (not necessarily a Dexpot developer) to script a command which selects a Theme whenever a Desktop is entered?

In theory it's possible but somewhat difficult in practice. For such a script to work, it would firstly need to register as a "plug-in" and then wait for desktop switch messages from the VDM. There is an added complication in that another registered "plug-in" could veto the switch, so that would need to be factored-in as well.



Mark

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

Re: Windows 7 Themes + Dexpot

Postby Patrick » 29.09.2010 21:19:54

CircleDock wrote:
Would it be technically possible for someone (not necessarily a Dexpot developer) to script a command which selects a Theme whenever a Desktop is entered?

In theory it's possible but somewhat difficult in practice. For such a script to work, it would firstly need to register as a "plug-in" and then wait for desktop switch messages from the VDM.

Dexpot has a feature called "Desktop Start-Up" (under "Configure Desktops") which can be used to run scripts every time the desktop is switched, without the need to register a plugin.

As for the "Is it possible to write a script which selects a theme?" aspect of the question, on Windows 7, .themepack files are opened with

Code: Select all

%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:"%1"

This changes the theme, but also brings up a Control Panel window, which would have to be closed again or suppressed .

If we only care about the wallpaper slideshow part of themes, the better approach might be a plugin that regularly cycles through items from a set of wallpapers for the currently active desktop, bypassing the Windows slideshow settings altogether. That's what you had in mind, Mark, right?

CircleDock
Plugin Developer
Posts: 77
Joined: 13.06.2010 11:52:02
Contact:

Re: Windows 7 Themes + Dexpot

Postby CircleDock » 29.09.2010 22:32:21

Patrick wrote:
CircleDock wrote:If we only care about the wallpaper slideshow part of themes, the better approach might be a plugin that regularly cycles through items from a set of wallpapers for the currently active desktop, bypassing the Windows slideshow settings altogether. That's what you had in mind, Mark, right?


Yes indeed, Patrick, something like that! At the simplest level, a user can select an image for each desktop which will be used when switching to that desktop. Alternatively, Users will be able to set a series of images for each virtual desktop and these can - on a per desktop basis - be set to cycle in order or in a random sequence. Image files can be in BMP, JPG or PNG format and are resized and converted to 32-bit/pixel bitmaps internally.

Unlike Windows 7's Themes - which seem to be restricted to a maximum of six images - our changer will allow for as many images as you wish (within the limitations of your PC's resources). It will run on earlier versions of Windows as well.

We will be releasing this shortly.



Mark

selden
Beta Tester
Posts: 177
Joined: 26.09.2010 18:59:42
Location: usa

Re: Windows 7 Themes + Dexpot

Postby selden » 30.09.2010 15:22:03

Mark,

I regularly have used Win7 themes with far more than 6 backgrounds.
I'm currently running Win7Pro x64. I dunno if that makes any difference.

I'll admit that the other theme features haven't mattered to me. Changing the icon images and alert sounds isn't a priority for me but might be for others.

s.
Selden

ronberg
Posts: 13
Joined: 26.04.2010 15:39:47

Re: Windows 7 Themes + Dexpot

Postby ronberg » 31.12.2010 23:39:38

I don´t understand the problem: Just add the theme file (including the full path) to the "Desktop Start-Up" option in the "Configure Desktops" window. Set as option "everytime the desktop is opened", and everytime you enter the desktop the chosen theme will be applied. For a better look of the desktop changes you may add as a background picture the first picture of the chosen theme.
The theme files are stored under "%Windir%\ressources\themes\" resp. the downloaded themes under "%Userprofile%\AppData\Local\Microsoft\Windows\Themes\".
The disadvantage of course is the time the computer needs to load the new theme everytime you are changing the desktop. But that is in the nature when you want to load a new theme everytime you are changing the desktop.

ronberg
Posts: 13
Joined: 26.04.2010 15:39:47

Re: Small amendmenthe command will open the Controöl Panal w

Postby ronberg » 01.01.2011 11:40:57

1. The path to the themes directory has a typo: of course it must be "resources" instead of "ressources".
2. The first time you open a desktop the command will open the Control Panel window to select themes. Minimize it to the taskbar and keep it open. Subsequently you will have no further problems with it.

Ronberg

gaste

Re: Windows 7 Themes + Dexpot

Postby gaste » 09.01.2011 23:34:49

WE NEED THIS FEATURE!!!!!

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

Re: Windows 7 Themes + Dexpot

Postby Patrick » 11.01.2011 14:00:23

TELL MICROSOFT!!!!!

User avatar
sgtevmckay
Moderator
Posts: 192
Joined: 30.04.2010 23:17:17
Location: Santa Fe, NM
Contact:

Re: Windows 7 Themes + Dexpot

Postby sgtevmckay » 11.01.2011 18:43:04

Patrick wrote:TELL MICROSOFT!!!!!


LOL....Indeed

Understand folks, that although MS has given us a great OS in Windows 7, they also made it that much harder (or more so) to to work with the OS.

There are programmers, working in conjunction with Dexpot, that are working to bring such capabilities to Dexpot, but only if it is reasonably feasible to do so.

Be patient folks; Rome was not built in a day, and neither was Dexpot.
It has taken years to bring you the quality program that we use today.
Advancement will not be overnight, and not without obstacles to overcome ;)
Image

Mind

Re: Windows 7 Themes + Dexpot

Postby Mind » 18.09.2011 00:54:13

+1
It would be nice to see this feature in DexPot.

User avatar
javalava
Posts: 2
Joined: 13.01.2013 16:43:40
Location: Durham, England

Re: Windows 7 Themes + Dexpot

Postby javalava » 13.01.2013 18:12:05

ronberg wrote:Just add the theme file (including the full path) to the "Desktop Start-Up" option in the "Configure Desktops" window. Set as option "everytime the desktop is opened", and everytime you enter the desktop the chosen theme will be applied.


Thank you for this suggestion. I used the "Personalise" control panel to save themes called "desktop 1.theme" etc. within "%Userprofile%\AppData\Local\Microsoft\Windows\Themes\" so Windows 8 could find them.

It worked by browsing to the "desktop 1.theme" as the Desktop Start-Up command. The themes have a "fade in" which harmonized well with the swapping desktops.

:( BUT... :x
Every time I swapped desktops, the cycle of images started from the first one again! :oops: :roll:

So my solution has been to use Dexpot as intended: manually change the wallpaper when I'm fed up with it.

Kevin

Re: Windows 7 Themes + Dexpot

Postby Kevin » 23.04.2013 01:04:53

1+

yboivin
Posts: 3
Joined: 19.06.2013 13:09:22

Re: Windows 7 Themes + Dexpot

Postby yboivin » 19.06.2013 14:47:49

Hi,

A solution that works on Windows 7 64 Ultimate French with an Every Entry Event and Command like:

"C:\Temp\Dexpot\NewChangeTheme.vbs" "%UserProfile%\AppData\Local\Microsoft\Windows\Themes\Dark Skie\Dark Skie.theme"

Were "NewChangeTheme.vbs" contains the following code and is taking the name of the theme as an argument:

-----------------------------------------------
' Based and adapted on code
' found at this thread:
' http://www.sevenforums.com/themes-style ... theme.html
' Do remark the French name of Desktop Properties, this needs to be adapted for every language
' also, the 3000 for the Sleep is a minimal value that works on an Alienware laptop MX18R2 with an i7 and dual Radeon
' you may need to adjust upward for a slower computer. If not, the window will stay open

Dim var1
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""" & WScript.Arguments(0) & """"
set Arg = Nothing
Wscript.Sleep 3000
WshShell.AppActivate("Panneau de configuration") '("Desktop Properties")
WshShell.Sendkeys "%{F4}"
-------------------------------------------

Thanks to WindowsStar and jasonpatrick of http://www.sevenformus.com !

PS: don't change window until the cycle is complete or it won't work !
PS2: I tested it on a Every Entry event, it fires on every change of desktop... Not perfect but it works !
Next, testing on a First Entry !

Yves

yboivin
Posts: 3
Joined: 19.06.2013 13:09:22

Re: Windows 7 Themes + Dexpot

Postby yboivin » 19.06.2013 15:16:03

javalava wrote:
ronberg wrote:Just add the theme file (including the full path) to the "Desktop Start-Up" option in the "Configure Desktops" window. Set as option "everytime the desktop is opened", and everytime you enter the desktop the chosen theme will be applied.


Thank you for this suggestion. I used the "Personalise" control panel to save themes called "desktop 1.theme" etc. within "%Userprofile%\AppData\Local\Microsoft\Windows\Themes\" so Windows 8 could find them.

It worked by browsing to the "desktop 1.theme" as the Desktop Start-Up command. The themes have a "fade in" which harmonized well with the swapping desktops.

:( BUT... :x
Every time I swapped desktops, the cycle of images started from the first one again! :oops: :roll:


For the theme to be Shuffled, edit each .theme file with notepad and make the
following change in the [Slideshow] section

[Slideshow]
Interval=1800000
--­>Shuffle=1
ImagesRootPath=%USERPROFILE%\AppData\Local\Microsoft\Windows\Themes\Bodydresses\DesktopBackground

Then, save the .theme file and you should have a new image everytime !

yboivin
Posts: 3
Joined: 19.06.2013 13:09:22

Re: Windows 7 Themes + Dexpot

Postby yboivin » 20.06.2013 02:42:19

Hi,

Five simple lines in Powershell ! Can even be combined on three !

Start-Process -FilePath $args[0] -WindowStyle Normal
sleep 3
(New-Object -comObject Shell.Application).Windows() |
where-object {$_.LocationName -eq "Personnalisation"} |
foreach-object {$_.quit()}

:twisted:

Can't get them to execute with the Desktop Startup command ! Spent hours debugging the script and testing it, I know it works from either: Execute, Command prompt Window and Powershell window with this command:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file c:\temp\ChangeTheme.ps1 "c:\Users\Yves\AppData\Local\Microsoft\Windows\Themes\Australia\Australia.theme"

Works like a champ everywhere but not in Dexpot Desktop Startup Command.... There's a window that opens briefly but can't see what kind. Is it CMD or PS ?

Anyway, spent enough time on this, the script described above works even if it's not elegant and that's going to be it for a time !

Thanks !

Yves

SomeoneSuperior
Posts: 9
Joined: 07.07.2013 14:54:14

Re: Windows 7 Themes + Dexpot

Postby SomeoneSuperior » 07.07.2013 14:58:41

yboivin wrote:Hi,

A solution that works on Windows 7 64 Ultimate French with an Every Entry Event and Command like:

"C:\Temp\Dexpot\NewChangeTheme.vbs" "%UserProfile%\AppData\Local\Microsoft\Windows\Themes\Dark Skie\Dark Skie.theme"

Were "NewChangeTheme.vbs" contains the following code and is taking the name of the theme as an argument:

-----------------------------------------------
' Based and adapted on code
' found at this thread:
' http://www.sevenforums.com/themes-style ... theme.html
' Do remark the French name of Desktop Properties, this needs to be adapted for every language
' also, the 3000 for the Sleep is a minimal value that works on an Alienware laptop MX18R2 with an i7 and dual Radeon
' you may need to adjust upward for a slower computer. If not, the window will stay open

Dim var1
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""" & WScript.Arguments(0) & """"
set Arg = Nothing
Wscript.Sleep 3000
WshShell.AppActivate("Panneau de configuration") '("Desktop Properties")
WshShell.Sendkeys "%{F4}"
-------------------------------------------

Thanks to WindowsStar and jasonpatrick of http://www.sevenformus.com !

PS: don't change window until the cycle is complete or it won't work !
PS2: I tested it on a Every Entry event, it fires on every change of desktop... Not perfect but it works !
Next, testing on a First Entry !

Yves



Works great.Thanks a lot.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 112 guests