Once you save it, dbl click on it. It will open a Command prompt window and will pause when it finishes and then you close the window.
All?? Oops, sorry, remove only the last one. The other two just make the output pretty and could be deleted but I wouldn’t recommend it. Just remove the “echo” before the “ren”. It’s there as a safe guard should someone dbl click the script without intending to. Once removed the script is “live”.
And, in reviewing it, I believe it’s rerunable. It will just keep reversing the image names. m1 will become m29 and if rerun m29 will become m1 again.
:-s The thermometer color is related to a cookie or Registry setting and the script doesn’t touch either.
So you copied the c:\Program Files\Weather Watcher\Skins\Forecasts\Eds Stone Soup folder to c:\Program Files\Weather Watcher\Skins\Forecasts\Stone Soup South and created a CMD file in the c:\Program Files\Weather Watcher\Skins\Forecasts\Stone Soup South\Images folder, yes? And when you dbl click on the CMD file a Command Prompt window opens and what do you see? :???:
:oops: Oops, I see the problem. The images weren’t being renamed back correctly. But when corrected they do reflect the Wunderground view. I hadn’t noticed the naming problem, I was just excited when I saw the images’ sequence change.
Here’s a revised script.
SHmoons.cmd@echo off&title Ed's Southern Hemisphere moons
setlocal ENABLEDELAYEDEXPANSION
echo.
for /f "delims=m tokens=1" %%F in ('dir moon\m*.gif /B') do (
if %%~nF LEQ 99 (
set /A numn=30-%%~nF
ren moon\m%%~nF.gif m!numn!.gifNU
)
)
if exist moon\m*.gifNU ren moon\m*.gifNU m*.gif
dir moon\*.gif
echo.
echo Better?
pause
Delete the messed up Moons folder, restore it from the backup/original location and rerun the script.
It’s still doing nothing! I shut down Weather Watcher. I copied the Ed’s Stone Soup to Ed’s Stone Soup South, place that script in the images folder and clicked on it, it looked like it was renaming the files, but when I reopened WW, and changed skins to Ed’s Stone South, the moon was still the same.
Give the script one last chance dlbryant. One last technicality had to be overcome. If the Windows Explorer view of the Moon folder was Thumbnails there is a hidden system file that was preventing the images from changing. This version of the script resolves that problem.
SHmoons.cmd@echo off&title Ed's Southern Hemisphere moons
set Moons=Moon
setlocal ENABLEDELAYEDEXPANSION
echo.
if exist %Moons%\thumbs.db (
attrib -h -s %Moons%\thumbs.db
del %Moons%\thumbs.db
)
for /f "delims=m tokens=1" %%F in ('dir %Moons%\m*.gif /B') do (
if %%~nF LEQ 99 (
set /A numn=30-%%~nF
echo ren %Moons%\m%%~nF.gif m!numn!.gifNU
ren %Moons%\m%%~nF.gif m!numn!.gifNU
)
)
echo.
if exist %Moons%\m*.gifNU (
echo ren %Moons%\m*.gifNU m*.gif
ren %Moons%\m*.gifNU m*.gif
)
echo Done.
pause > nul
And once this script works for you it should work for anyone else that comes this way.
Just make sure when you run the script you don’t have an Explorer window open displaying the images being renamed. :icon_smile:
It changed the moon, but Weather Watcher insists that whenever moon-phase type is in Eds Stone Soup will be the one in Eds Soup South.
Meaning…I can change Eds Stone Soup South to be a Southern phase, but if Eds Stone Soup is Northern, it will display Northern for both…and vice versa. Whatever phase that Eds Stone Soup is in will wind up being Eds Stone Soup South as well…and yes, I check the files and Eds Stone Soup had Northern moons and Eds Stone Soup South had Southern moons.
Meaning that there is only one conclusion:
[size=5] :evil: Your Stone Soup is demon-possesed!!! :evil: [/size]
Hey, it’s either laugh or cry!
Anywhoo, Barba just fixed the data switch in his cool skin and I fixed the URLs to weather.com, so what I think what I’ll do is fix your Stone Soup to South and use Barba’s for north. Barba’s skin is really neat and original…especially the scrolling forecast and the real-look thermoniter!
Thanks for your hard work…it was greatly appreciated!
The path to the moons is hard coded in the Current.wtp file. :oops: And I’m not sure there is an option around it other than change line 875 to be the name of the new Forecast skin’s folder.
wtp files are text files and can be opened with Notepad. Unfortunately Notepad doesn’t show line numbers but it does have a Search capability and searching for “Images/Moon” should bring you right to the line.
Sorry for all the trouble dlbryant, but I think(hope/pray) this may be the last hurdle. :iconbiggrin:
Well, maybe there is a more appropiate fix. On line 875 of the Current.wtp template change:
EdsMoon="file:///" + EdsMoon.replace(/\\/g, '/') +"/Skins/Forecasts/Eds Stone Soup/Images/Moon/m"+moonicon+".gif";
If the thumbs.db file got deleted then either script will work. And the scripts are rerunable to reverse the renames. But once the folder is opened with Explorer in the View Thumbnails mode again you will need to use the last script should you wish to rerun the renames.
A lot of info in 5 pages - basically, Ed, this is a skin you developed for the regular version of WW for PC desktops? Looks pretty good - I am kinda wondering if I get animated images, but other than that…looks good.
Animated weather icons are possible. The skins work fine with the Meteo Consult, Lycos, AniWeather and animated WC weather icons. I’m sure you can find others, check the other threads in this section.
I finally got your skins working - it took me a bit of messing around to get the download right, as DTA for Fx seems to want to download the .html file only, and then using the registry entry failed because the string after the HKEY_USERS was not on my computer - b/c my user string is different than yours, obviously.
But, now, regardless of which of the skins I use (even the defaults, such as splendid and such), I get an error - whenever I try to open the options panel from the main window (as opposed to right clicking the taskbar icon and selecting options) the program goes into a loop and keeps opening the options panel until WW kills itself.
I will see if the registry entry is causing the problem, though a cursory examination of it makes me think that should not be the case…
Since none of my skins use Registry settings and I believe the WW Wizard only looks at the Registry to find the install location for WW I have no idea what your problems are. On one pc WW is installed in the standard default location and on others it is on drives other than C: even and the Wizard installs the skins fine.
I don’t use DTA so I can’t help you with that but clicking on the download link should invoke RapidShare and it should prompt you for the file’s name. It sounds like you right clicked on the link and tried to download it in which case I have no idea what you got.
Hopefully a System Restore will resolve your problems and let you start over.
Ummm, no, but you included a file in the download called “Ed’s WW Export template.reg” - and that may be causing my problems, I’ll try removing that key and seeing what it does.
I did not right click to download, the DTA thing was something I mentioned, not asking for help, because I figured it out already - it was just a mention in case someone else using Firefox with Down Them All extension attempts to download your file through Rapidshare may encounter the same program.
I despise System Restore - and turn it off.
I fix my own problems manually - a system restore is only as good as the point you restore it to - and not every app that gets installed creates a restore point, so that means the potential loss of who knows how many apps.
I’ll see if the export template you included is the culprit - as I don’t export at the moment, I really had no need for that in the first place, I guess.
:shock: So I did!! I thought I had that as a text file. But the WW Wizard doesn’t import it it requires manual intervention.
Yes please report back. Even if the key doesn’t match your system I don’t see why it would impact your system. What version of Windows are you running and what is your Registry key for VA and VBA settings for WW?
I don’t and find it useful for quick fixes. I only allocate enough space to it to allow me to go back 3 or 4 days, anything further gets into the problem you refer to namely how many other changes do you risk loosing.
While not every app sets a System Restore point, my systems set on every day automatically and depending on what I plan on installing I sometimes manually create restore points.
And yet you installed it. :razz: When you open the WW Options window’s Export tab do you see the customized template? If so it would indicate that the reg key is correct for your WW.
Yeah, I manually fiound the right hive to which it belonged, edited the key and it imported successfully.
Windows Vista Ultimate (upgrade) - re: VA and VBA settings, ummm let me look - mind clarifying those acronyms, though? VBA I thought was Visual Basic for Apps, and I thoguht that only got installed with Office, which I don’t ahve in any form, on this computer…
That is a thought. I test so many different programs that usually, after 6 months, I performa a re-install - but this is a temporary setup as I am trying to find a way to customize my Vista install so I can move special folders to different partitions, thereby saving my data even when requiring a full format of the system partition. So I am not worried about the bloating of the registry and such, right now. A Daily System Restore, like every night at 5 am (allowing for the 3 AM Windows Update installs) may actually be good or bad, depending upon what WU gets me stuck with…
Actually, no it doesn’t - I shoudl ahve checked before. So that key, though editied for my USER string, is still ineffective. Which means taht the WW settings are elsewhere, and it now indicative that this key could in fact be causing the problem. Let me get rid of it - and report back.
I don’t have Office on this pc either but VB and VBA is there, it’s put there by WW in my case.
Wow!!
Ok, well once you get the system stablized, open the .reg file in Edit mode, highlight everything from the " to the
" and Copy it. Then open WW's Options window's Export tab, click on Enable Exporter then Paste the copied code into the Export Template window. Remove the quotes at the begining and end and input a location and Apply it. Now open the Registry and find the code. What is the key in Vista where it is is stored?