home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 July / WPCJUL96.ISO / file.exe / SHARED.DXR / 01021_StartBrowser,BrowserRunning,StartBrowserAcrobat.ls < prev    next >
Encoding:
Text File  |  1996-05-15  |  606 b   |  27 lines

  1. on StartBrowser homepage
  2.   global browserID
  3.   if browserID < 32 then
  4.     set browserID to win_RunProg(the pathName & "NSCAPE\NETSCAPE " & "-I" & the pathName & "NSCAPE\wpcnscap.ini" && the pathName & homepage)
  5.   end if
  6. end
  7.  
  8. on StartBrowserAcrobat homepage
  9.   global browserID
  10.   if browserID < 32 then
  11.     set browserID to win_RunProg(the pathName & "acroread\acroread " & the pathName & homepage)
  12.   end if
  13. end
  14.  
  15. on BrowserRunning
  16.   global browserID, runprog
  17.   if browserID < 32 then
  18.     return 0
  19.   else
  20.     return runprog(mActive, browserID)
  21.   end if
  22. end
  23.  
  24. on StopBrowser
  25.   return win_NetScapeDieDieDie()
  26. end
  27.