Changeset 108
- Timestamp:
- Apr 20, 2007, 8:29:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NewView/WebBrowserUnit.pas
r92 r108 48 48 49 49 50 Function GetDefaultParameters : String; 51 begin 52 Result := GetUserProfileString(PROFILE_KEY_WPURLDEFAULTSETTINGS, 'DefaultParameters', ''); 53 end; 54 55 56 50 57 Procedure LaunchURL(const aURL: String); 51 58 var 52 59 tmpBrowserPath : String; 53 60 tmpBrowserWorkingDir : String; 61 tmpBrowserParameters : String; 54 62 begin 55 63 tmpBrowserPath := GetDefaultBrowserPath; 56 64 tmpBrowserWorkingDir := GetDefaultBrowserWorkingDir; 65 tmpBrowserParameters := GetDefaultParameters; 66 57 67 if tmpBrowserPath = '' then 58 68 begin … … 67 77 ChDir(RemoveRightDirectorySeparator(tmpBrowserWorkingDir)); 68 78 69 LaunchProgram(tmpBrowserPath, aURL, tmpBrowserWorkingDir);79 LaunchProgram(tmpBrowserPath, tmpBrowserParameters + ' ' + aURL, tmpBrowserWorkingDir); 70 80 end; 71 81
Note:
See TracChangeset
for help on using the changeset viewer.