In want to create a code for special folders in VBScript
with clip definition file.
There are many different variables like these:
[i]Const ALL_USERS_DESKTOP = &H19&
Const ALL_USERS_APPLICATION_DATA = &H23& [/i]
I want to use a combo box:
[/i]
[EMAIL PROTECTED] MainKey:,,"ALL_USERS_DESKTOP =
&H19&","ALL_USERS_APPLICATION_DATA = &H23&"[/i]
The result should be:
Folder = &H19&
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(Folder)
Set objFolderItem = objFolder.Self
Wscript.Echo objFolderItem.Path
How do i get only "&H19&" from "Const ALL_USERS_DESKTOP = &H19&" ?
Or how do I get this "Const" corrct in the code ?
--
<http://forum.pspad.com/read.php?2,39474,39474>
PSPad freeware editor http://www.pspad.com