|
|
#1 |
|
Junior Member
Join Date: Aug 2002
Posts: 2
|
How to get skin file or folder with Delphi?
Hi,
I'm using Delphi and need the path and filename to the skin-file (*.wsz) currently in use. How can I do this? Thank you! |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2003
Posts: 3
|
you could use the following code to get the path to the winamp skins folder using the registry,
uses Registry; function GetWinampSkinsDir: String; var Reg: TRegistry; begin Reg := TRegistry.Create; if Reg.OpenKey('\Software\Winamp', false) then begin Result := Reg.ReadString('') + '\Skins'; Reg.CloseKey; Reg.Free; end else ShowMessage('Unable to locate winamp!'); end; still working on the Current Skin but i'll let you know when i come up with something. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|