home *** CD-ROM | disk | FTP | other *** search
- on getVolName
- global gxUtilObj, gsX, gsIniFile
- if objectp(gxUtilObj) then
- set gsX to gxUtilObj(mGetVolName, the pathName)
- else
- Fehler(101, "--")
- end if
- end
-
- on getSysPath
- global gxUtilObj, gsSysPath
- if objectp(gxUtilObj) then
- set gsSysPath to gxUtilObj(mGetSystemPath)
- else
- Fehler(101, "--")
- end if
- end
-
- on getWinPath
- global gxUtilObj, gsWinPath, gsIniFile
- if objectp(gxUtilObj) then
- set gsWinPath to gxUtilObj(mGetWindowsPath)
- else
- Fehler(101, "--")
- end if
- set gsIniFile to gsWinPath & "\" & gsIniFile
- end
-
- on setPath
- global gxUtilObj
- if objectp(gxUtilObj) then
- set s to field "volDirectory"
- set result to gxUtilObj(mSetDefaultPath, s)
- if result = -1 then
- alert("No such directory exists. Please try again...")
- exit
- end if
- else
- Fehler(101, "--")
- end if
- end
-