Start .avetheme files from command line

Help.

How can i start .avetheme file from cmd line? If it possible, i'll can switch themes at least from another desktop enchancer, e.g. samurize. Because i can't switch themes from AD PIDshortcut now...

#263793

save this in launchtheme.vbs:

Dim aveDesk 'as AveDesk.Application

set aveDesk = CreateObject("AveDesk.Application")



if Not AveDesk is Nothing then

Dim objArgs 'as WScript.Arguments

Set objArgs = WScript.Arguments



if objArgs.count > 0 then

aveDesk.LoadTheme( objArgs.Item(i) )



end if



end if

Now you can call it with launchtheme.vbs themename.avetheme :)

#263801

Probably good idea, it's working ...

COOL. That .vbs working with AD PIDShortcut also!!!

I realized theme switching with onscreen button!

Thanks, Ave ;) I'll use these variant of solving, until you finish investigate this bug...

I hope, you will successfully do...

#264082

Hmm...

Sometimes not working.

I created 2 themes with PIDshortcut to another. Sometime it's working without problem. But sometime script generate error:

->Script: C:Documents and SettingsUserApplication DataAvedeskThemesLaunchTheme.vbs

->Line: 9

->Char: 17

->Error: Theme File not found

->Code: 80020009

->Source: Avedesk.Application.1

And after that ad sometime overwrite one theme with another, in other case overwrite last theme with empty theme 29 butes length.

#264464

Adds to writen upper...

Can that solved? I either happy, or frustrated :)

#264467