Variables
Top  Previous  Next 
Variables are specially named "containers" for values that change. (The word "variable" comes from the changeable nature of the values that variables represent).

You can use following value:

Registry variables

$(HKLM\KeyPath)

   The registry key value under HKEY_LOCAL_MASHINE branch.
   Where KeyPath is a path to the registry key. For example:
   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir

$(HKCU\KeyPath)

   The registry key value under HKEY_CURRENT_USER branch.

$(HKCR\KeyPath)

   The registry key value under HKEY_CLASSES_ROOT branch.

$(HKU\KeyPath)

   The registry key value under HKEY_USERS branch.

$(HKCC\KeyPath)

   The registry key value under HKEY_CURRENT_CONFIG branch.

Path variables

$(MyDocumentsDir)

The user's personal ("My Documents") folder on their system.
Usually this is something like "C:\Documents and Settings\YourName\My Documents" on Windows 2000/XP, and "C:\My Documents" on Windows 98/ME.
Windows 95 did not have a My Documents folder, so this variable will return "C:" on a Windows 95 system.

$(AppDataDir)


The file system directory that serves as a common repository for application-specific data. A typical path is C:\Documents and Settings\username\Application Data.

$(DesktopDir)

The path to the user's Desktop directory.
On Windows NT/2000/XP, this is the path from the per-user profile. A typical path is C:\Documents and Settings\username\Desktop


$(MyMusicDir)

My music folder. A typical path is C:\Documents and Settings\username\My Documents\My Music.

$(MyPicturesDir)

My Pictures folder. A typical path is C:\Documents and Settings\username\My Documents\My Pictures.

$(ProgramFilesDir)

The user's Program Files folder. Typically, this is something like:
C:\Program Files

$(SystemDir)

The path to the user's Windows System directory (e.g. "C:\Windows\System").

$(WinDir)

The path to the user's Windows directory (e.g. "C:\Windows").

$(WinVer)

The Version windows on which running your application.
   
   "WIN311" - Windows 3.1
   "WIN95" - Windows 95
   "NT40" - Windows NT 4.0
   "WIN98" - Windows 98 or Windows Me
   "NT50" - Windows 2000 or Windows XP

Page variables

$(PageTitle)

The current page title.



Copyright © 1999-2006 PhotoActions. All rights reserved.