here is a small includefile with 3 functions I'd needed for my actual project
Hope, this is usefull for someone else:
Code: Select all
IsBrowserInstalled(browsername$)
BrowserList()
IsRunningKDE()
How to Use:
Code: Select all
;
;Examples
;
Includefile "misc_functions.pb"
If IsBrowserInstalled("konqueror"); returns #True or #False
RunProgram("konqueror")
EndIf
Debug BrowserList() ; returns a stringfield with available browsers - fieldseperator = ;
If IsRunningKDE() ; returns #True or #False
Debug "KDE is running"
EndIf
http://home.arcor.de/x-linux/pure/misc_functions.pb
Comments, suggestions etc. are appreciated



