Forum: Geek Forum Topic: Regedit and Themes started by: PersonGuy Posted by PersonGuy on Feb. 04 2001,10:28
Hey! I was working on a them when I started understanding that the (TXT) .Theme file was pointing to a bunch of registry keys and data. So I looked them up, and sure enough I could change default icons RIGHT THERE!! (by no means am I l33t... this is exciting for ME dammit! )Anyway, I was poking around with the .Theme file and the registry, and I thought it would be cool to make the theme them change the "my documents" icon. So I pasted in all that good stuff that made it match... but it didn't work. It seems like a .Theme file will ONLY change the things it was originally designed to do in Win95. So that means no 2nd gradiation color select (and so forth). It makes sence that I shouldn't be able to fuck the Registry or INIs THAT easily... but is there some other way around this?? Thought this would be the right place to come... ------------------ Posted by kuru on Feb. 04 2001,10:33
you could always write your own operating system.------------------ Posted by askheaves on Feb. 04 2001,16:58
Convert your .theme file to a .reg file. Find any .reg file on your system for an example of the syntax, but it should be on the order of:[HKEY_LOCAL_MACHINE\\System\\Windows\\CurrentVersion\\...] Icon=dword:05 Name="Some Name" etc. etc. Then, make a directory of these .reg files, or put the one .reg file in with the subjects of your theme (bmps, icons, cursors), and just double click the .reg file to merge it into the registry. Then, probably the best thing to do would be to restart explorer. Posted by PersonGuy on Feb. 05 2001,01:37
YEAH! Can that also do stuff with the INI files for screensavers and stuff?------------------ Posted by askheaves on Feb. 05 2001,02:43
OK. I blew away this post once already.. Let me try again.A Windows Screensaver is just an executable with a .scr extension. So, you can make any app a screen saver by changing it to an .scr file. If you put it in the Windows directory (or System... hmm.), it will show up in that list under display properties, and you can schedule it. You can't configure it yet, though... that takes one more step. If you're writing your own app, all you have to do is take a '/s' command line argument. When you get that, bring up a properties dialog that does all of your settings (usually using registry settings). When you hit the configure button (or whatever it's called), it starts the app up with a /s cmdline arg. That's all there is to screensavers. I don't know if anybody asked for this, but this is something i stumbled upon a time back. It works with any app... even things like Word or Explorer.exe. Posted by pengu1nn on Feb. 05 2001,05:40
quote: or just wait for explorer to restart itself. it think m$ wrote in some handy code that restarts explorer every 15 min.
Posted by WillyPete on Feb. 05 2001,09:05
As for wating for Explorer to restart, there's a dev shortcut to restart explorer to test registry options.Use CTRL-ALT-DEL to bring up task manager. Posted by KL1NK on Feb. 06 2001,00:41
What's a registry? does linux have one?
Posted by askheaves on Feb. 06 2001,01:08
quote: Nope. It has tons of .ini and other plaintext files that are scattered about the harddrive like a ticker-tape parade. Course... I don't know jack about linux, but that's my impression so far. Posted by WillyPete on Feb. 06 2001,12:00
The registry consists of several files (User and System.dat) that controls all the settings and setup of windows. It lists all your preferences, important file locations and other such stuff. It's the really important not to dick with it till you've learnt a bit about it as you can really screw up your op system if you delete the wrong thing.It has a unique feature in that anything deleted is GONE, no recycle bin. But it's also a VERY powerful tool in the hands of somenone with knowledge of it. You can change a LOT of features and setting in Windows from one place and with a lot of speed. If you want to look at what it is, run 'REGEDIT' from the start menu, but be warned, don't tinker till you understand it. For a bit of info on it and an exercise you can look at some of the files in an install package. A printer driver install, for example, is good because it has some text files that list entries to be put into the registry. It will show you how the printer sets itself up. Any line of text starting [HKEY.....] is a registry entry. |