Skip to main content
Skip table of contents

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

Sample Code

VB
sub main()

	dim s

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

end sub


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.