Rather than download my skins pkg just for the script to create WWS files, here it is:
WWSskin.cmd[code]@echo off&Title Lazy Eds Weather Watcher Skin Installer WWS file creator&Color 17&MODE CON COLS=60 LINES=30
rem EdP
rem Requires the WinZIP Command Line Support Add-on.
::-------------------------------------
:: Manually CHANGE the following variables BEFORE running this script.
::-------------------------------------
:: WWSkinTYPE can be Forecasts, Icons, Interface or Tooltip. ie WWSkinTYPE=Interface
set WWSkinTYPE=Forecasts
set WWSkinNAME=Eds Classic XL
:: WWSkinNAME is whatever name you gave to your skin’s folder. ie WWSkinNAME=Eds Classic XL
::-------------------------------------
:: Settings
::-------------------------------------
echo.
echo ****************************************
echo Setting up WWS environment
echo ****************************************
echo.
set WWSerror=no
:: set Weather Watcher Skins folder location
:: find path to installed Weather Watcher
:: (the line below has a [TAB] and two [SPACE] following delims=)
for /f "tokens=3* delims= " %%i in (‘reg query “HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Weather Watcher_is1” /v InstallLocation’) do (
set WWInstall=%%~si
)
:: check if Weather Watcher path was found
if “%WWInstall%”==“” (
echo ERROR: Unable to find installed Weather Watcher
set WWSerror=yes
goto TheEnd
)
:: find path to installed wzzip
:: (the line below has a [TAB] and two [SPACE] following delims=)
for /f "tokens=3* delims= " %%i in (‘reg query “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WZZIP.exe” /ve’) do (
set wzzip=%%~si
)
:: check if wzzip path was found
if “%wzzip%”==“” (
echo ERROR: Unable to find installed WZZIP
set WWSerror=yes
goto TheEnd
)
:: set default program variables
::set WWSkins=%WWInstall%Skins
set WWSkins=“%AppData%”\WeatherWatcher\Skins\
echo %WWSkins%%WWSkinTYPE%
echo %WWSkins%%WWSkinTYPE%%WWSkinNAME%
echo.
:: Validate WWSkin variables
if not exist %WWSkins%%WWSkinTYPE%"%WWSkinNAME%“*.* (
echo ERROR: WWSkinNAME - %WWSkins%%WWSkinTYPE%"%WWSkinNAME%”" NOT found.
set WWSerror=yes
goto TheEnd
)
if exist WWS*.* rd /s /q “WWS”
md WWS > nul
md WWS%WWSkinTYPE% > nul
if exist My%WWSkinTYPE%Skin.old del My%WWSkinTYPE%Skin.old
if exist My%WWSkinTYPE%Skin.wws ren My%WWSkinTYPE%Skin.wws My%WWSkinTYPE%Skin.old
if exist My%WWSkinTYPE%Skin.zip del My%WWSkinTYPE%Skin.zip
echo.
echo ****************************************
echo Copy My Skin to the WWS folder
echo ****************************************
echo.
xcopy %WWSkins%%WWSkinTYPE%"%WWSkinNAME%" WWS%WWSkinTYPE%"%WWSkinNAME%" /s > nul
if exist WWS%WWSkinTYPE%"%WWSkinNAME%“\Daily.html del WWS%WWSkinTYPE%"%WWSkinNAME%”\Daily.html /S > nul
if exist WWS%WWSkinTYPE%"%WWSkinNAME%“\Hourly.html del WWS%WWSkinTYPE%"%WWSkinNAME%”\Hourly.html /S > nul
if exist WWS%WWSkinTYPE%"%WWSkinNAME%“\Current.html del WWS%WWSkinTYPE%"%WWSkinNAME%”\Current.html /S > nul
if exist WWS%WWSkinTYPE%"%WWSkinNAME%“\Detailed.html del WWS%WWSkinTYPE%"%WWSkinNAME%”\Detailed.html /S > nul
if exist WWS%WWSkinTYPE%"%WWSkinNAME%“\Thumbs.* del WWS%WWSkinTYPE%"%WWSkinNAME%”\Thumbs.* /A:HS /S > nul
if exist WWS%WWSkinTYPE%"%WWSkinNAME%“"Copy of”. del WWS%WWSkinTYPE%"%WWSkinNAME%“"Copy of”. /S > nul
echo.
echo ****************************************
echo Building MySkin.wws file
echo ****************************************
echo.
cd WWS
“%wzzip%” -p -r “…\My%WWSkinTYPE%Skin.zip” “.” > nul
cd …
ren My%WWSkinTYPE%Skin.zip My%WWSkinTYPE%Skin.wws
if %1! == ! rd /s /q “WWS”
:TheEnd
if “%WWSerror%”==“yes” pause
echo.
echo ****************************************
echo Finished
echo ****************************************
echo.
[/code]
If you don’t have WinZIP customize the code to support what you have.
hth