home *** CD-ROM | disk | FTP | other *** search
INI File | 2010-02-10 | 2.0 KB | 56 lines |
- [main]
- Title=Wallpaper
- Description=Change Wallaper
- Selected=True
- Level=4
- Version=1
- Mandatory=False
- Author=Markus Debus
- Credits=Max_Real Qnx
-
- [process]
- Echo,Processing VPE Wallpaper...
- If,ExistFile,%pFileBox1%,begin
- FileCopy,%pFileBox1%,"%TargetDir%\Windows\system32\winpe.bmp"
- If,"%pScrollBox9%",Equal,"Stretch",Run,"%ScriptFile%","Stretch"
- If,"%pScrollBox9%",Equal,"Center",Run,"%ScriptFile%","Center"
- If,"%pScrollBox9%",Equal,"Tile",Run,"%ScriptFile%","Tile"
- end
-
- [Stretch]
- Echo,"Loading registry hive: [Stretch]"
- Hive_Load,HKCU
- Echo,"Writing new values on registry hive.."
- reg_add,0x1,"%reg%\Control Panel\Desktop","TileWallpaper","0"
- reg_add,0x1,"%reg%\Control Panel\Desktop","WallpaperStyle","2"
- reg_add,0x1,"%reg%\Software\Microsoft\Internet Explorer\Desktop\General","TileWallpaper","0"
- reg_add,0x1,"%reg%\Software\Microsoft\Internet Explorer\Desktop\General","WallpaperStyle","2"
- Hive_Unload,HKCU
-
- [Center]
- Echo,"Loading registry hive: [Center]"
- Hive_Load,HKCU
- Echo,"Writing new values on registry hive.."
- reg_add,0x1,"%reg%\Control Panel\Desktop","TileWallpaper","0"
- reg_add,0x1,"%reg%\Control Panel\Desktop","WallpaperStyle","0"
- reg_add,0x1,"%reg%\Software\Microsoft\Internet Explorer\Desktop\General","TileWallpaper","0"
- reg_add,0x1,"%reg%\Software\Microsoft\Internet Explorer\Desktop\General","WallpaperStyle","0"
- Hive_Unload,HKCU
-
- [Tile]
- Echo,"Loading registry hive: [Tile]"
- Hive_Load,HKCU
- Echo,"Writing new values on registry hive.."
- reg_add,0x1,"%reg%\Control Panel\Desktop","TileWallpaper","1"
- reg_add,0x1,"%reg%\Control Panel\Desktop","WallpaperStyle","0"
- reg_add,0x1,"%reg%\Software\Microsoft\Internet Explorer\Desktop\General","TileWallpaper","1"
- reg_add,0x1,"%reg%\Software\Microsoft\Internet Explorer\Desktop\General","WallpaperStyle","0"
- Hive_Unload,HKCU
-
- [Interface]
- pFileBox1=%basedir%\Wallpaper\Default.jpg,1,13,8,33,207,28,file
- pTextLabel1="Choose Wallpaper",1,1,11,9,120,18,8,Normal
- pScrollBox9=Center,1,4,10,92,150,21,Stretch,Center,Tile
- pTextLabel2=Orientation,1,1,8,69,62,18,8,Normal
-
-