Products
Breadcrumbs

GetAppPath

Purpose

Returns the path to the HomeSeer installation director. This is useful for finding HomeSeer-specific files like the event log and script-created files.


Parameters

None


Returns

Return value: application path
Type: string
Description: The path returned is not terminated by a directory path separator.  Use of GetAppPath to construct a valid path will require the addition of "/" before additional path names or files are added.


Example

Visual Basic
sub main()

	dim s

	s = hs.GetAppPath
	msgbox "The HomeSeer path is: " & s

end sub