home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 1999 September / PCW0999.ISO / Software / NotesR5 / edition / DATA1.CAB / DataFilesRequiredDataFiles / perweb50.ntf (.txt) < prev    next >
Encoding:
Lotus Notes Storage Facility  |  1999-07-08  |  1.2 MB  |  9,904 lines

  1. nlicher Web Navigator (V5)
  2. #1StdR50PersonalWebNavigator
  3. $PrivateDesign
  4. STG47955
  5. Web Bots\Web Ahead
  6. STG08770
  7. Favorites and Bookmarks|Bookmarks|Favorites|Bookmarks
  8. FOLDER_DIRECTORY_OBJECT
  9. EOu#B 
  10. J7)e`|qT
  11. }&lemH
  12. >%!-eWv
  13. CN=Shaun McGale/OU=DUB/O=Lotus
  14. 11/03/97 11:35:36 AM Teresa Deane/Iris updated [-Default-]
  15. 11/03/97 11:35:16 AM Teresa Deane/Iris added [-Default-]
  16. 11/03/97 11:34:30 AM Teresa Deane/Iris updated OtherDomainServers
  17. 11/03/97 11:34:16 AM Teresa Deane/Iris updated LocalDomainServers
  18. 05/21/97 12:51:15 PM Teresa Deane/Iris updated [OtherDomainServers]
  19. 05/21/97 12:51:07 PM Teresa Deane/Iris added [OtherDomainServers]
  20. 05/21/97 12:50:59 PM Teresa Deane/Iris updated OtherDomainServers
  21. 05/21/97 12:50:56 PM Teresa Deane/Iris updated LocalDomainServers
  22. 05/21/97 12:50:52 PM Teresa Deane/Iris updated [LocalDomainServers]
  23. 05/21/97 12:50:45 PM Teresa Deane/Iris added [LocalDomainServers]
  24. 05/21/97 12:50:36 PM Teresa Deane/Iris deleted Teresa Deane/Iris
  25. 05/21/97 12:50:33 PM Teresa Deane/Iris deleted Teresa Deane/Deane
  26. 05/20/97 02:17:48 PM Teresa Deane/Iris added Teresa Deane/Deane
  27. 05/20/97 02:17:46 PM Teresa Deane/Iris updated Teresa Deane/Iris
  28. 05/20/97 02:17:46 PM Teresa Deane/Iris added Teresa Deane/Iris
  29. 05/20/97 02:17:46 PM Teresa Deane/Iris added LocalDomainServers
  30. 05/20/97 02:17:46 PM Teresa Deane/Iris added OtherDomainServers
  31. -Default-
  32. OtherDomainServers
  33. LocalDomainServers
  34. [LocalDomainServers]
  35. [OtherDomainServers]
  36. [-Default-]
  37. ##########################################################
  38. ##########################################################
  39. ##########################################################
  40. de-DE
  41. 0000012A(ImportFavorite)BookmarkFile
  42. CN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notese/OU=D
  43. ##########################################################
  44. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotusde-DE`
  45. 00000116InternetFunctionss34Q1#######################################################
  46. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotusde-DE
  47. 0000011AAgentFunctionss34Q1##########################################
  48. de-DE
  49. 0000011E
  50. Internet-OptionenAdminDC
  51. $Script1ListingFixedAddressBodyPlainAnchor_styleSaveHTMLWebDatabaseWebServerKeepPageReduceNumMBReduceSizeReduceNumDaysReduceDaysSendMailToUpdatesFoundOptionsSearchFrequencyScanAhead
  52. CN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notesus
  53. CDBookmarkFile
  54. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes(ImportBookmark)de-DE
  55. 00000126
  56. ##########################################################
  57. $Modified
  58.     1S2S3S
  59. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$LANGUAGE
  60. $Flags
  61.     0SL1S4S5S3724
  62. $TITLE
  63. CN=Shaun McGale/OU=DUB/O=Lotus
  64. #######################################
  65. D1DE5FB167B5A71A831BA6EC2E9C9C3667843E4301C6054E658E2C2D65E5AC9DDC
  66. SubjectSaveOptionsFileNameHostTypeHTTPStatusURLTitleBody
  67. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesHTMLFormde-DE
  68. 0000012E##########################################
  69. BodyTitle
  70. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesHelpFormde-DE=
  71. 0000016A#######################
  72. SecureCookieCookieValueExpirationDateCookieNamePathHostDomainUsername
  73. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  74. CookieCookiede-DEO
  75. 00000192#################
  76. J7)e`|qT
  77. 1SfL3
  78. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesAufr
  79. umende-DEX
  80. 000001C2W
  81. ####################
  82. EXT11761browser$BodyCD
  83. SaveOptions$OLEPreviewActivate
  84. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  85. STG47955
  86. EXT11761"
  87. EXT11761.lssS
  88. EXT11761.lso##
  89. WebBrowser4Formde-DE
  90. 0000017E###############################
  91. 1SfL3
  92. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesWeb Aheadde-DE
  93. 000001CE
  94. ####################
  95. }&lemH
  96. de-DEE
  97. 000002F6R
  98. CN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes#########################################################
  99. 1SfL3
  100. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesPage Minderde-DE
  101. 000001E6
  102. ##################
  103. EH4fL3
  104. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes(RemoveObjects)de-DE
  105. 000001F29
  106. #############
  107. ##########################################################
  108. CN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes###############################################
  109. de-DEi
  110. 000002FAR
  111. CN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes#########################################################
  112. de-DEQ
  113. 0000019EAndere\Dateiarchiv|File Archive/O
  114. CN=Shaun McGale/OU=DUB/O=Lotus
  115. $46fr
  116.     3S15S
  117. $45fr
  118.     3S15S
  119. $46NULL$45$Conflict
  120.     L1S1
  121. $46$45
  122. $46$45
  123. $46$45
  124.  $46DateinameJ
  125. $46fr
  126.     3S15SNULL$45Dateigr
  127. $45fr
  128.     3S15S&
  129. ##########################################################
  130. $Modified
  131.     1S2S3S
  132. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$LANGUAGE$Private
  133. $Flags
  134.     0SL1S4S5S$PrivateDesignn4096
  135. $TITLE
  136. CN=Shaun McGale/OU=DUB/O=Lotus
  137. ##########################################################
  138. de-DE
  139. 00000196Andere\Aufr
  140. umen|House Cleaning/O
  141. CN=Shaun McGale/OU=DUB/O=Lotus
  142. TIME_DATE
  143. TIME_DATE
  144.     0S0E
  145.     0S0E
  146. $47Title$45$46$Conflict
  147. Cookie
  148. HTMLForm
  149. $Title
  150. HTMLFormDoc
  151. Guided Tour
  152. DeferredObject
  153. Title
  154. BLANK.HTM
  155. bookmark
  156.     L34S
  157. $47$45
  158. $45Title
  159. $47Gr
  160. TitleDokumenttitel$45DatumN
  161. TIME_DATE
  162. TIME_DATE
  163.     0S0E
  164. $46Typ*
  165.     0S0E
  166. IEVersion
  167. IEVersionMinor|
  168.     1S2S
  169. Admin
  170. Admin
  171. forward
  172. HTMLForm
  173. IEVersion
  174. Admin
  175. Admin
  176. forward
  177. HTMLForm
  178. WebBrowserForm
  179. IEVersion
  180. Admin
  181. Admin
  182. forward
  183. HTMLForm
  184. WebBrowser4Form
  185.     0R9RT12S13S23RTT29RTTT32S33S46RTT50RTTT53S54S66RTT69RT70R
  186. 4v@80BpwE
  187. EOu#B 
  188. de-DE!
  189. 000001A2(WebBrowserView)|WebBrowserView
  190. CN=Shaun McGale/OU=DUB/O=Lotus
  191. www.G
  192. www.`
  193.     15S18S27S30S
  194. $34Title$Conflict
  195. WebBrowserG
  196.     L1S1
  197.  $34v
  198. www.G
  199. www.`
  200.     15S18S27S30S
  201. TitleDocument Title&
  202. 000001A2
  203. de-DEY
  204. 000001AA(Images)
  205. CN=Shaun McGale/OU=DUB/O=LotusN
  206. URL$Conflict
  207. HTTPContent_type
  208. image
  209.     L1S1
  210. URLURL&
  211. IEVersion
  212. IEVersionMinor|
  213.     1S2S
  214. Admin
  215. Admin
  216. forward
  217. HTMLForm
  218. IEVersion
  219. Admin
  220. Admin
  221. forward
  222. HTMLForm
  223. WebBrowserForm
  224. IEVersion
  225. Admin
  226. Admin
  227. forward
  228. HTMLForm
  229. WebBrowser4Form
  230.     0R9RT12S13S23RTT29RTTT32S33S46RTT50RTTT53S54S66RTT69RT70RY
  231. de-DEY
  232. 000001AA
  233. URLDoclink
  234. CN=Winnie Liang/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesURLDoclink
  235. URLDoclink
  236. de-DE
  237. 000002EE##########################################
  238. ##########################################################
  239. ##########################################################
  240. ##########################################################
  241. O=Lotus Notes
  242. O=Lotus Notes
  243. PURSAFO
  244. |.:#U
  245. O=Lotus Notes
  246. CN=Lotus Notes Template Development/O=Lotus Notes
  247. PURSAFO
  248. $ACLDigest
  249. PURSAFO
  250. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  251. (ImportFavorite)
  252.     Verzeichnis oder Dateiname der Microsoft Favoriten:
  253. BookmarkFile
  254.     Zum Beispiel C:\WIN95\PROFILES\USERNAME\FAVORITES
  255. bookmarkfile
  256. hlen Sie einen Pfad f
  257. r Microsoft Favoriten
  258.     1S2S
  259.     Durchsuchen...
  260. O=Lotus Notes
  261. O=Lotus Notes
  262. PURSAFO
  263. |.:#U
  264. O=Lotus Notes
  265. CN=Lotus Notes Template Development/O=Lotus Notes
  266. PURSAFO
  267. n@[j;&
  268. $Language
  269. $LastBuildTime
  270. $BabelInfo
  271. $INFO
  272. $$ScriptName
  273. $BODY
  274. >%!-eWv
  275. $Conflict$C1$
  276. Admin
  277.     L1S2S3S
  278. HelpForm
  279. TitleX
  280. O=Lotus Notes
  281. O=Lotus Notes
  282. PURSAFO
  283. |.:#U
  284. O=Lotus Notes
  285. CN=Lotus Notes Template Development/O=Lotus Notes
  286. PURSAFO
  287. ]h|]z4
  288. $INFO
  289. $$ScriptName
  290. $BODY
  291. $Language
  292. $LastBuildTime
  293. $BabelInfo
  294. Bookmark
  295.     6S8S
  296. $37Title$36URL$Conflict$C1$
  297. Title
  298. Title
  299. Lotus Development Corporation
  300. http://www.lotus.com/
  301. IBM Home Page
  302. http://www.ibm.com/
  303. Notes Net
  304. http://www.notes.net/
  305. CN=Lotus Notes Template Development/O=Lotus Notes
  306. Web Bots\Page Minder
  307. (ImportBookmark)
  308. '++LotusScript Development Environment:2:5:(Options):0:74
  309. Option Public
  310. '++LotusScript Development Environment:2:5:(Forward):0:1
  311. Declare Sub Initialize
  312. Declare Sub ExtractHTTPAddress(szEntry As String) 
  313. Declare Sub CreateBookmarkDocument
  314. '++LotusScript Development Environment:2:5:(Declarations):0:10
  315. Dim ws As NotesUIWorkspace
  316. Dim session As NotesSession
  317. Dim db As NotesDatabase
  318. Dim bookmark As NotesDocument
  319. Dim note As NotesDocument
  320. Dim hFile As Integer
  321. Dim szPath As String
  322. Dim szEntry As String
  323. Dim szURL As String
  324. Dim szTitle As String
  325. '++LotusScript Development Environment:2:2:Initialize:1:10
  326. Sub Initialize
  327.      
  328. End Sub
  329. '++LotusScript Development Environment:2:2:ExtractHTTPAddress:1:8
  330. Sub ExtractHTTPAddress(szEntry As String) 
  331.      Dim posHTTPBegin As Integer
  332.      Dim posHTTPEnd As Integer
  333.      Dim posTITLEBegin As Integer
  334.      Dim posTITLEEnd As Integer
  335.      
  336. 'first, get the position of an HTTP referece
  337.      posHTTPBegin = Instr(1,szEntry,"http",5)
  338.      If (posHTTPBegin = 0) Then 
  339.           szURL = ""
  340.           Exit Sub
  341.      Else
  342. 'get the position of the closing quote
  343.           posHTTPEnd = Instr(posHTTPBegin,szEntry,"/""",5)
  344.           szURL = Mid$(szEntry,posHTTPBegin,(posHTTPEnd-posHTTPBegin)+1)
  345. 'now, we need to get the title
  346.           posTITLEBegin = Instr(posHTTPEnd,szEntry,">",5)
  347.           If (posTITLEBegin = 0) Then
  348.                szTitle = ""
  349.           Else
  350.                posTITLEEnd = Instr(posTITLEBegin,szEntry,"</a",5)
  351.                szTitle = Mid$(szEntry,posTITLEBegin+1,(posTITLEEnd-posTITLEBegin)-1)               
  352.           End If
  353.      End If   
  354. End Sub
  355. '++LotusScript Development Environment:2:2:CreateBookmarkDocument:1:8
  356. Sub CreateBookmarkDocument
  357.      
  358.      Set bookmark = New NotesDocument(db)
  359.      
  360.      bookmark.URL = szURL
  361.      bookmark.Form = "HTMLForm"
  362.      bookmark.Title = szTitle
  363.      bookmark.Subject = szTitle
  364.      bookmark.Imported = True     
  365.      Call bookmark.Save(True,True,True)
  366.      Call bookmark.PutInFolder("Meine Lesezeichen")
  367.      
  368. End Sub
  369. '++LotusScript Development Environment:2:5:(Options):0:66
  370. '++LotusScript Development Environment:2:5:(Forward):0:1
  371. Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  372. Declare Sub Postopen(Source As Notesuidocument)
  373. '++LotusScript Development Environment:2:5:(Declarations):0:2
  374. '++LotusScript Development Environment:2:2:BindEvents:1:129
  375. Private Sub BindEvents(Byval Objectname_ As String)
  376.      Static Source As NOTESUIDOCUMENT
  377.      Set Source = Bind(Objectname_)
  378.      On Event Queryopen From Source Call Queryopen
  379.      On Event Postopen From Source Call Postopen
  380. End Sub
  381. '++LotusScript Development Environment:2:2:Queryopen:1:12
  382. Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  383.      
  384. End Sub
  385. '++LotusScript Development Environment:2:2:Postopen:1:12
  386. Sub Postopen(Source As Notesuidocument)
  387.      Set ws = New NotesUIWorkspace
  388.      Set session = New NotesSession
  389.      Set db = session.CurrentDatabase
  390.      Set note = source.Document
  391. End Sub
  392.     Netscape Lesezeichen-Datei:X
  393. BookmarkFile
  394. bookmarkfile
  395. Pfad f
  396. r Netscape Lesezeichen
  397.     1S2S
  398.     Durchsuchen...
  399.     Zum Beispiel C:\NETSCAPE\NAVIGATOR\BOOKMARK.HTMX
  400. Lotus Product
  401. Lotus Product
  402. O=Lotus Notes
  403. O=Lotus Notes
  404. PURSAFO
  405. |.:#U
  406. O=Lotus Notes
  407. CN=Lotus Notes Template Development/O=Lotus Notes
  408. PURSAFO
  409. 6YO@?'
  410. $INFO
  411. $$ScriptName
  412. $Script
  413. $$FormScript
  414. $BODY
  415. $$Script_O
  416. $$$FormScript_O
  417. $Language
  418. $LastBuildTime
  419. $BabelInfo
  420. Lotus Product
  421. V0.0i
  422. &Arial
  423. HTMLForm
  424. WebRefreshFailed
  425. Aktualisierung von 
  426. Title
  427.  fehlgeschlagen
  428. Title
  429.     3S4S9S10S
  430. Weiterleiten
  431. Weiterleiten...X'++LotusScript Development Environment:2:5:(Options):0:66
  432. '++LotusScript Development Environment:2:5:(Forward):0:1
  433. Declare Sub Click(Source As Button)
  434. '++LotusScript Development Environment:2:5:(Declarations):0:2
  435. '++LotusScript Development Environment:2:2:BindEvents:1:129
  436. Private Sub BindEvents(Byval Objectname_ As String)
  437.      Static Source As BUTTON
  438.      Set Source = Bind(Objectname_)
  439.      On Event Click From Source Call Click
  440. End Sub
  441. '++LotusScript Development Environment:2:2:Click:1:12
  442. Sub Click(Source As Button)
  443.      InstantiateFormObjects
  444.      Call NotesForwardNote(doc)
  445. End Sub
  446. In Ordner verschieben...
  447. _KategorisierenX
  448. Dokument _bearbeiten
  449. Dokument _senden
  450. Aus Ordner _entfernen... X
  451. Weiterleiten
  452. Weiterleiten...X'++LotusScript Development Environment:2:5:(Options):0:66
  453. '++LotusScript Development Environment:2:5:(Forward):0:1
  454. Declare Sub Click(Source As Button)
  455. '++LotusScript Development Environment:2:5:(Declarations):0:2
  456. '++LotusScript Development Environment:2:2:BindEvents:1:129
  457. Private Sub BindEvents(Byval Objectname_ As String)
  458.      Static Source As BUTTON
  459.      Set Source = Bind(Objectname_)
  460.      On Event Click From Source Call Click
  461. End Sub
  462. '++LotusScript Development Environment:2:2:Click:1:12
  463. Sub Click(Source As Button)
  464.      InstantiateFormObjects
  465.      Call NotesForwardNote(doc)
  466. End Sub
  467. In Ordner verschieben...
  468. _KategorisierenX
  469. Dokument _bearbeiten
  470. Dokument _senden
  471. Aus Ordner _entfernen... X
  472. >|'++LotusScript Development Environment:2:5:(Options):0:74
  473. Option Public
  474. Use "InternetFunctions"
  475. '++LotusScript Development Environment:2:5:(Forward):0:1
  476. Declare Sub Initialize
  477. Declare Sub InstantiateFormObjects
  478. '++LotusScript Development Environment:2:5:(Declarations):0:10
  479. Dim uidoc As NotesUIDocument
  480. Dim doc As NotesDocument
  481. '++LotusScript Development Environment:2:2:Initialize:1:10
  482. Sub Initialize
  483.      
  484. End Sub
  485. '++LotusScript Development Environment:2:2:InstantiateFormObjects:1:8
  486. Sub InstantiateFormObjects
  487. 'call the global instantiate objects     
  488.      InstantiateObjects
  489.      Set uidoc = w.CurrentDocument    
  490.      Set doc = uidoc.Document     
  491. End Sub
  492. '++LotusScript Development Environment:2:5:(Options):0:66
  493. '++LotusScript Development Environment:2:5:(Forward):0:1
  494. Declare Sub Postopen(Source As Notesuidocument)
  495. Declare Sub Terminate
  496. Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  497. '++LotusScript Development Environment:2:5:(Declarations):0:2
  498. '++LotusScript Development Environment:2:2:BindEvents:1:129
  499. Private Sub BindEvents(Byval Objectname_ As String)
  500.     Static Source As NOTESUIDOCUMENT
  501.     Set Source = Bind(Objectname_)
  502.     On Event Postopen From Source Call Postopen
  503.     On Event Queryopen From Source Call Queryopen
  504. End Sub
  505. '++LotusScript Development Environment:2:2:Postopen:1:12
  506. Sub Postopen(Source As Notesuidocument)
  507.     'Dim doc As notesdocument
  508.     'Dim w As New notesuiworkspace
  509.     'Dim locationdoc As notesdocument
  510.     'Dim BrowserObjectCollection As notesdocumentcollection
  511.     'Dim dt As New notesdatetime ("1/1/90")
  512.     'Dim BrowserDoc As notesdocument
  513.     'source.refreshhideformulas
  514. 'If we are in the process of forwarding the document, don't open it with the web browser form.     
  515.     'If source.document.forward(0) = "1" Then
  516.     '    Exit Sub
  517.     'End If
  518.     'If Not (source.inpreviewpane)  Then
  519.     '    InstantiateObjects
  520.     '    Set doc = source.document
  521.     '    Dim url As String
  522.     '    url = doc.url(0)
  523.     '    If GetcurrentLocation = "3" Then
  524.     '        source.close
  525.     '        w.urlopen(url)
  526.     '    End If
  527.     'End If
  528. End Sub
  529. '++LotusScript Development Environment:2:2:Terminate:1:10
  530. Sub Terminate
  531. End Sub
  532. '++LotusScript Development Environment:2:2:Queryopen:1:12
  533. Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  534. End Sub
  535.                                                                                                                                                                                         
  536. Titel:        
  537. Title
  538.     0S0E
  539. Title
  540. Sie m
  541. ssen ein Thema f
  542. r das Dokument eingeben.
  543.     3S4S6S11STitleX
  544.                         
  545. URL:        
  546. Stub/Status:        
  547. HTTPStatus
  548. Typ:        
  549. Host:        X
  550.     6S9S
  551.             Dateiname:    
  552.     0S0E
  553. FileName
  554. SaveOptionsX
  555. Subject
  556. Subject
  557.     1S2S3S
  558. Subject
  559. Title
  560. SubjectX
  561.                                                                                                                                                                                         
  562. Lotus Product
  563. Lotus Product
  564. Lotus Product
  565. O=Lotus Notes
  566. O=Lotus Notes
  567. PURSAFO
  568. |.:#U
  569. O=Lotus Notes
  570. CN=Lotus Notes Template Development/O=Lotus Notes
  571. PURSAFO
  572. Counter
  573. $Hotspot0_O
  574. Created
  575. Expiration
  576. Privacy_flags
  577. Original_Date
  578. Last_Modified
  579. $SCRIPTOBJ_21
  580. $SCRIPTOBJ_20
  581. $SCRIPTOBJ_16
  582. $SCRIPTOBJ_17
  583. $SCRIPTOBJ_12
  584. $INFO
  585. $$ScriptName
  586. $WINDOWTITLE
  587. $ACTIONS
  588. $V5ACTIONS
  589. $Script
  590. $$FormScript
  591. $BODY
  592. $$Script_O
  593. $$$FormScript_O
  594. $SCRIPTOBJ_1
  595. $Language
  596. $LastBuildTime
  597. $BabelInfo
  598. $Modified
  599.     1S2S3S
  600. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$LANGUAGE$Private$C1$
  601. $Flags
  602.     0SL1S4S5S
  603. $TITLE
  604. CN=Ryan Jansen/O=IrisCN=Barbara Mathers/O=IrisCN=Ryan Jansen/O=IrisCN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesLotus NotesCN=Teresa Deane/O=IrisLotus NotesCN=Lotus Notes Template Development/O=Lotus NotesCN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Lotus Notes Templaqe Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  605. ShareWebPageShareWebPage
  606. CookieCookie
  607. WeiterleitenForward
  608. Internet-OptionenAdmin
  609. (Internet Profile)|Internet Profiles
  610. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  611.  McGale/OU=DUB/O=Lotus
  612. us Notes Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  613. (Internet Profile)|Internet Prof
  614. CN=Teresa Deane/O=
  615. Internet-Optione
  616. emplate Development/O=Lotus NotesC=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  617. es Template Developmenq/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  618. CookieCookie
  619. ionenAdmin
  620. ShareWebPageShareWeb
  621. ina Bodik/O=IrisCN=Lot
  622.  Template Development/O=LousCN=ShaShareWebPage
  623. ile)|Internet Profiles
  624. n|Bookmarks|Favorites|Bookmarks
  625. cts)~}
  626.  McGale/OU=DUB/O Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  627. Internet-Optione
  628. e Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun MNotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  629. CookieCookie
  630. ShareWebPageShareWeb
  631. ShareWebPageShar
  632. CN=Marina Bodik/O=IrisCN=L
  633. ShareWebPageShareWebPage
  634. CookieCookie
  635. (Internet Profile)|Internet Profiles
  636. WeiterleitenForward
  637. Internet-OptionenAdmin
  638. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  639.  McGale/OU=DUB/O=Lotus
  640. us Notes Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  641. (Internet Profile)|Internet Prof
  642. CN=Teresa Deane/O=
  643. Internet-Optione
  644. emplate Development/O=Lotus NotesC=Lotus Notes Template Deveaopment/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  645. es Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  646. CookieCookie
  647. ionenAdmin
  648. ShareWebPageShareWeb
  649. ina Bodik/O=IrisCN=Lot
  650.  Template Development/O=LousCN=ShaShareWebPage
  651. ile)|Internet Profiles
  652. n|Bookmarks|Favorites|Bookmarks
  653. cts)~}
  654.  McGale/OU=DUB/O Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  655. Internet-Optione
  656. e Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun MNotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O1Lot
  657. CookieCookie
  658. ShareWebPageShareWeb
  659. ShareWebPageShareWebPage
  660. CookieCookie
  661. WeiterleitenForward
  662. Internet-OptionenAdmin
  663. (Internet Profile)|Internet Profiles
  664. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  665.  McGale/OU=DUB/O=Lotus
  666. us Ngtes Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  667. (Internet Profile)|Internet Prof
  668. CN=Teresa Deane/O=
  669. Internet-Optione
  670. emplate Development/O=Lotus NotesC=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  671. es Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  672. CookieCookie
  673. ionenAdmin
  674. ShareWebPageShareWeb
  675. ina Bodik/O=IrisCN=Lot
  676.  Template Development/O=LousCN=ShaShareWebPage
  677. ile)|Internet Profiles
  678. n|Bookmarks|Favorites|Bookmarks
  679. cts)~}
  680.  McGale/OU=DUB/O Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  681. Internet-Optione
  682. e Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun MNotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  683. CookieCookie
  684. ShareWebPageShareWeb
  685. ShareWebPageShar
  686. CN=Marina Bodik/O=IrisCN=L
  687. ShareWebPageShareWebPage
  688. CookieCookie
  689. WeiterleitenForward
  690. Internet-OptionenAdmin
  691. (Internet Profile)|Internet Profilgs
  692. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  693.  McGale/OU=DUB/O=Lotus
  694. us Notes Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  695. (Internet Profile)|Interget Prof
  696. CN=Teresa Deane/O=
  697. Internet-Optione
  698. emplate Development/O=Lotus NotesC=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  699. es Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  700. CookieCookie
  701. ionenAdmin
  702. ShareWebPageShareWeb
  703. ina Bodik/O=IrisCN=Lot
  704.  Template Developmgnt/O=LousCN=ShaShareWebPage
  705. ile)|Internet Profiles
  706. n|Bookmarks|Favorites|Bookmarks
  707. cts)~}
  708.  McGale/OU=DUB/O Template Development/O=LousCN=Shaun McGale/OU=DUB/O=Lotus
  709. Internet-Optione
  710. e Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun MNotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lot
  711. CookieCookie
  712. ShareWebPageShareWeb
  713. ShareWebPageShar
  714. CN=Marina Bodik/O=IrisCN=L
  715. Lotus Product
  716. OBJECT
  717.  Cookie
  718. _KategorisierenX
  719. Dokument _bearbeiten
  720. Dokument _senden
  721. _WeiterleitenX
  722. In Ordner _verschieben...X
  723. Aus Ordner _entfernenX
  724. schenX 
  725.     0S0E
  726. _KategorisierenX
  727. Dokument _bearbeiten
  728. Dokument _senden
  729. _WeiterleitenX
  730. In Ordner _verschieben...X
  731. Aus Ordner _entfernenX
  732. schenX 
  733.     0S0E
  734.     Name:  X
  735. Username
  736. ne:  X
  737. Domain
  738.     Host:  X
  739.     Pfad:  X
  740.     Name des Cookies:  X
  741. CookieName
  742.     Ablaufdatum:  
  743. ExpirationDate
  744.     Wert:  X
  745. CookieValueX
  746.     Cookie:  X
  747. .,$///:
  748. Cookie
  749.     Sicher:  X
  750. Secure
  751. O=Lotus Notes
  752. O=Lotus Notes
  753. PURSAFO
  754. |.:#U
  755. O=Lotus Notes
  756. CN=Lotus Notes Template Development/O=Lotus Notes
  757. PURSAFO
  758. 6%#>q
  759. $HTMLDocumentStyles
  760. $INFO
  761. $$Script_O
  762. $$ScriptName
  763. ExpirationDate
  764. $ACTIONS
  765. $V5ACTIONS
  766. $BODY
  767. $Language
  768. $LastBuildTime
  769. $BabelInfo
  770. Internet-Optionen
  771. O=Lotus Notes
  772. O=Lotus Notes
  773. PURSAFO
  774. |.:#U
  775. O=Lotus Notes
  776. CN=Lotus Notes Template Development/O=Lotus Notes
  777. PURSAFO
  778. $Formula
  779. $Language
  780. $LastBuildTime
  781. $BabelInfo
  782. PURSAFO
  783. '++LotusScript Development Environment:2:5:(Options):0:74
  784. Option Public
  785. '++LotusScript Development Environment:2:5:(Forward):0:1
  786. Declare Sub InstantiateAgentObjects
  787. Declare Function OpenLog(AgentName As String) As NotesLog
  788. Declare Function RetrieveOverInternet (CurrentURL As Variant, Doc As Notesdocument,  LoadURLLinks) As Notesdocument
  789. Declare Function WebLocationOK As Integer
  790. Declare Function GetLocalNAB() As NotesDatabase
  791. Declare Sub Terminate
  792. Declare Sub RemoveObjects(doc As notesdocument)
  793. Declare Sub LogAction (Action As String)
  794. Declare Sub LogError (ErrorCode As Long, ErrorText As String)
  795. Declare Function GetLocationItem (itemname As String) As Variant
  796. '++LotusScript Development Environment:2:5:(Declarations):0:10
  797. Dim Session As notessession
  798. Dim  DebugFlag As String
  799. Dim agentlog As noteslog
  800. Dim CurrentAgent As NotesAgent
  801. Dim WebDatabase As NotesDatabase
  802. Dim datadoc As notesdocument
  803. Dim db As notesdatabase
  804. Dim view As notesview
  805. Dim docprofile As notesdocument
  806. Dim loglocation As String
  807. Dim dt As notesdatetime
  808. '++LotusScript Development Environment:2:2:InstantiateAgentObjects:1:8
  809. Sub InstantiateAgentObjects
  810.     Set session = New NotesSession
  811.     Set db = session.CurrentDatabase
  812.     Set view = db.GetView("(Internet Profile)")
  813.     Set docProfile = view.GetFirstDocument
  814. End Sub
  815. '++LotusScript Development Environment:2:1:OpenLog:1:8
  816. Function OpenLog(AgentName As String) As NotesLog
  817.      '*
  818.      '*  The purpose of this subroutine is to find and/or create the Notes Agent Log
  819.      '*  for the local client using the StdR4AgentLog template.
  820.      '*
  821.     Dim directory As notesdbdirectory
  822.     Dim db As notesdatabase
  823.     Dim done As Variant
  824.     On Error Goto errorroutine
  825.     Set directory = New notesdbdirectory("")
  826.     Set db = directory.getfirstdatabase(DATABASE)
  827.     done = False
  828.     While Not (db Is Nothing) And Not done
  829.         Call db.open("", "")
  830.         If (db.designtemplatename = "StdR4AgentLog") Then
  831.             done = True
  832.         Elseif db.filename = "agentlog.nsf" Then
  833.             done = True
  834.         Else
  835.             Set db = directory.getnextdatabase
  836.         End If
  837.     Wend
  838.     If done Then
  839.         Set AgentLog = New noteslog ("Protokoll f
  840. r " & AgentName)
  841.         Call AgentLog.opennoteslog (db.server, db.filepath)
  842.         LogLocation = "Agent Log"
  843.     Else     
  844.         Dim alogdb As New notesdatabase("", "ALOG4.NTF")      
  845.         Dim logdb As notesdatabase
  846.         If alogdb.isopen Then               
  847.             Set logdb = alogdb.createfromtemplate("", "agentlog", True)
  848.             Set agentlog = New noteslog ("Protokoll f
  849. r " & AgentName)
  850.             Call agentlog.opennoteslog ("", "agentlog.nsf")
  851.             LogLocation = "Agent Log"
  852.         Else
  853.               'Agent log template not found, using print statements to log to the Notes log
  854.             loglocation = "Notes Log"
  855.             Exit Function               
  856.         End If
  857.     End If
  858.     Set  OpenLog = Agentlog    
  859.     Exit Function
  860. ErrorRoutine:
  861.     Messagebox Error & " (OpenLog)"
  862.     Exit Function
  863. End Function
  864. '++LotusScript Development Environment:2:1:RetrieveOverInternet:1:8
  865. Function RetrieveOverInternet (CurrentURL As Variant, Doc As Notesdocument,  LoadURLLinks) As Notesdocument
  866.      '*
  867.      '*  The purpose of this subroutine is to retrieve a web page over the net.
  868.      '*  Various checks in here are present to determine if the user 
  869.      '*  is trying to access an authenticated page or access via a proxy.  
  870.      '*
  871.     Dim authinfo As Variant
  872.     Dim username As String
  873.     Dim password As String
  874.     Dim proxyinfo As Variant
  875.     Dim proxyusername As String
  876.     Dim proxypassword As String
  877.     Dim Currentdomain As String
  878.     If Doc Is Nothing Then
  879.          '*
  880.          '*  If no document was passed in then we are just dealing with a url.
  881.           '*  Just in case the url may be from an authenticated site, we need
  882.           '* to check the data note for the authentication information
  883.           '*
  884.         CurrentDomain = (Left(Currenturl, (Instr(8, Currenturl, "/", 1))))
  885.         If datadoc.hasitem(currentdomain+"auth") And datadoc.hasitem(currentdomain+"proxy") Then
  886.             authinfo =datadoc.getitemvalue(currentdomain+"auth")
  887.             username = Left(authinfo(0),  (Instr(authinfo(0), ":")-1))
  888.             password = Right(authinfo(0), (Len(authinfo(0))-Instr(authinfo(0), ":")))
  889.             proxyinfo = datadoc.getitemvalue(currentdomain+"proxy")
  890.             proxyusername = Left(proxyinfo(0), (Instr(proxyinfo(0), ":")-1))
  891.             proxypassword = Right(proxyinfo(0), Len(proxyinfo(0))-(Instr(proxyinfo(0), ":"))) 
  892.             If LoadURLLinks Then
  893.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"",username,password,proxyusername,proxypassword)  
  894.             Else
  895.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0,"",username,password,proxyusername,proxypassword)  
  896.             End If
  897.             Exit Function
  898.         Elseif datadoc.hasitem(currentdomain+"auth") And Not datadoc.hasitem(currentdomain+"proxy") Then
  899.             authinfo = datadoc.getitemvalue(currentdomain+"auth")
  900.             username = Left(authinfo(0),  (Instr(authinfo(0), ":")-1))
  901.             password = Right(authinfo(0), (Len(authinfo(0))-Instr(authinfo(0), ":")))
  902.             If LoadURLLinks Then
  903.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"",username,password)
  904.             Else
  905.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0,"",username,password)
  906.             End If
  907.             Exit Function
  908.         Elseif datadoc.hasitem(currentdomain+"proxy") And Not datadoc.hasitem(currentdomain+"auth") Then
  909.             proxyinfo = datadoc.getitemvalue(currentdomain+"proxy")
  910.             proxyusername = Left(proxyinfo(0), (Instr(proxyinfo(0), ":")-1))
  911.             proxypassword = Right(proxyinfo(0), (Len(proxyinfo(0))-Instr(proxyinfo(0), ":")))
  912.             If LoadURLLinks Then
  913.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"", "", "", proxyusername, proxypassword)
  914.             Else
  915.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0,"", "", "", proxyusername, proxypassword)
  916.             End If
  917.             Exit Function
  918.         Else
  919.             If LoadURLLinks Then
  920.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1)  
  921.             Else
  922.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0)
  923.             End If
  924.             Exit Function
  925.         End If
  926.           '*
  927.           '*  If a document did get passed in as an argument, check to see if authentication information exists on it
  928.           '*  If the information does exist, store it on the data note for the agent.
  929.           '*
  930.     Else 
  931.         If Doc.hasitem("$User_Authentication") And Doc.hasitem("$Proxy_Authentication") Then
  932.             authinfo = Doc.getitemvalue("$User_Authentication")
  933.             username = Left(authinfo(0),  (Instr(authinfo(0), ":")-1))
  934.             password = Right(authinfo(0), (Len(authinfo(0))-Instr(authinfo(0), ":")))
  935.             proxyinfo = Doc.getitemvalue("$Proxy_Authentication")
  936.             proxyusername = Left(proxyinfo(0), (Instr(proxyinfo(0), ":")-1))
  937.             proxypassword = Right(proxyinfo(0), (Len(proxyinfo(0)) -Instr(proxyinfo(0), ":"))) 
  938.             CurrentDomain = (Left(Currenturl, (Instr(8, currenturl, "/", 1))))
  939.             If datadoc.hasitem(currentdomain+"auth") And datadoc.hasitem(currentdomain+"proxy") Then
  940.                 If LoadURLLinks Then
  941.                     Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"",username,password,proxyusername,proxypassword)  
  942.                 Else
  943.                     Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0,"",username,password,proxyusername,proxypassword)  
  944.                 End If
  945.                 Exit Function
  946.             Else
  947.                 Call datadoc.replaceitemvalue(currentdomain+"auth", authinfo)
  948.                 Call datadoc.replaceitemvalue(currentdomain+"proxy",proxyinfo)
  949.                 Call datadoc.save(True, False)
  950.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"",username,password,proxyusername,proxypassword)  
  951.             End If
  952.         Elseif Doc.hasitem("$User_Authentication") And Not Doc.hasitem("$Proxy_Authentication") Then
  953.             authinfo = Doc.getitemvalue("$User_Authentication")
  954.             username = Left(authinfo(0),  (Instr(authinfo(0), ":")-1))
  955.             password = Right(authinfo(0), (Len(authinfo(0))-Instr(authinfo(0), ":")))
  956.             CurrentDomain = (Left(currenturl, (Instr(8, currenturl, "/", 1))))
  957.             If datadoc.hasitem(currentdomain+"auth") Then
  958.                 If LoadURLLinks Then
  959.                     Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"",username,password)
  960.                 Else
  961.                     Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0,"",username,password)
  962.                 End If
  963.                 Exit Function
  964.             Else
  965.                 Call datadoc.replaceitemvalue(currentdomain+"auth", authinfo)
  966.                 Call datadoc.save(True,False)
  967.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"",username,password)
  968.             End If
  969.         Elseif Doc.hasitem("$Proxy_Authentication") And Not Doc.hasitem("$User_Authentication") Then
  970.             proxyinfo = Doc.getitemvalue("$Proxy_Authentication")
  971.             proxyusername = Left(proxyinfo(0), (Instr(proxyinfo(0), ":")-1))
  972.             proxypassword = Right(proxyinfo(0), (Len(proxyinfo(0)) - Instr(proxyinfo(0), ":")))
  973.             CurrentDomain = (Left(Currenturl, (Instr(8, currenturl, "/", 1))))
  974.             If datadoc.hasitem(currentdomain+"proxy") Then
  975.                 If LoadURLLinks Then
  976.                     Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"", "", "", proxyusername, proxypassword)
  977.                 Else
  978.                     Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0,"", "", "", proxyusername, proxypassword)
  979.                 End If
  980.                 Exit Function
  981.             Else
  982.                 Call datadoc.replaceitemvalue(currentdomain+"proxy", proxyinfo)
  983.                 Call datadoc.save(True,False)
  984.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"", "", "", proxyusername, proxypassword)
  985.             End If
  986.             Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1,"", "", "", proxyusername, proxypassword)
  987.         Else
  988.             If LoadURLLinks Then
  989.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,1)  
  990.             Else
  991.                 Set RetrieveOverInternet = WebDatabase.GetDocumentByURL(currentURL, 2,0)
  992.             End If
  993.         End If
  994.     End If
  995. End Function
  996. '++LotusScript Development Environment:2:1:WebLocationOK:1:8
  997. Function WebLocationOK As Integer
  998.      '*
  999.      '*  This function verifies that the current location settings are correct for local web retrievals.
  1000.      '*
  1001.     WebLocationOK = True
  1002.     Dim PrivateAddressBook As notesdatabase
  1003.     Dim CurrentLocation As notesdocument
  1004.     Dim LocationString As String     
  1005.     Set PrivateAddressBook = GetLocalNAB
  1006.     If (PrivateAddressBook Is Nothing) Then
  1007.         Call agentlog.logaction( "Die aktuelle Einstellungen f
  1008. r die Arbeitsumgebung k
  1009. nnen nicht 
  1010. berpr
  1011. ft werden. Das pers
  1012. nliches Adre
  1013. buch konnte nicht ge
  1014. ffnet werden. Fortsetzung des Agenten ") 
  1015.         Exit Function
  1016.     End If
  1017.     LocationString = Session.GetEnvironmentString ( "Location", True)
  1018.     If LocationString <> "" Then
  1019.         Temp$ = Mid( LocationString, (Instr(1, LocationString, ",")+1))
  1020.         LocationID$ = Left(Temp$, (Instr(1,Temp$, ",")-1))
  1021.         Set CurrentLocation = PrivateAddressBook.getdocumentbyid(LocationID$)
  1022.         If Not (CurrentLocation Is Nothing) Then
  1023.             If CurrentLocation.WebLogLevel(0) <> "0" Then
  1024.                 DebugFlag = "1"
  1025.             End If
  1026.             If CurrentLocation.WebRetriever(0) = "0" Or CurrentLocation.WebRetriever(0) = "3" Then
  1027.                 Goto CheckLocation
  1028.             Else
  1029.                 Call agentlog.logerror(5, "In Ihrer aktuellen Arbeitsumgebung ist Notes nicht als Ihr Web-Retriever angegeben.")
  1030.                 WebLocationOK = False
  1031.                 Exit Function
  1032.             End If
  1033. CheckLocation:
  1034.             If CurrentLocation.WebLocation(0) <> "1" Then
  1035.                 Call agentlog.logerror(6, "In Ihrer aktuellen Arbeitsumgebung sind keine lokalen Web-Abrufe eingestellt.")
  1036.                 WebLocationOK = False
  1037.                 Exit Function
  1038.             End If
  1039.         Else
  1040.             Call agentlog.logaction( "Warnung: Die aktuellen Umgebungseinstellungen konnten nicht 
  1041. berpr
  1042. ft werden. Das Umgebungsdokument wurde nicht gefunden.")
  1043.             Exit Function
  1044.         End If
  1045.     Else
  1046.         Call agentlog.logaction( "Warnung: Die aktuellen Arbeitsumgebungseinstellungen konnten nicht 
  1047. berpr
  1048. ft werden. Die Arbeitsumgebungszeichenfolge ist leer." )
  1049.         Exit Function
  1050.     End If     
  1051. End Function
  1052. '++LotusScript Development Environment:2:1:GetLocalNAB:1:8
  1053. Function GetLocalNAB() As NotesDatabase
  1054.     Dim sAddressBook As String
  1055.     Dim nCommaLocation As Integer
  1056.     On Error Resume Next
  1057.     sAddressBook = session.GetEnvironmentString("NAMES", True)
  1058.     nCommaLocation = Instr(sAddressBook, ",")
  1059.     If nCommaLocation > 0 Then sAddressBook = Left(sAddressBook, nCommaLocation-1)
  1060.     Set GetLocalNAB = New NotesDatabase("",sAddressBook)
  1061. End Function
  1062. '++LotusScript Development Environment:2:2:Terminate:1:10
  1063. Sub Terminate
  1064. End Sub
  1065. '++LotusScript Development Environment:2:2:RemoveObjects:1:8
  1066. Sub RemoveObjects(doc As notesdocument)
  1067.     Dim imagepage As notesdocument
  1068.     If doc.hasitem("$ImageList") Then
  1069.         Dim images As Variant
  1070.         images  = doc.getitemvalue("$ImageList")
  1071.         Forall j In images
  1072.             If j <> "" Then
  1073.                 Set imagepage = db.getdocumentbyurl(j)
  1074.                 If Not(imagepage Is Nothing) Then
  1075.                     imagepage.remove True
  1076.                 End If
  1077.             End If
  1078.         End Forall
  1079.     End If
  1080. End Sub
  1081. '++LotusScript Development Environment:2:2:LogAction:1:8
  1082. Sub LogAction (Action As String)
  1083.     If LogLocation = "Agent Log" Then
  1084.         Call agentlog.logaction(Action)
  1085.     Elseif LogLocation = "Notes Log" Then
  1086.         Print Action
  1087.     End If
  1088. End Sub
  1089. '++LotusScript Development Environment:2:2:LogError:1:8
  1090. Sub LogError (ErrorCode As Long, ErrorText As String)
  1091.     If LogLocation = "Agent Log" Then
  1092.         Call agentlog.logerror(ErrorCode, ErrorText)
  1093.     Else
  1094.         Print Error & ErrorText
  1095.     End If
  1096. End Sub
  1097. '++LotusScript Development Environment:2:1:GetLocationItem:1:8
  1098. Function GetLocationItem (itemname As String) As Variant
  1099.      '*
  1100.      '*  This function returns a data item from the current location note
  1101.      '*
  1102.     InstantiateAgentObjects
  1103.     GetLocationItem = ""
  1104.     Dim PrivateAddressBook As notesdatabase
  1105.     Dim CurrentLocation As notesdocument
  1106.     Dim LocationString As String     
  1107.     Set PrivateAddressBook = GetLocalNAB
  1108.     If (PrivateAddressBook Is Nothing) Then
  1109.         Print "Warnung: Das pers
  1110. nliche Adre
  1111. buch konnte nicht ge
  1112. ffnet werden."
  1113.         Exit Function
  1114.     End If
  1115.     LocationString = Session.GetEnvironmentString ( "Location", True)
  1116.     If LocationString <> "" Then
  1117.         Temp$ = Mid( LocationString, (Instr(1, LocationString, ",")+1))
  1118.         LocationID$ = Left(Temp$, (Instr(1,Temp$, ",")-1))
  1119.         Set CurrentLocation = PrivateAddressBook.getdocumentbyid(LocationID$)
  1120.         If Not (CurrentLocation Is Nothing) Then
  1121.             GetLocationItem = CurrentLocation.getitemvalue(itemname)
  1122.         Else
  1123.             Call agentlog.logaction("Warnung: Die aktuellen Umgebungseinstellungen konnten nicht 
  1124. berpr
  1125. ft werden. Das Umgebungsdokument wurde nicht gefunden.") 
  1126.             Exit Function
  1127.         End If
  1128.     Else
  1129.         Call agentlog.logaction( "Warnung: Die aktuellen Arbeitsumgebungseinstellungen konnten nicht 
  1130. berpr
  1131. ft werden. Die Arbeitsumgebungszeichenfolge ist leer." )
  1132.         Exit Function
  1133.     End If     
  1134. End Function
  1135. Lotus Product
  1136. P    @    @    
  1137.     J0    J@    
  1138.     J0    J@    
  1139. J0    J@    
  1140. J0    J@    
  1141.     J0    J@    
  1142.     J0    J@    
  1143. ^     #1
  1144.     J0    J@    
  1145. J0    J@    
  1146. J0    J@    
  1147. ^     #1
  1148. J0    J@    
  1149. J0    J@    
  1150. O=Lotus
  1151. O=Lotus
  1152. PURSAFO
  1153. O=Lotus
  1154. OU=DUB/O=Lotus
  1155. PURSAFO
  1156. }NFib
  1157. OU=DUB/O=Lotus
  1158. CN=Shaun McGale/OU=DUB/O=Lotus
  1159. PURSAFO
  1160. v3ayD
  1161. $Language
  1162. $LastBuildTime
  1163. $BabelInfo
  1164. $TITLE
  1165. $ScriptLib
  1166. $ScriptLib_O
  1167. BabelI
  1168. '++LotusScript Development Environment:2:5:(Options):0:74
  1169. Option Public
  1170. '++LotusScript Development Environment:2:5:(Forward):0:1
  1171. Declare Sub RefreshPage
  1172. Declare Sub InstantiateObjects
  1173. Declare Sub OpenHomeURL
  1174. Declare Sub OpenSearchSite (docLocal As NotesDocument)
  1175. Declare Sub CreateNotesLink (docLocal As NotesDocument)
  1176. Declare Sub CopyDocumentToSharedDatabase (docLocal As NotesDocument, url As String) 
  1177. Declare Sub CreateRatingDocument (docLocal As NotesDocument, url As String, title As String)
  1178. Declare Sub ReduceToLink (docLocal As NotesDocument)
  1179. Declare Sub GetProfileDocument
  1180. Declare Function LocationOK As Integer
  1181. Declare Sub  ImportFavorites
  1182. Declare Sub FavoriteExtractAddress(posBegin As Integer)
  1183. Declare Sub CreateFavoriteDocument   
  1184. Declare Sub FavoriteProcessOneLine
  1185. Declare Sub ImportBookmarks
  1186. Declare Sub NavigatorExtractAddress(posBegin As Integer)
  1187. Declare Sub ShrinkFolderName
  1188. Declare Sub NavigatorProcessOneLine
  1189. Declare Sub GetFolderName(posStart As Integer)
  1190. Declare Sub CreateNavigatorDocument
  1191. Declare Sub PrintWebDocument
  1192. Declare Sub WebNavHelp
  1193. Declare Sub IENextdoc(browserobject As Variant)    
  1194. Declare Sub IEPreviousDoc(browserobject As Variant)     
  1195. Declare Sub IEStop(browserobject As Variant)  
  1196. Declare Function GetCurrentLocation As String
  1197. Declare Sub IEForwardNote (doc As notesdocument, browserobject As Variant)
  1198. Declare Sub IERefreshPage(browserobject As Variant)     
  1199. Declare Sub IEOpenHome(browserobject As Variant)
  1200. Declare Sub IESearch(browserobject As Variant)
  1201. Declare Sub CreateIELink(url As String, title As String)
  1202. Declare Sub MoveToFolder(Source As NotesUIView,Target As Variant, Continue As Variant)
  1203. Declare Function GetLocalNAB() As NotesDatabase
  1204. Declare Function GetRegValue (szKey$, szValueName$) As String
  1205. Declare Sub SetRegValue(szKey$, szValueName$, szKeyValue)
  1206. Declare Function GetLocationItem (itemname As String) As Variant
  1207. Declare Sub SetLocationItem(itemname As String, itemvalue As String)
  1208. Declare Sub CreateIEBookmark(browserobject As Variant, folder As String)
  1209. Declare Sub RemoveObjects(doc As notesdocument)
  1210. Declare Sub GetCurrentFolders
  1211. Declare Sub ViewDelete
  1212. Declare Sub Browse
  1213. Declare Sub ViewForward(docLocal As notesdocument)
  1214. Declare Function DuplicateBookmark(szURL) As Integer
  1215. Declare Sub CheckRegistrySettings
  1216. Declare Function CompareValues(IEValue As String, NotesValue As Variant) As String
  1217. Declare Function ParseFilename(szPath As String) As String
  1218. Declare Sub NotesForwardNote(doc As notesdocument)
  1219. Declare Function ParseURL(url As String) As String
  1220. '++LotusScript Development Environment:2:5:(Declarations):0:10
  1221. 'this script library is used by the views and forms for sharing various scripts -> Home, Search, Share, Import Bookmarks, and Reduce
  1222. Dim w As NotesUIWorkspace
  1223. Dim session As NotesSession
  1224. Dim db As NotesDatabase
  1225. Dim dbShared As NotesDatabase
  1226. Dim docProfile As NotesDocument
  1227. Dim note As NotesDocument
  1228. Dim bookmark As NotesDocument
  1229. Dim bookmarkfolder As NotesView
  1230. Dim firstnavigatedone As Integer
  1231. Dim view As NotesView
  1232. Dim hFile As Integer
  1233. Dim numDirectories As Integer
  1234. Dim szPath As String
  1235. Dim szEntry As String
  1236. Dim szURL As String
  1237. Dim szTitle As String
  1238. Dim szFolder As String
  1239. Dim filenamepath As String
  1240. Dim filename As String
  1241. Dim fileflag As Integer
  1242. Dim Directories() As String
  1243. %INCLUDE "lsconst.lss"
  1244. ' This declares the routines used for retrieving key values
  1245. ' from the registry on a Windows 32 client.
  1246. ' NOTE: if you are running this app on a platform other than
  1247. ' Windows 32 Intel, then it will not work.
  1248. Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (Byval hKey&, Byval szSubKey$, Byval dwOptions&, Byval SAM&, hKey&) As Long
  1249. Declare Function RegCloseKey Lib "advapi32.dll" Alias "RegCloseKey" (Byval hKey&) As Long
  1250. Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (Byval hKey&, Byval szValue$, Byval dwReserved&, dwType&, Byval szValue$, lpdwBuf&) As Long
  1251. Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (Byval hKey&, Byval szValue$, Byval dwReserved&, Byval dwType&, Byval lpData$, Byval cbData&)  As Long
  1252. Const HKEY_CURRENT_USER = &H80000001
  1253. Const KEY_READ = &H00020019
  1254. Const KEY_SET_VALUE = &H0002
  1255. Dim RetCode As Long
  1256. Dim dwType As Long
  1257. Dim hKey As Long
  1258. Dim dwSize As Long
  1259. Dim lpData As String
  1260. Dim cbData As Long
  1261. '++LotusScript Development Environment:2:2:RefreshPage:1:8
  1262. Sub RefreshPage
  1263.     Dim currenturl As String  
  1264.     Dim currentdoc As notesuidocument
  1265.     Dim urldoc As notesdocument
  1266.     Dim docCollection As NotesDocumentCollection     
  1267.     Set docCollection = db.UnprocessedDocuments
  1268.     If (docCollection.Count = 0) Then
  1269.         Msgbox "Sie m
  1270. ssen ein Dokument w
  1271. hlen.",16,"Fehler"
  1272.         Exit Sub
  1273.     End If
  1274.     Set currentdoc = w.currentdocument
  1275.     currenturl=currentdoc.fieldgettext("URL") 
  1276.     Set urldoc = db.GetDocumentByURL(currenturl, 1)
  1277.     w.EditDocument False, urldoc
  1278.     w.viewrefresh
  1279. End Sub
  1280. '++LotusScript Development Environment:2:2:InstantiateObjects:1:8
  1281. Sub InstantiateObjects
  1282.     Set w = New NotesUIWorkspace
  1283.     Set session = New NotesSession
  1284.     Set db = session.CurrentDatabase
  1285.     Set view = db.GetView("(Internet Profile)")
  1286.     Set docProfile = view.GetFirstDocument
  1287. End Sub
  1288. '++LotusScript Development Environment:2:2:OpenHomeURL:1:8
  1289. Sub OpenHomeURL
  1290.     On Error 4005 Goto LoadHomeURL
  1291.     Dim urldoc As NotesDocument
  1292.     If (docProfile Is Nothing) Then GetProfileDocument
  1293.     If (docProfile Is Nothing) Then
  1294.         Msgbox "Sie m
  1295. ssen eine Homepage zum 
  1296. ffnen angeben. W
  1297. hlen Sie im Hauptmen
  1298.  'Aktionen - Internet-Optionen'."
  1299.         Exit Sub 
  1300.     End If
  1301.     If (docProfile.openurl(0) <> "") Then 
  1302.         w.URLOpen docProfile.openurl(0), 2, 0, "", "", "", "", "", True
  1303.     Else
  1304.         Msgbox "Sie m
  1305. ssen eine Homepage zum 
  1306. ffnen angeben. W
  1307. hlen Sie im Hauptmen
  1308.  'Aktionen - Internet-Optionen'."
  1309.         Exit Sub 
  1310.     End If
  1311.     Exit Sub
  1312. LoadHomeURL:
  1313.     w.URLOpen docProfile.openurl(0), 2, 0, "", "", "", "", "", True
  1314.     Exit Sub
  1315. End Sub
  1316. '++LotusScript Development Environment:2:2:OpenSearchSite:1:8
  1317. Sub OpenSearchSite (docLocal As NotesDocument)
  1318.     Dim SearchDoc As notesdocument
  1319.     If (docProfile Is Nothing) Then GetProfileDocument
  1320.     If (docProfile Is Nothing) Then
  1321.         Msgbox "Sie m
  1322. ssen eine Homepage zum 
  1323. ffnen angeben. W
  1324. hlen Sie im Hauptmen
  1325.  'Aktionen - Internet-Optionen'."
  1326.         Exit Sub 
  1327.     End If
  1328.        'we need to determine if the current document exists or has the $Index field
  1329.     If (docLocal Is Nothing) Or Not (docLocal.HasItem("$Index")) Then
  1330.         w.URLOpen docProfile.SearchURL(0)   
  1331.     Else
  1332.           'open the url specified
  1333.         i = docLocal.GetItemValue("$Index")
  1334.         pos% = Instr(docLocal.URL(0),"?")
  1335.         If (pos% > 0) Then
  1336.             url$ = Right$(docLocal.URL(0),Len(docLocal.URL(0)) - pos%) & " ?"
  1337.         Else
  1338.             url$ = docLocal.URL(0) & "?"
  1339.         End If
  1340.         index$ = url$ & Inputbox$(i(0),"Internet-Server durchsuchen")
  1341.         If index$<> "" Then 
  1342.             w.urlopen index$
  1343.         End If
  1344.     End If
  1345. End Sub
  1346. '++LotusScript Development Environment:2:2:CreateNotesLink:1:8
  1347. Sub CreateNotesLink (docLocal As NotesDocument)
  1348.     Dim docMail As NotesDocument
  1349.     Dim rtitem As NotesRichTextItem
  1350.     Set docMail = New NotesDocument(db)
  1351.     Set rtitem = New NotesRichTextItem(docMail,"Body")
  1352.     docMail.Form = "Memo"
  1353.     Call rtitem.AppendText(docLocal.url(0))
  1354.     docMail.Subject = docLocal.Title(0)          
  1355.     docMail.Send False,docLocal.ForwardTo(0)               
  1356. End Sub
  1357. '++LotusScript Development Environment:2:2:CopyDocumentToSharedDatabase:1:8
  1358. Sub CopyDocumentToSharedDatabase (docLocal As NotesDocument, url As String) 
  1359.     Dim webdoc As notesdocument
  1360.     If (docProfile Is Nothing) Then GetProfileDocument
  1361.     If (docProfile Is Nothing) Then
  1362.         Msgbox "Sie m
  1363. ssen einen Web-Server und eine Web-Datenbank angeben, um Seiten gemeinsam zu nutzen. W
  1364. hlen Sie im Hauptmen
  1365.  'Aktionen - Internet-Optionen'."
  1366.         Exit Sub 
  1367.     End If
  1368.     If  (docProfile.WebDatabase(0) = "") Then
  1369.         Msgbox "Sie m
  1370. ssen den Server und die gemeinsam genutzte Datenbank angeben. W
  1371. hlen Sie 'Aktionen - Internet-Optionen' aus dem Men
  1372.         Exit Sub
  1373.     End If
  1374.     Set dbShared = New NotesDatabase(docProfile.WebServer(0),docProfile.WebDatabase(0))  
  1375.     If Not (dbShared.IsOpen) Then
  1376.         Msgbox "Die gemeinsam genutze Datenbank konnte nicht ge
  1377. ffnet werden"
  1378.         Exit Sub
  1379.     End If
  1380.     If docLocal.form(0) = "WebBrowserForm" Or docLocal.form(0) = "WebBrowser4Form" Then 
  1381.         Set webdoc = dbshared.getdocumentbyurl(url)
  1382.         dbShared.Close
  1383.     Else
  1384.         Set webdoc = dbshared.getdocumentbyurl(url)
  1385.         dbShared.Close
  1386.     End If
  1387. End Sub
  1388. '++LotusScript Development Environment:2:2:CreateRatingDocument:1:8
  1389. Sub CreateRatingDocument (docLocal As NotesDocument, url As String, title As String)
  1390.     Dim docRating As NotesDocument
  1391.     If (docProfile Is Nothing) Then GetProfileDocument
  1392.     If (docProfile Is Nothing) Then
  1393.         Msgbox "Sie m
  1394. ssen einen Web-Server und eine Web-Datenbank angeben, um Seiten gemeinsam zu nutzen. W
  1395. hlen Sie im Hauptmen
  1396.  'Aktionen - Internet-Optionen'."
  1397.         Exit Sub 
  1398.     End If
  1399.     If  (docProfile.WebDatabase(0) = "") Then
  1400.         Msgbox "Sie m
  1401. ssen den Server und die gemeinsam genutzte Datenbank angeben. W
  1402. hlen Sie 'Aktionen - Internet-Optionen' aus dem Men
  1403.         Exit Sub
  1404.     End If
  1405.     Set dbShared = New NotesDatabase(docProfile.WebServer(0),docProfile.WebDatabase(0))  
  1406.     If Not (dbShared.IsOpen) Then
  1407.         Msgbox "Die gemeinsam genutze Datenbank konnte nicht ge
  1408. ffnet werden"
  1409.         Exit Sub
  1410.     End If
  1411.      'create the remote document and add some fields to it
  1412.     Set docRating = New NotesDocument(dbShared)
  1413.     docRating.Form = "Person Rating Form"
  1414.     docRating.Rating = docLocal.Rating
  1415.     docRating.Content = docLocal.Content
  1416.     docRating.Comments = docLocal.Comments
  1417.     docRating.Author = session.UserName
  1418.     docRating.URL = URL
  1419.     docRating.Title = Title
  1420.     docRating.Save True, True
  1421.     dbShared.Close     
  1422. End Sub
  1423. '++LotusScript Development Environment:2:2:ReduceToLink:1:8
  1424. Sub ReduceToLink (docLocal As NotesDocument)
  1425.     If docLocal.hasitem("Body") Then
  1426.         docLocal.RemoveItem "Body"
  1427.         docLocal.RemoveItem "HTMLSource"
  1428.         docLocal.RemoveItem "HTMLBody"
  1429.         docLocal.RemoveItem "$Background"
  1430.         docLocal.RemoveItem "$FILE"
  1431.         docLocal.RemoveItem "$OLEOBJINFO"
  1432.         docLocal.RemoveItem "URLLinks1"
  1433.         docLocal.RemoveItem "WebAheadStatus"
  1434.         docLocal.RemoveItem "WebAgentError"
  1435.         docLocal.RemoveItem "PageMinderStatus"
  1436.         docLocal.bookmark = "1"
  1437.         docLocal.Save True,True
  1438.     Else
  1439.         docLocal.RemoveItem "$Body"
  1440.         docLocal.RemoveItem "HTMLSource"
  1441.         docLocal.RemoveItem "$Background"
  1442.         docLocal.RemoveItem "$FILE"
  1443.         docLocal.RemoveItem "$OLEOBJINFO"
  1444.         docLocal.RemoveItem "URLLinks1"
  1445.         docLocal.RemoveItem "WebAheadStatus"
  1446.         docLocal.RemoveItem "WebAgentError"
  1447.         docLocal.RemoveItem "PageMinderStatus"
  1448.         docLocal.Bookmark = "1"
  1449.         docLocal.Save True,True
  1450.     End If
  1451. End Sub
  1452. '++LotusScript Development Environment:2:2:GetProfileDocument:1:8
  1453. Sub GetProfileDocument
  1454.     Dim view As NotesView
  1455.     Set view = db.GetView("Internet Profiles")
  1456.     Set docProfile = view.GetFirstDocument
  1457. End Sub
  1458. '++LotusScript Development Environment:2:1:LocationOK:1:8
  1459. Function LocationOK As Integer
  1460.      '*
  1461.      '*  This function verifies that the current location settings are correct for local web retrievals.
  1462.      '*
  1463.     LocationOK = True
  1464.     Dim currentbrowser As String
  1465.     Dim MailServer As String
  1466.     currentbrowser = GetLocationItem("WebRetriever")
  1467.     If CurrentBrowser <> "3" Or CurrentBrowser <> "1" Then
  1468.         Msgbox "Ihr Browser ist nicht so eingestellt, da
  1469.  Sie Web-Seiten nicht direkt in Notes abrufen k
  1470. nnen. Bearbeiten Sie Ihr aktuelles Arbeitsumgebungsdokument, und 
  1471. ndern Sie die Browser-Einstellungen in 'Notes'.", 16, "Fehler"
  1472.         LocationOK = False
  1473.         Exit Function
  1474.     End If
  1475.     MailServer = GetLocationItem("MailServer")
  1476.     If MailServer = "" Then
  1477.         Msgbox "Sie haben keine Mail-Datei und/oder keinen Mail-Server angegeben. Verwenden Sie 'Datei - Mobil - Aktuelle Arbeitsumgebung bearbeiten...', um dies nachzuholen.", 16, "Fehler"
  1478.         LocationOK = False
  1479.         Exit Function
  1480.     End If
  1481. End Function
  1482. '++LotusScript Development Environment:2:2:ImportFavorites:1:8
  1483. Sub  ImportFavorites
  1484.     InstantiateObjects
  1485.     Set note = New NotesDocument(db)
  1486.     szFolder = "Favoriten"
  1487.     numDirectories = 0
  1488.     Redim Directories(20)
  1489.     fileflag = False
  1490.     If(w.DialogBox("(ImportFavorite)",True,True,False,,,,"Favoriten importieren",note)) Then
  1491.           'get the file to open     
  1492.         szPath = note.BookMarkFile(0)
  1493.         If (szPath = "") Then 
  1494.             Exit Sub
  1495.         Elseif (Right$(szPath,3) = "url" ) Then
  1496.                'file is specified not path parse out filename and go directly to process file
  1497.             filenamepath = szPath
  1498.             fileflag = True
  1499.             Goto ProcessFile
  1500.         Elseif (Right$(szPath,1) <> "\") Then 
  1501.             szPath  = szPath & "\"
  1502.         End If        
  1503.         filename = Dir$(szPath ,ATTR_DIRECTORY)
  1504.         While (filename <>"")
  1505.             If (filename <> ".") And (filename <> "..") Then
  1506.                 filenamepath = szPath & filename
  1507.                 retType = Getfileattr(filenamepath)
  1508.                 If Not(retType = ATTR_DIRECTORY) Then
  1509. ProcessFile:
  1510.                     hFile = Freefile
  1511.                     
  1512. 'open the file     
  1513.                     Open filenamepath For Input As hFile
  1514.                     
  1515. 'read in a line from the file
  1516.                     Do Until Eof(hFile)
  1517.                         Line Input #hFile,szEntry
  1518.                         Call FavoriteProcessOneLine
  1519.                     Loop
  1520.                 Else
  1521. 'this is a directory
  1522.                     Directories(counter) = filename
  1523.                     counter = counter + 1
  1524.                 End If
  1525.             End If
  1526.             If fileflag Then Exit Sub
  1527.             filename = Dir()
  1528.         Wend
  1529.     End If
  1530. 'scan subdirectories if need be
  1531.     If (counter > 0) Then
  1532.         For x = 0 To (counter-1)
  1533.             szFolder = "Lesezeichen\" & Directories(x)
  1534.             szSubPath = szPath & Directories(x) & "\"
  1535.             filename = Dir$(szSubPath,ATTR_DIRECTORY)
  1536.             While (filename <>"")
  1537.                 If (filename <> ".") And (filename <> "..") Then
  1538.                     retType = Getfileattr(szSubPath & filename)
  1539.                     If Not(retType = ATTR_DIRECTORY) Then
  1540.                         hFile = Freefile                              
  1541. 'open the file     
  1542.                         Open szSubPath  & filename For Input As hFile
  1543.                         
  1544. 'read in a line from the file
  1545.                         Do Until Eof(hFile)
  1546.                             Line Input #hFile,szEntry
  1547.                             Call FavoriteProcessOneLine
  1548.                         Loop
  1549.                     End If
  1550.                 End If
  1551.                 filename = Dir()
  1552.             Wend               
  1553.         Next
  1554.     End If
  1555. End Sub
  1556. '++LotusScript Development Environment:2:2:FavoriteExtractAddress:1:8
  1557. Sub FavoriteExtractAddress(posBegin As Integer)
  1558. 'get the position of the closing quote
  1559.     szURL = Right$(szEntry,Len(szEntry) - posBegin+1)
  1560. End Sub
  1561. '++LotusScript Development Environment:2:2:CreateFavoriteDocument:1:8
  1562. Sub CreateFavoriteDocument   
  1563.      'Before we create the bookmark document we need to make sure that one does not already exist
  1564.     If Not DuplicateBookmark(szURL) Then
  1565.         Dim nulldoc As notesdocument
  1566.         Dim title As String
  1567.         Set bookmark = New NotesDocument(db)
  1568.         If fileflag Then
  1569.             title = Parsefilename(szPath)
  1570.             bookmark.title = Left$(title, Len(title)-4)
  1571.         Else
  1572.             bookmark.title = Left$(filename, Len(filename)-4)
  1573.         End If
  1574.         bookmark.URL =  szURL
  1575.         bookmark.bookmark = "1"
  1576.         bookmark.form = "HTMLForm"
  1577.         Call bookmark.Save(True,False)
  1578.         Call bookmark.PutInFolder(szFolder)
  1579.         If docprofile.keeppage(0) = "0" Then
  1580.             If GetLocationItem("WebLocation")(0) = "1" Then
  1581.                 Set nulldoc = db.getdocumentbyurl(szURL, 0,0,"","","","","",True)
  1582.             End If
  1583.         End If
  1584.     End If
  1585. End Sub
  1586. '++LotusScript Development Environment:2:2:FavoriteProcessOneLine:1:8
  1587. Sub FavoriteProcessOneLine
  1588. 'we have just read one line from the bookmark file
  1589. 'see if this line has one of two entries in it
  1590.     Dim pos As Integer
  1591. 'look for an http reference
  1592.     pos = Instr(1,szEntry,"=",5)
  1593.     If (pos > 0) Then
  1594.         FavoriteExtractAddress(pos+1)
  1595.         If (szURL <> "") Then Call CreateFavoriteDocument
  1596.         Exit Sub
  1597.     End If
  1598. End Sub
  1599. '++LotusScript Development Environment:2:2:ImportBookmarks:1:8
  1600. Sub ImportBookmarks
  1601.     InstantiateObjects
  1602.     Set note = New NotesDocument(db)
  1603.     szFolder = "Favoriten und Lesezeichen"
  1604.     If(w.DialogBox("(ImportBookmark)",True,True,False,,,,"Lesezeichen importieren",note)) Then
  1605.           'get the file to open     
  1606.         szPath = note.BookMarkFile(0)
  1607.         If (szPath = "") Then Exit Sub
  1608.         hFile = Freefile
  1609. 'open the file     
  1610.         Open szPath For Input As hFile
  1611. 'read in a line from the file
  1612.         Do Until Eof(hFile)
  1613.             Line Input #hFile,szEntry
  1614.             Call NavigatorProcessOneLine
  1615.         Loop
  1616.     End If
  1617. 'we need to close the file
  1618.     Close hFile
  1619. End Sub
  1620. '++LotusScript Development Environment:2:2:NavigatorExtractAddress:1:8
  1621. Sub NavigatorExtractAddress(posBegin As Integer)
  1622.     Dim posEnd As Integer
  1623.     Dim posTITLEBegin As Integer
  1624.     Dim posTITLEEnd As Integer
  1625. 'get the position of the closing quote
  1626.     posEnd = Instr(posBegin,szEntry,|"|,5)
  1627.     If posEnd = 0 Then 
  1628.         szURL = ""
  1629.         Exit Sub
  1630.     End If
  1631.     szURL = Mid$(szEntry,posBegin,(posEnd-posBegin))
  1632. 'now, we need to get the title
  1633.     posTITLEBegin = Instr(posEnd,szEntry,">",5)
  1634.     If (posTITLEBegin = 0) Then
  1635.         szTitle = ""
  1636.     Else
  1637.         posTITLEEnd = Instr(posTITLEBegin,szEntry,"</a",5)
  1638.         szTitle = Mid$(szEntry,posTITLEBegin+1,(posTITLEEnd-posTITLEBegin)-1)               
  1639.     End If
  1640. End Sub
  1641. '++LotusScript Development Environment:2:2:ShrinkFolderName:1:8
  1642. Sub ShrinkFolderName
  1643.     Dim posCurrent As Integer
  1644.     Dim posHold As Integer
  1645. 'posCurrent is the new position of the "\" character
  1646. 'posHold keeps the most recent position of the "\" character
  1647.     posCurrent = Instr(1,szFolder,"\",5)
  1648.     While(posCurrent > 0)
  1649.         posHold = posCurrent
  1650.         posCurrent = Instr(posHold+1,szFolder,"\",5)
  1651.     Wend
  1652.     If (posHold > 0) Then szFolder = Left$(szFolder,posHold-1)
  1653. End Sub
  1654. '++LotusScript Development Environment:2:2:NavigatorProcessOneLine:1:8
  1655. Sub NavigatorProcessOneLine
  1656. 'we have just read one line from the bookmark file
  1657. 'see if this line has one of two entries in it
  1658.     Dim pos As Integer
  1659. 'first, look for the beginning of a folder
  1660.     pos = Instr(1,szEntry,"h3",5)
  1661.     If (pos > 0) Then 
  1662.         GetFolderName(pos)
  1663.         Exit Sub
  1664.     End If
  1665. 'we didn't find a folder, so look for an http reference
  1666.     pos = Instr(1,szEntry,"http",5)
  1667.     If (pos > 0) Then
  1668.         NavigatorExtractAddress(pos)
  1669.         If (szURL <> "") Then Call CreateNavigatorDocument
  1670.         Exit Sub
  1671.     End If
  1672. 'check for an ftp reference
  1673.     pos = Instr(1,szEntry,"ftp",5)
  1674.     If (pos > 0) Then
  1675.         NavigatorExtractAddress(pos)
  1676.         If(szURL <> "") Then Call CreateNavigatorDocument
  1677.         Exit Sub
  1678.     End If
  1679. 'this isn't a folder, nor is it an http ref; look for the closing of a folder
  1680.     pos = Instr(1,szEntry,"</DL>",5)
  1681.     If (pos > 0) Then Call ShrinkFolderName
  1682. End Sub
  1683. '++LotusScript Development Environment:2:2:GetFolderName:1:8
  1684. Sub GetFolderName(posStart As Integer)
  1685. 'gets the name of the folder
  1686.     Dim posFolderBegin
  1687.     Dim posFolderEnd
  1688.     posFolderBegin = Instr(posStart,szEntry,|">|,5)
  1689.     If (posFolderBegin > 0) Then
  1690.         posFolderEnd = Instr(posFolderBegin,szEntry,"<",5)
  1691.         szFolder = szFolder & "\" & Mid$(szEntry,posFolderBegin+2,posFolderEnd - posFolderBegin-2)
  1692.     End If
  1693. End Sub
  1694. '++LotusScript Development Environment:2:2:CreateNavigatorDocument:1:8
  1695. Sub CreateNavigatorDocument
  1696.      'Before we create the bookmark document, make sure that it doesn't already exist
  1697.     If Not DuplicateBookmark(szURL) Then
  1698.         Dim nulldoc As notesdocument
  1699.         Set bookmark = New NotesDocument(db)
  1700.         bookmark.URL =  szURL
  1701.         bookmark.Title = szTitle
  1702.         bookmark.Subject = szTitle    
  1703.         bookmark.bookmark = "1"
  1704.         bookmark.form = "HTMLForm"
  1705.         Call bookmark.Save(True,False)
  1706.         Call bookmark.PutInFolder(szFolder)
  1707.             'If keep page option is manual or retrievals are set to no retrievals, don't do the nonblocking retrieval
  1708.         If docprofile.keeppage(0) = "0" Then
  1709.             If GetLocationItem("WebLocation")(0) = "1" Then
  1710.                 Set nulldoc = db.getdocumentbyurl(szURL, 0,0,"","","","","",True)
  1711.             End If
  1712.         End If
  1713.     End If
  1714. End Sub
  1715. '++LotusScript Development Environment:2:2:PrintWebDocument:1:8
  1716. Sub PrintWebDocument
  1717.     On Error Goto ErrorRoutine
  1718.     Dim docLocal As NotesDocument
  1719.     Dim uidoc As notesuidocument
  1720.     Dim docCollection As NotesDocumentCollection     
  1721.     Set docCollection = db.UnprocessedDocuments
  1722.     If (docCollection.Count = 0) Then
  1723.         Msgbox "Sie m
  1724. ssen ein Dokument w
  1725. hlen.",16,"Fehler"
  1726.         Exit Sub
  1727.     Else
  1728.         For j = 1 To docCollection.Count
  1729.             Set docLocal = docCollection.getnthdocument(j)
  1730.             Set uidoc = w.editdocument(False, docLocal)
  1731.             Call uidoc.print
  1732.             Call uidoc.close
  1733.         Next
  1734.     End If
  1735.     Exit Sub
  1736. ErrorRoutine:
  1737.     Messagebox Error & " (PrintWebDocument)"
  1738.     Exit Sub
  1739. End Sub
  1740. '++LotusScript Development Environment:2:2:WebNavHelp:1:8
  1741. Sub WebNavHelp
  1742.     On Error Goto ErrorRoutine
  1743.     Dim PrivateAddressBook As notesdatabase
  1744.     Dim CurrentLocation As notesdocument
  1745.     Dim LocationString As String    
  1746.     Dim helpdb As New notesdatabase("", "")
  1747.     Dim workspace As New NotesUIWorkspace
  1748.     Dim Session As New notessession
  1749.     Set PrivateAddressBook = New Notesdatabase("", "names.nsf")
  1750.     LocationString = Session.GetEnvironmentString ( "Location", True)
  1751.     If (PrivateAddressBook Is Nothing) Then
  1752.         If Helpdb.open("", "help4.nsf") Then 
  1753.             Call workspace.OpenDatabase ( "", "help4.nsf", "Web")
  1754.         Elseif Helpdb.open("", "helplt4.nsf") Then
  1755.             Call workspace.OpenDatabase ( "", "helplt4.nsf", "Web")
  1756.         Else
  1757.             Msgbox "Die Notes Hilfedatenbank wurde nicht gefunden.", 16, "Fehler" 
  1758.         End If
  1759.         Exit Sub
  1760.     End If
  1761.     If LocationString <> "" Then
  1762.         Temp$ = Mid( LocationString, (Instr(1, LocationString, ",")+1))
  1763.         LocationID$ = Left(Temp$, (Instr(1,Temp$, ",")-1))
  1764.         Set CurrentLocation = PrivateAddressBook.getdocumentbyid(LocationID$)
  1765.         If Not (CurrentLocation Is Nothing) Then
  1766.             If CurrentLocation.MailServer(0) <> "" Then
  1767.                 If Helpdb.open("", "help4.nsf") Then 
  1768.                     Call workspace.OpenDatabase ( "", "help4.nsf", "Web")
  1769.                 Elseif Helpdb.open("", "helplt4.nsf") Then
  1770.                     Call workspace.OpenDatabase ( "", "helplt4.nsf", "Web")
  1771.                 Elseif Helpdb.open(CurrentLocation.MailServer(0), "help4.nsf") Then
  1772.                     Call workspace.OpenDatabase ( CurrentLocation.MailServer(0), "help4.nsf", "Web")
  1773.                 Elseif Helpdb.open(CurrentLocation.MailServer(0), "helplt4.nsf") Then
  1774.                     Call workspace.OpenDatabase ( CurrentLocation.MailServer(0), "helplt4.nsf", "Web")
  1775.                 Else
  1776.                     Msgbox "Die Notes Hilfedatenbank wurde nicht gefunden.", 16, "Fehler" 
  1777.                 End If
  1778.             Else
  1779.                 If Helpdb.open("", "help4.nsf") Then 
  1780.                     Call workspace.OpenDatabase ( "", "help4.nsf", "Web")
  1781.                 Elseif Helpdb.open("", "helplt4.nsf") Then
  1782.                     Call workspace.OpenDatabase ( "", "helplt4.nsf", "Web")
  1783.                 Else
  1784.                          'Mail server is blank
  1785.                     Msgbox "Die Notes Hilfedatenbank wurde nicht gefunden.", 16, "Fehler" 
  1786.                 End If
  1787.             End If
  1788.         Else
  1789.             If Helpdb.open("", "help4.nsf") Then 
  1790.                 Call workspace.OpenDatabase ( "", "help4.nsf", "Web")
  1791.             Elseif Helpdb.open("", "helplt4.nsf") Then
  1792.                 Call workspace.OpenDatabase ( "", "helplt4.nsf", "Web")
  1793.             Else
  1794.                     'Location document is not found
  1795.                 Msgbox "Die Notes Hilfedatenbank wurde nicht gefunden.", 16, "Fehler" 
  1796.             End If
  1797.         End If
  1798.     Else
  1799.         If Helpdb.open("", "help4.nsf") Then 
  1800.             Call workspace.OpenDatabase ( "", "help4.nsf", "Web")
  1801.         Elseif Helpdb.open("", "helplt4.nsf") Then
  1802.             Call workspace.OpenDatabase ( "", "helplt4.nsf", "Web")
  1803.         Else
  1804.                'Location string in notes.ini is blank
  1805.             Msgbox "Die Notes Hilfedatenbank wurde nicht gefunden.", 16, "Fehler" 
  1806.         End If
  1807.     End If
  1808.     Exit Sub
  1809. ErrorRoutine:
  1810.     Messagebox Error & " (WebNavHelp)"
  1811.     Exit Sub
  1812. End Sub
  1813. '++LotusScript Development Environment:2:2:IENextdoc:1:8
  1814. Sub IENextdoc(browserobject As Variant)    
  1815.     On Error Goto ErrorRoutine
  1816.     browserobject.GoForward
  1817.     Exit Sub
  1818. ErrorRoutine:
  1819.     Messagebox "Kein weiterer Eintrag in der Protokolliste vorhanden.", 16, "Internet Explorer"
  1820.     Exit Sub
  1821. End Sub
  1822. '++LotusScript Development Environment:2:2:IEPreviousDoc:1:8
  1823. Sub IEPreviousDoc(browserobject As Variant)     
  1824.     On Error Goto ErrorRoutine
  1825.     browserobject.GoBack     
  1826.     Exit Sub
  1827. ErrorRoutine:
  1828.     Messagebox "Kein vorheriger Eintrag in der Protokolliste vorhanden.", 16, "Internet Explorer"
  1829.     Exit Sub
  1830. End Sub
  1831. '++LotusScript Development Environment:2:2:IEStop:1:8
  1832. Sub IEStop(browserobject As Variant)  
  1833.     On Error Goto ErrorRoutine
  1834.     browserobject.Stop    
  1835.     Exit Sub
  1836. ErrorRoutine:
  1837.     Messagebox Error & " (IEStop)"
  1838.     Exit Sub
  1839. End Sub
  1840. '++LotusScript Development Environment:2:1:GetCurrentLocation:1:8
  1841. Function GetCurrentLocation As String
  1842.     On Error Goto ErrorRoutine
  1843.     Dim PrivateAddressBook As notesdatabase
  1844.     Dim CurrentLocation As notesdocument
  1845.     Dim LocationString As String     
  1846.     Dim result As Variant
  1847.     Set privateaddressbook = GetLocalNAB 
  1848.     If  privateaddressbook.isopen Then
  1849.         LocationString = Session.GetEnvironmentString ( "Location", True)
  1850.         If LocationString <> "" Then
  1851.             Temp$ = Mid( LocationString, (Instr(1, LocationString, ",")+1))
  1852.             LocationID$ = Left(Temp$, (Instr(1,Temp$, ",")-1))
  1853.             Set CurrentLocation = privateaddressbook.getdocumentbyid(LocationID$)
  1854.             GetCurrentLocation = CurrentLocation.WebRetriever(0)
  1855.         Else
  1856.             Print "Das aktuelle Umgebungsdokument wurde nicht gefunden."
  1857.             Exit Function
  1858.         End If
  1859.     End If
  1860.     Exit Function
  1861. ErrorRoutine:
  1862.     Messagebox Error & " (GetCurrentLocation)"
  1863.     Exit Function
  1864. End Function
  1865. '++LotusScript Development Environment:2:2:IEForwardNote:1:8
  1866. Sub IEForwardNote (doc As notesdocument, browserobject As Variant)
  1867.     On Error Goto ErrorRoutine
  1868.     On Error 4412 Goto nomailfile
  1869. 'change for not forwarding frames begins here
  1870.     Dim HTMLDoc As Variant
  1871.     Set HTMLDoc = browserobject.document
  1872.     Dim HTMLFrames As Variant     
  1873.     Set HTMLFrames = HTMLDoc.frames
  1874.     If ( HTMLFrames.length) Then
  1875.         Call CreateIELink(browserobject.locationurl, browserobject.locationname)
  1876.     Else
  1877. 'end of change 
  1878.         If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen")) Then   
  1879.             Select Case doc.ForwardOptions(0)
  1880.             Case "1" : 'user wants to forward the URL only
  1881.                 Call CreateIELink(browserobject.locationurl, browserobject.locationname)
  1882.             Case "2" : 'user wants to send entire page
  1883.                 Dim url As Variant
  1884.                 Dim webdoc As notesdocument
  1885.                 Dim uid As notesuidocument
  1886.                 Dim uid2 As notesuidocument
  1887.                 Dim uid3 As notesuidocument
  1888.                 Print "Mail-Memo wird erstellt..."
  1889.                 url = browserobject.locationurl               
  1890.                 Set webdoc = db.getdocumentbyurl(url)
  1891.                 webdoc.forward="1"
  1892.                 webdoc.save True, False
  1893.                 w.viewrefresh
  1894.                 w.viewrefresh
  1895.                 Set uid = w.editdocument(False, webdoc)   
  1896.                 Set uid2=w.currentdocument
  1897.                 uid2.forward
  1898.                 Set uid3 = w.currentdocument
  1899.                 uid.close     
  1900.                 webdoc.removeitem "Forward"
  1901.                 webdoc.save True, False
  1902.             End Select
  1903.           'remove any remaining fields that don't need to be carried around
  1904.             doc.RemoveItem "ForwardOptions" 
  1905.             doc.save True, False
  1906.         End If
  1907.     End If
  1908.     Exit Sub
  1909. ErrorRoutine:
  1910.     Messagebox  Err & Error & " (IEForwardNote)"
  1911.     Exit Sub
  1912. NoMailFile:
  1913.     uid.close
  1914.     Exit Sub
  1915. End Sub
  1916. '++LotusScript Development Environment:2:2:IERefreshPage:1:8
  1917. Sub IERefreshPage(browserobject As Variant)     
  1918.     On Error Goto ErrorRoutine
  1919.     browserobject.Refresh
  1920.     Exit Sub
  1921. ErrorRoutine:
  1922.     Messagebox Error & " (IERefreshPage)"
  1923.     Exit Sub
  1924. End Sub
  1925. '++LotusScript Development Environment:2:2:IEOpenHome:1:8
  1926. Sub IEOpenHome(browserobject As Variant)
  1927.     On Error Goto ErrorRoutine
  1928.     browserobject.GoHome
  1929.     Exit Sub
  1930. ErrorRoutine:
  1931.     Messagebox Error & " (IEOpenHome)"
  1932.     Exit Sub
  1933. End Sub
  1934. '++LotusScript Development Environment:2:2:IESearch:1:8
  1935. Sub IESearch(browserobject As Variant)
  1936.     On Error Goto ErrorRoutine   
  1937.     browserobject.GoSearch
  1938.     Exit Sub
  1939. ErrorRoutine:
  1940.     Messagebox Error & " (IESearch)"
  1941.     Exit Sub
  1942. End Sub
  1943. '++LotusScript Development Environment:2:2:CreateIELink:1:8
  1944. Sub CreateIELink(url As String, title As String)
  1945.     On Error Goto ErrorRoutine
  1946.     Dim uimaildoc As notesuidocument
  1947.     Dim docMail As NotesDocument
  1948.     Dim maildb As New notesdatabase("", "")
  1949.     Call maildb.openmail
  1950.     If maildb.isopen Then
  1951.         Call w.composedocument(maildb.server, maildb.filepath, "memo")
  1952.         Set uimaildoc = w.currentdocument
  1953.         Set docmail = uimaildoc.document
  1954.         Call uimaildoc.fieldsettext("Body", URL)
  1955.         Call uimaildoc.fieldsettext("Subject",   Title)
  1956.         Exit Sub
  1957.     Else
  1958.         Messagebox "Die in Ihrer aktuellen Arbeitsumgebung angegebene Mail-Datei konnte nicht ge
  1959. ffnet werden."
  1960.         Exit Sub
  1961.     End If
  1962. ErrorRoutine:
  1963.     Messagebox Err & Error & " (CreateIELink)"
  1964.     Exit Sub
  1965. End Sub
  1966. '++LotusScript Development Environment:2:2:MoveToFolder:1:8
  1967. Sub MoveToFolder(Source As NotesUIView,Target As Variant, Continue As Variant)
  1968.     Dim note As notesdocument
  1969.     Dim doc As notesdocument
  1970.     Dim db As notesdatabase
  1971.     Dim s As New notessession
  1972.     On Error Goto ErrorRoutine
  1973.     If target = "Web Bots\Page Minder" Or Target = "Web Bots\Web Ahead" Or (Instr(1, target, "Favoriten") =1) Then
  1974.         Set db = s.currentdatabase
  1975.         For j = 1 To Source.Documents.Count  
  1976.             Set doc = source.documents.getnthdocument(j)
  1977.             If doc.form(0) = "WebBrowserForm" Or doc.form(0) = "WebBrowser4Form" Then
  1978.                 Set note = db.getdocumentbyurl(doc.url(0))
  1979.                 Call note.putinfolder(target)
  1980.                 Continue = False
  1981.                 Print "Verschoben in Ordner: " + Cstr(target)
  1982.             End If
  1983.         Next
  1984.     End If
  1985.     Exit Sub
  1986. ErrorRoutine:
  1987.     Messagebox Error & " (MoveToFolder)"
  1988.     Exit Sub
  1989. End Sub
  1990. '++LotusScript Development Environment:2:1:GetLocalNAB:1:8
  1991. Function GetLocalNAB() As NotesDatabase
  1992.     Dim sAddressBook As String
  1993.     Dim nCommaLocation As Integer
  1994.     On Error Resume Next
  1995.     sAddressBook = session.GetEnvironmentString("NAMES", True)
  1996.     If sAddressBook = "" Then 
  1997.         sAddressBook = "names.nsf"
  1998.     Else
  1999.         nCommaLocation = Instr(sAddressBook, ",")
  2000.         If nCommaLocation > 0 Then sAddressBook = Left(sAddressBook, nCommaLocation-1)
  2001.     End If
  2002.     Set GetLocalNAB = New NotesDatabase("",sAddressBook)
  2003. End Function
  2004. '++LotusScript Development Environment:2:1:GetRegValue:1:8
  2005. Function GetRegValue (szKey$, szValueName$) As String
  2006.     Dim szValue As String*200
  2007.     hKey = 0
  2008.     RetCode = RegOpenKeyEx (HKEY_CURRENT_USER, szKey, 0, KEY_READ, hKey)
  2009.     If RetCode <> 0 Then
  2010. '          Print "RegOpenKeyEx: " & RetCode
  2011.         Exit Function
  2012.     End If
  2013.     dwType = 0
  2014.     dwSize = 200
  2015.     RetCode = RegQueryValueEx (hKey, szValueName, 0, dwType, szValue, dwSize) 
  2016.     If RetCode <> 0 Then
  2017. '          Print "RegQueryValueEx: " & RetCode
  2018.         Exit Function
  2019.     End If
  2020.     Call RegCloseKey (hKey)
  2021.     GetRegValue = szValue
  2022. Done:
  2023. End Function
  2024. '++LotusScript Development Environment:2:2:SetRegValue:1:8
  2025. Sub SetRegValue(szKey$, szValueName$, szKeyValue)
  2026.     hKey = 0
  2027.     Dim szValue As String*200
  2028.     hKey = 0
  2029.     RetCode = RegOpenKeyEx (HKEY_CURRENT_USER, szKey, 0, KEY_SET_VALUE, hKey)
  2030.     If RetCode <> 0 Then
  2031.         Print "RegOpenKeyEx: " & RetCode
  2032.         Exit Sub
  2033.     End If
  2034.     dwSize = 200
  2035.     lpData = szKeyValue
  2036.     cbData = Len(szKeyValue)
  2037.     RetCode = RegSetValueEx (hKey, szValueName, 0, 1, lpData$, cbData) 
  2038.     If RetCode <> 0 Then
  2039.         Print "RegLSetValueEx: " & RetCode
  2040.         Exit Sub
  2041.     End If
  2042.     Call RegCloseKey (hKey)
  2043. End Sub
  2044. '++LotusScript Development Environment:2:1:GetLocationItem:1:8
  2045. Function GetLocationItem (itemname As String) As Variant
  2046.      '*
  2047.      '*  This function returns a data item from the current location note
  2048.      '*
  2049.     InstantiateObjects
  2050.     GetLocationItem = ""
  2051.     Dim PrivateAddressBook As notesdatabase
  2052.     Dim CurrentLocation As notesdocument
  2053.     Dim LocationString As String     
  2054.     Set PrivateAddressBook = GetLocalNAB
  2055.     If (PrivateAddressBook Is Nothing) Then
  2056.         Print "Warnung: Das pers
  2057. nliche Adre
  2058. buch konnte nicht ge
  2059. ffnet werden."
  2060.         Exit Function
  2061.     End If
  2062.     LocationString = Session.GetEnvironmentString ( "Location", True)
  2063.     If LocationString <> "" Then
  2064.         Temp$ = Mid( LocationString, (Instr(1, LocationString, ",")+1))
  2065.         LocationID$ = Left(Temp$, (Instr(1,Temp$, ",")-1))
  2066.         Set CurrentLocation = PrivateAddressBook.getdocumentbyid(LocationID$)
  2067.         If Not (CurrentLocation Is Nothing) Then
  2068.             GetLocationItem = CurrentLocation.getitemvalue(itemname)
  2069.         Else
  2070.             Print  "Warnung: Die aktuellen Umgebungseinstellungen konnten nicht 
  2071. berpr
  2072. ft werden. Das Umgebungsdokument wurde nicht gefunden."
  2073.             Exit Function
  2074.         End If
  2075.     Else
  2076.         Print "Warnung: Die aktuellen Arbeitsumgebungseinstellungen konnten nicht 
  2077. berpr
  2078. ft werden. Die Arbeitsumgebungszeichenfolge ist leer." 
  2079.         Exit Function
  2080.     End If     
  2081. End Function
  2082. '++LotusScript Development Environment:2:2:SetLocationItem:1:8
  2083. Sub SetLocationItem(itemname As String, itemvalue As String)
  2084.      '*
  2085.      '*  This routine sets a data item in the current location note
  2086.      '*
  2087.     InstantiateObjects
  2088.     Dim PrivateAddressBook As notesdatabase
  2089.     Dim CurrentLocation As notesdocument
  2090.     Dim LocationString As String     
  2091.     Set PrivateAddressBook = New Notesdatabase("", "names.nsf")
  2092.     If (PrivateAddressBook Is Nothing) Then
  2093.         Print "Warnung: Das pers
  2094. nliche Adre
  2095. buch konnte nicht ge
  2096. ffnet werden."
  2097.         Exit Sub
  2098.     End If
  2099.     LocationString = Session.GetEnvironmentString ( "Location", True)
  2100.     If LocationString <> "" Then
  2101.         Temp$ = Mid( LocationString, (Instr(1, LocationString, ",")+1))
  2102.         LocationID$ = Left(Temp$, (Instr(1,Temp$, ",")-1))
  2103.         Set CurrentLocation = PrivateAddressBook.getdocumentbyid(LocationID$)
  2104.         If Not (CurrentLocation Is Nothing) Then
  2105.             Call CurrentLocation.Replaceitemvalue(itemname, itemvalue)
  2106.             Call CurrentLocation.Save(True, False)
  2107.         Else
  2108.             Print  "Warnung: Die aktuellen Umgebungseinstellungen konnten nicht 
  2109. berpr
  2110. ft werden. Das Umgebungsdokument wurde nicht gefunden."
  2111.             Exit Sub
  2112.         End If
  2113.     Else
  2114.         Print "Warnung: Die aktuellen Arbeitsumgebungseinstellungen konnten nicht 
  2115. berpr
  2116. ft werden. Die Arbeitsumgebungszeichenfolge ist leer." 
  2117.         Exit Sub
  2118.     End If     
  2119. End Sub
  2120. '++LotusScript Development Environment:2:2:CreateIEBookmark:1:8
  2121. Sub CreateIEBookmark(browserobject As Variant, folder As String)
  2122.     Set bookmark = New NotesDocument(db)
  2123.     bookmark.URL =  browserobject.LocationURL
  2124.     bookmark.Form = "bookmark"
  2125.     bookmark.Title = browserobject.Locationname
  2126.     bookmark.Subject = browserobject.Locationname
  2127.     bookmark.Imported = True     
  2128.     bookmark.bookmark = "1"
  2129.     Call bookmark.Save(True,False)
  2130.     Call bookmark.PutInFolder(folder)
  2131. End Sub
  2132. '++LotusScript Development Environment:2:2:RemoveObjects:1:8
  2133. Sub RemoveObjects(doc As notesdocument)
  2134.     Dim imagepage As notesdocument
  2135.     Dim imageview As notesview
  2136.     Set imageview = db.getview("(Images)")
  2137.     If Not (imageview Is Nothing) Then
  2138.         If doc.hasitem("$ImageList") Then
  2139.             Dim images As Variant
  2140.             images  = doc.getitemvalue("$ImageList")
  2141.             Forall j In images
  2142.                 If j <> "" Then
  2143.                     Set imagepage = imageview.getdocumentbykey(j)
  2144.                     If Not(imagepage Is Nothing) Then
  2145.                         imagepage.remove True
  2146.                     End If
  2147.                 End If
  2148.             End Forall
  2149.         End If
  2150.     End If
  2151. End Sub
  2152. '++LotusScript Development Environment:2:2:GetCurrentFolders:1:8
  2153. Sub GetCurrentFolders
  2154.     Dim allviews As Variant
  2155.     Dim allfolders() As String
  2156.     Dim x As Integer
  2157.     allviews=db.views
  2158.     Forall j In allviews
  2159.         If j.isfolder Then
  2160.             If Not (Instr(1,j.name, "Web Bots") = 1)  Then
  2161.                 Redim Preserve allfolders(x)
  2162.                 If (Instr(1, j.name, "\") <>0) Then
  2163.                     allfolders(x) = "   " & Right(j.name, Len(j.name)-(Instr(1,j.name, "\")+1)) 
  2164.                     x = x+1
  2165.                 Else
  2166.                     allfolders(x) = j.name
  2167.                     x = x+1
  2168.                 End If
  2169.             End If
  2170.         End If
  2171.     End Forall
  2172.     docprofile.folders = allfolders
  2173.     docprofile.save True, False
  2174. End Sub
  2175. '++LotusScript Development Environment:2:2:ViewDelete:1:8
  2176. Sub ViewDelete
  2177.     On Error Resume Next
  2178.     Dim doc As notesdocument
  2179.     Dim noteid As String
  2180.     noteid = ""
  2181.     Dim docCollection As NotesDocumentCollection     
  2182.     Set docCollection = db.UnprocessedDocuments
  2183.     If (docCollection.Count = 0) Then
  2184.         Msgbox "Sie m
  2185. ssen ein Dokument w
  2186. hlen.",16,"Fehler"
  2187.         Exit Sub
  2188.     End If
  2189.     Response = Msgbox ("Hiermit werden die ausgew
  2190. hlten Seiten in der Datenbank endg
  2191. ltig gel
  2192. scht. M
  2193. chten Sie fortfahren?", 20, "Dokument l
  2194. schen")
  2195.     If Response = 6 Then
  2196.         For j = 1 To docCollection.count 
  2197.             Set doc = docCollection.getnthdocument(j)
  2198.             If Instr(doc.HTTPContent_Type(0), "image") = 0 Then
  2199.                 Call RemoveObjects(doc)
  2200.             End If
  2201.             If doc.isuidocopen Then
  2202.                 noteid = doc.noteid
  2203.                 Delete doc
  2204.                 Set doc = db.getdocumentbyid (noteid)      
  2205.                 doc.remove True
  2206.                 w.viewrefresh 
  2207.                 w.viewrefresh
  2208.             Else
  2209.                 doc.Remove True
  2210.                 w.viewrefresh
  2211.             End If
  2212.         Next
  2213.     End If
  2214. End Sub
  2215. '++LotusScript Development Environment:2:2:Browse:1:8
  2216. Sub Browse
  2217.     Dim currbrowser As String
  2218.     Dim browserobjectcollection As notesdocumentcollection
  2219.     Dim browserdoc As notesdocument
  2220.     Dim iedoc As New notesdocument(db)
  2221.     Dim dt As New notesdatetime ("1/1/90")
  2222.     InstantiateObjects
  2223.     currbrowser = GetCurrentLocation
  2224.     If currbrowser = "0" Then
  2225.         OpenHomeURL
  2226.     Elseif currbrowser = "3" Then
  2227.         If docprofile.openurl(0) = "" Then
  2228.             Msgbox "Sie m
  2229. ssen eine Homepage zum 
  2230. ffnen angeben. W
  2231. hlen Sie im Hauptmen
  2232.  'Aktionen - Internet-Optionen'."
  2233.             Exit Sub 
  2234.         End If
  2235.         Set BrowserObjectCollection = db.search(("(Form = ""WebBrowserForm""|Form=""WebBrowser4Form"")& home = ""1"""), dt, 0)
  2236.         If BrowserObjectCollection.count <> 0 Then
  2237.             Set BrowserDoc = BrowserObjectCollection.getfirstdocument
  2238.             Call BrowserDoc.replaceitemvalue("url", docprofile.openurl(0))
  2239.             Call BrowserDoc.save(True, False)
  2240.             Call w.editdocument(False, browserdoc)                         
  2241.         Else
  2242.             If session.GetEnvironmentString("IEVersionMinor", False)="70" Then
  2243.                 Call iedoc.replaceitemvalue("Form", "WebBrowserForm")
  2244.             End If
  2245.             If Cint(session.GetEnvironmentString("IEVersionMinor", False))>70 Then
  2246.                 Call iedoc.replaceitemvalue("Form", "WebBrowser4Form")
  2247.             End If
  2248.             Call iedoc.replaceitemvalue("home", "1")
  2249.             Call iedoc.replaceitemvalue("SaveOptions", "1")
  2250.             Call ieDoc.replaceitemvalue("url", docprofile.openurl(0))
  2251.             Call ieDoc.save(True,False)
  2252.             Call w.viewrefresh
  2253.             Call w.editdocument(False, iedoc)
  2254.         End If
  2255.     End If
  2256. End Sub
  2257. '++LotusScript Development Environment:2:2:ViewForward:1:8
  2258. Sub ViewForward(docLocal As notesdocument)
  2259.     On Error Goto ErrorRoutine
  2260.     Dim url As Variant
  2261.     Dim webdoc As notesdocument
  2262.     Dim uid As notesuidocument
  2263.     Dim uid2 As notesuidocument
  2264.     Dim uid3 As notesuidocument
  2265.     url = docLocal.url
  2266.     Set webdoc = db.getdocumentbyurl(url(0))
  2267.     webdoc.forward="1"
  2268.     webdoc.save True, False
  2269.     Print "Web-Dokument wurde gespeichert"
  2270.     w.viewrefresh
  2271.     w.viewrefresh
  2272.     Set uid = w.editdocument(False, webdoc)   
  2273.     Set uid2=w.currentdocument
  2274.     uid2.forward
  2275.     Set uid3 = w.currentdocument
  2276.     uid.close     
  2277.     webdoc.removeitem "Forward"
  2278.     webdoc.save True, False
  2279.     Exit Sub
  2280. ErrorRoutine:
  2281.     Messagebox Error & " (ViewForward)"
  2282.     Exit Sub
  2283. End Sub
  2284. '++LotusScript Development Environment:2:1:DuplicateBookmark:1:8
  2285. Function DuplicateBookmark(szURL) As Integer
  2286.     Dim bookmarkcollection As notesdocumentcollection
  2287.     Dim currentbookmark As notesdocument
  2288.     Dim dt As New NotesDateTime("1/1/90")
  2289.     DuplicateBookmark = False
  2290.     Set bookmarkcollection = db.search("bookmark=""1""",dt, 0)
  2291.     If bookmarkcollection.count <>0 Then
  2292.         For j = 1 To bookmarkcollection.count 
  2293.             Set currentbookmark = bookmarkcollection.getnthdocument(j)
  2294.             If currentbookmark.url(0) = szURL Then 
  2295.                 DuplicateBookmark = True
  2296.                 Exit For
  2297.             End If
  2298.         Next
  2299.     End If
  2300. End Function
  2301. '++LotusScript Development Environment:2:2:CheckRegistrySettings:1:8
  2302. Sub CheckRegistrySettings
  2303.      'sync Internet Options form
  2304.     Dim lpSubKey1 As String
  2305.     Dim IESearchURL As String
  2306.     Dim IEHomePageURL As String
  2307.     Dim NotesSearchURL As Variant
  2308.     Dim NotesHomePage As Variant
  2309.     Dim CompareResult As String
  2310.     If docProfile Is Nothing Then GetProfiledocument
  2311.      'Obtain values from the registry
  2312.     lpSubKey1 ="SOFTWARE\Microsoft\Internet Explorer\Main"
  2313.     IESearchURL =  GetRegValue(lpsubkey1, "Search Page" )
  2314.     IEHomePageURL = GetRegValue(lpsubkey1, "Start Page")
  2315.      'Obtain Notes values
  2316.     NotesSearchURL = docprofile.SearchURL
  2317.     NotesHomePage = docprofile.OpenURL
  2318.      'Compare Search URL values 
  2319.     CompareResult = CompareValues(IESearchURL, NotesSearchURL(0))
  2320.     Select Case CompareResult
  2321.     Case "SetRegistry"
  2322.           'Put the Notes Value in the W32 Registry
  2323.         Call SetRegValue(lpSubKey1, "Search Page", NotesSearchURL(0))
  2324.     Case "SetNotes"
  2325.           'Put the W32 Registry value in Notes
  2326.         docprofile.SearchURL = IESearchURL
  2327.         Call docprofile.save(True, False)
  2328.     End Select
  2329.      'Compare Home Page Values only if load home page on open is selected.
  2330.     CompareResult = CompareValues(IEHomePageURL, NotesHomePage(0))
  2331.     Select Case CompareResult
  2332.     Case "SetRegistry"
  2333.           'Put the Notes Value in the W32 Registry
  2334.         Call SetRegValue(lpSubKey1, "Start Page", NotesHomePage(0))
  2335.     Case "SetNotes"
  2336.         docprofile.OpenUrl = IEHomePageURL
  2337.         Call docprofile.save(True, False)
  2338.     End Select
  2339. End Sub
  2340. '++LotusScript Development Environment:2:1:CompareValues:1:8
  2341. Function CompareValues(IEValue As String, NotesValue As Variant) As String
  2342.     If IEValue = NotesValue Then
  2343.           'The values are the same, don't do anything
  2344.         ComapreValues = "0"
  2345.         Exit Function
  2346.     Elseif IEValue ="" And NotesValue <> "" Then
  2347.         CompareValues = "SetRegistry"
  2348.         Exit Function
  2349.     Elseif IEValue <>"" And NotesValue = "" Then
  2350.         CompareValues = "SetNotes"
  2351.         Exit Function
  2352.     Elseif IEValue <> "" And NotesValue <> "" Then
  2353.         CompareValues = "DoNothing"
  2354.         Exit Function
  2355.     End If
  2356. End Function
  2357. '++LotusScript Development Environment:2:1:ParseFilename:1:8
  2358. Function ParseFilename(szPath As String) As String
  2359.      'This routine pulls the filename out of a path filename combination string.
  2360.      'This is a W32 and OS2 only function
  2361.     Dim strlength As Integer
  2362.     Dim currpos As Integer
  2363.     strlength = Len(szPath)
  2364.      'Extract to first \
  2365.     currpos = Instr(1, szPath, "\")
  2366.     While currpos <> 0  
  2367.           'keep extracting \ until we can't find anymore
  2368.         oldpos = currpos
  2369.         currpos = Instr(currpos+1, szPath, "\")
  2370.     Wend
  2371.     parsefilename = Right$(szPath, (strlength - oldpos))
  2372. End Function
  2373. '++LotusScript Development Environment:2:2:NotesForwardNote:1:8
  2374. Sub NotesForwardNote(doc As notesdocument)
  2375.     On Error Goto ErrorRoutine
  2376.     On Error 4412 Goto nomailfile
  2377.     If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen")) Then   
  2378.         Select Case doc.ForwardOptions(0)
  2379.         Case "1" : 'user wants to forward the URL only
  2380.             Call CreateIELink(doc.url(0), doc.title(0))
  2381.         Case "2" : 'user wants to send entire page
  2382.             Dim uid As notesuidocument
  2383.             Dim uid2 As notesuidocument
  2384.             Dim uid3 As notesuidocument
  2385.             Print "Mail-Memo wird erstellt..."
  2386.             w.viewrefresh
  2387.             w.viewrefresh
  2388.             Set uid = w.editdocument(False, doc)   
  2389.             Set uid2=w.currentdocument
  2390.             uid2.forward
  2391.             Set uid3 = w.currentdocument
  2392.             uid.close     
  2393.         End Select
  2394.           'remove any remaining fields that don't need to be carried around
  2395.         doc.RemoveItem "ForwardOptions" 
  2396.         doc.save True, False
  2397.     End If
  2398.     Exit Sub
  2399. ErrorRoutine:
  2400.     Messagebox Error & " (NotesForwardNote)"
  2401.     Exit Sub
  2402. NoMailFile:
  2403.     uid.close
  2404.     Exit Sub
  2405. End Sub
  2406. '++LotusScript Development Environment:2:1:ParseURL:1:8
  2407. Function ParseURL(url As String) As String
  2408.      'This routine returns the type of URL that is being evaluated
  2409.      'first pull out the protocol
  2410.     ParseURL = Left$(url, Len(url) - Instr(url, "://"))
  2411. End Function
  2412. Lotus Product
  2413. DpEpE0CLET>`@
  2414. AlFlF
  2415. G8A8A
  2416. H    H    H
  2417. ?|?|?<?<?
  2418. !<#@'
  2419. d"d'p'
  2420. $<.@+
  2421. '$'$'
  2422. <(<(l(l(|(|(L(L(
  2423. T-T-$-4-
  2424. $-D-D
  2425. 4-4-H
  2426. <3L3<8    
  2427. 4 H H
  2428. 4THTH
  2429. @7@7p7p7
  2430. 7P7P7
  2431. H8X88888h8h8
  2432.  9p9p9p9@9P9
  2433. P9P9t>
  2434. pIpI,@
  2435. hGl0*
  2436. ,8A}4
  2437. ,8A}<
  2438. ,8A}\
  2439. ,8A}<
  2440. ,8A}\
  2441. )H:[t
  2442. /},%#
  2443. /},%#
  2444. #,`BJPB
  2445. #K$$,
  2446. $,0C}
  2447. $,`C}
  2448. $,0C}
  2449. }H*#8
  2450. $,`C}
  2451. }H*}<*
  2452. $,0C}
  2453. $,`C}
  2454. $,0C}
  2455. }H*#8
  2456. $,`C}
  2457. }H*}<*
  2458. $,0CK
  2459. $,`CK
  2460. $,0CK
  2461. }H*#8(
  2462. $,`CK
  2463. }H*}<*
  2464. $,0C}
  2465. $,`C}
  2466. $,0C}
  2467. }H*#8
  2468. $,`C}
  2469. }H*}<*
  2470. $,0C}
  2471. $,`C}
  2472. $,0C}
  2473. }H*#8
  2474. $,`C}
  2475. }H*}<*
  2476. $,0C}
  2477. $,`C}
  2478. $,0C}
  2479. }H*#8
  2480. $,`C}
  2481. }H*}<*
  2482. ')t-#
  2483. '-`@#8
  2484. ^4'Kp
  2485. CJ(D#
  2486. 'K$'S8D
  2487. N,(P\D
  2488. KL(,8A}
  2489. ',8A}
  2490. +-`@#8f
  2491. +-LE#K
  2492. +-pE#}
  2493. 2I|+#
  2494. ^D-KT--0>#
  2495. E#,`BJ
  2496. ^$-KD-,
  2497. =K4-S
  2498. 0)t-#
  2499. ^<FJ,F
  2500. CJ<F#
  2501. 0,L?I
  2502. ^\FJLF
  2503. CJ\F#
  2504. 1,lFI|1]
  2505. ?Nd2PhD
  2506. @Nd2PtD
  2507. ?Nd2PtD
  2508. ,T>}l8#
  2509. 3,L?}
  2510. JL35tGI
  2511. ^,3K<3,
  2512. F HP0H8
  2513. F HU<H
  2514. F HU<H
  2515. 9F HU<H 
  2516. F HU<H
  2517. F HU<H
  2518. F HP<H
  2519. 4,`BJdH
  2520. 5)l&#
  2521. H}0<J
  2522. 5,lF}4#Kd
  2523. 5,lF}
  2524. 5,lF}
  2525. 5,lF}
  2526. 5,lF}
  2527. 5,lF}4#Kd
  2528. ^@7K07P
  2529. KP7,8A}
  2530. ^PI4?
  2531. ^h8KX8,`BJ@I
  2532. ^09)<.^ 9}P?#
  2533. ^@9)<.^ 9}l?#
  2534. ^P9Kd
  2535. ^`9Kd
  2536. )$/^ 9}P?
  2537. Q0?J09
  2538. )$/^ 9}l?
  2539. I(:I8:
  2540. ^`I}$%
  2541. ;,8A}
  2542. O=Lotus
  2543. O=Lotus
  2544. PURSAFO
  2545. O=Lotus
  2546. OU=DUB/O=Lotus
  2547. PURSAFO
  2548. }NFib
  2549. OU=DUB/O=Lotus
  2550. CN=Shaun McGale/OU=DUB/O=Lotus
  2551. PURSAFO
  2552. $Language
  2553. $LastBuildTime
  2554. $BabelInfo
  2555. $TITLE
  2556. $ScriptLib
  2557. $ScriptLib_O
  2558. $BabelInfo
  2559. $ScriptLib
  2560. '++LotusScript Development Environment:2:5:(Options):0:66
  2561. '++LotusScript Development Environment:2:5:(Forward):0:1
  2562. Declare Sub Exiting(Source As Field)
  2563. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2564. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2565. Private Sub BindEvents(Byval Objectname_ As String)
  2566.      Static Source As FIELD
  2567.      Set Source = Bind(Objectname_)
  2568.      On Event Exiting From Source Call Exiting
  2569. End Sub
  2570. '++LotusScript Development Environment:2:2:Exiting:1:12
  2571. Sub Exiting(Source As Field)
  2572.      
  2573. End Sub
  2574. '++LotusScript Development Environment:2:5:(Options):0:66
  2575. '++LotusScript Development Environment:2:5:(Forward):0:1
  2576. Declare Sub Exiting(Source As Field)
  2577. Declare Sub Entering(Source As Field)
  2578. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2579. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2580. Private Sub BindEvents(Byval Objectname_ As String)
  2581.      Static Source As FIELD
  2582.      Set Source = Bind(Objectname_)
  2583.      On Event Exiting From Source Call Exiting
  2584.      On Event Entering From Source Call Entering
  2585. End Sub
  2586. '++LotusScript Development Environment:2:2:Exiting:1:12
  2587. Sub Exiting(Source As Field)
  2588.      
  2589. End Sub
  2590. '++LotusScript Development Environment:2:2:Entering:1:12
  2591. Sub Entering(Source As Field)
  2592.      HPvalue = uidoc.fieldgettext("OpenURL")
  2593.      OldHPValue = HPvalue
  2594. End Sub
  2595. '++LotusScript Development Environment:2:5:(Options):0:66
  2596. '++LotusScript Development Environment:2:5:(Forward):0:1
  2597. Declare Sub Entering(Source As Field)
  2598. Declare Sub Exiting(Source As Field)
  2599. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2600. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2601. Private Sub BindEvents(Byval Objectname_ As String)
  2602.      Static Source As FIELD
  2603.      Set Source = Bind(Objectname_)
  2604.      On Event Entering From Source Call Entering
  2605.      On Event Exiting From Source Call Exiting
  2606. End Sub
  2607. '++LotusScript Development Environment:2:2:Entering:1:12
  2608. Sub Entering(Source As Field)
  2609.      Searchvalue = uidoc.fieldgettext("PreferredSearchEngine")
  2610.      OldSearchValue = Searchvalue
  2611. End Sub
  2612. '++LotusScript Development Environment:2:2:Exiting:1:12
  2613. Sub Exiting(Source As Field)
  2614.      
  2615. End Sub
  2616. '++LotusScript Development Environment:2:5:(Options):0:66
  2617. '++LotusScript Development Environment:2:5:(Forward):0:1
  2618. Declare Sub Exiting(Source As Field)
  2619. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2620. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2621. Private Sub BindEvents(Byval Objectname_ As String)
  2622.      Static Source As FIELD
  2623.      Set Source = Bind(Objectname_)
  2624.      On Event Exiting From Source Call Exiting
  2625. End Sub
  2626. '++LotusScript Development Environment:2:2:Exiting:1:12
  2627. Sub Exiting(Source As Field)
  2628.      
  2629. End Sub
  2630. Internet-Optionen f
  2631. r Pers
  2632. nlichen Web Navigator
  2633. &Arial
  2634. '++LotusScript Development Environment:2:5:(Options):0:74
  2635. Option Public
  2636. Use "InternetFunctions"
  2637. '++LotusScript Development Environment:2:5:(Forward):0:1
  2638. '++LotusScript Development Environment:2:5:(Declarations):0:10
  2639. Dim DocWasSaved As Integer
  2640. Dim HPValue As String
  2641. Dim OldHPValue As String
  2642. Dim SearchValue As String
  2643. Dim OldSearchValue As String
  2644. Dim uidoc As notesuidocument
  2645. Lotus Product
  2646.  Admin'++LotusScript Development Environment:2:5:(Options):0:66
  2647. '++LotusScript Development Environment:2:5:(Forward):0:1
  2648. Declare Sub Postopen(Source As Notesuidocument)
  2649. Declare Sub Querysave(Source As Notesuidocument, Continue As Variant)
  2650. Declare Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  2651. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2652. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2653. Private Sub BindEvents(Byval Objectname_ As String)
  2654.     Static Source As NOTESUIDOCUMENT
  2655.     Set Source = Bind(Objectname_)
  2656.     On Event Postopen From Source Call Postopen
  2657.     On Event Querysave From Source Call Querysave
  2658.     On Event Queryclose From Source Call Queryclose
  2659. End Sub
  2660. '++LotusScript Development Environment:2:2:Postopen:1:12
  2661. Sub Postopen(Source As Notesuidocument)
  2662.      'initialize some varibales
  2663.     Set w = New notesuiworkspace
  2664.     Set uidoc = w.currentdocument
  2665.     Set note = source.Document
  2666.     Set session = New NotesSession
  2667.     Set db = session.CurrentDatabase
  2668.      'we need to see if a profile document exists
  2669.     Set view = db.GetView("(Internet Profile)")
  2670.     Set docProfile = view.GetFirstDocument
  2671.     If Not (docProfile Is Nothing) Then
  2672.           'clear out any existing items, even though there probably isn't any
  2673.         Forall fields In note.Items
  2674.             fields.Remove
  2675.         End Forall
  2676.                'copy the items from the docProfile to this and disable saving
  2677.         docProfile.CopyAllItems note
  2678.     End If
  2679.     DocWasSaved = False
  2680.     'set values of PageMinderAgent and WebAheadAgent items("on" if enabled, "off" otherwise")
  2681.     Dim agent1 As NotesAgent
  2682.     Dim agent2 As NotesAgent
  2683.     Set agent1=db.GetAgent("Web Ahead")
  2684.     Set agent2=db.GetAgent("Page Minder")
  2685.     If agent1.IsEnabled Then
  2686.         Call note.ReplaceitemValue("WebAheadAgent", "On")
  2687.     Else
  2688.         Call note.ReplaceitemValue("WebAheadAgent", "Off")
  2689.     End If
  2690.     If agent2.IsEnabled Then
  2691.         Call note.ReplaceitemValue("PageMinderAgent", "On")
  2692.     Else
  2693.         Call note.ReplaceitemValue("PageMinderAgent", "Off")
  2694.     End If
  2695.     source.Refresh
  2696. End Sub
  2697. '++LotusScript Development Environment:2:2:Querysave:1:12
  2698. Sub Querysave(Source As Notesuidocument, Continue As Variant)
  2699.     Dim lpSubKey1 As String
  2700.     Dim IEHomePageURL As String
  2701.     Dim NewHPValue As String
  2702.     Dim IESearchURL As String
  2703.     Dim NewSearchValue As String
  2704.     If (docProfile Is Nothing) Then
  2705.         note.Saveoptions = "1"
  2706.     Else
  2707.         note.saveoptions = "0"
  2708.         DocWasSaved = True
  2709.     End If
  2710.     Call Session.Setenvironmentvar("W3LocalFormSave", "1", False)
  2711.      'If the home page or the search url have changed, write them out to the registry
  2712.     If GetcurrentLocation = "3" Then
  2713.         If ( source.document.startupoptions(0) ="1") And (source.document.openurl(0) <> "") Then
  2714.           'synchronize homepage with IE if Location is set to Notes with IE
  2715.             NewHPValue = source.fieldgettext("OpenURL")
  2716.             If NewHPValue <> OldHPValue Then
  2717.                 lpSubKey1 ="SOFTWARE\Microsoft\Internet Explorer\Main"
  2718.                 IEHomePageURL =  GetRegValue (lpsubkey1, "Start Page" )
  2719.                 CompareResult = CompareValues (IEHomePageURL, NewHPValue)
  2720.                 Select Case CompareResult
  2721.                 Case "SetRegistry"
  2722.           'Put the Notes Value in the W32 Registry
  2723.                     Call SetRegValue(lpSubKey1, "Start Page", NewHPValue)
  2724.                 Case "SetNotes"
  2725.           'Put the W32 Registry value in Notes
  2726.                     docprofile.OpenURL = IEHomePageURL
  2727.                     Call docprofile.save(True, False)
  2728.                 End Select
  2729.             End If
  2730.         End If
  2731.           'Sync search page values if they have changed
  2732.         NewSearchValue = source.fieldgettext("PreferredSearchEngine")
  2733.         NewSearchURL = source.fieldgettext("SearchURL")
  2734.         If NewSearchValue <> OldSearchValue Then
  2735.             lpSubKey1 ="SOFTWARE\Microsoft\Internet Explorer\Main"
  2736.             IESearchURL =  GetRegValue (lpsubkey1, "Search Page" )
  2737.             CompareResult = CompareValues (IESearchURL, NewSearchURL)
  2738.             Select Case CompareResult
  2739.             Case "SetRegistry"
  2740.           'Put the Notes Value in the W32 Registry
  2741.                 Call SetRegValue(lpSubKey1, "Search Page", NewSearchURL)
  2742.             Case "SetNotes"
  2743.           'Put the W32 Registry value in Notes
  2744.                 source.document.SearchURL = IESearchURL
  2745.             End Select
  2746.         End If
  2747.     End If
  2748. End Sub
  2749. '++LotusScript Development Environment:2:2:Queryclose:1:12
  2750. Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  2751.     source.refreshhideformulas
  2752.           'see if there is a profile document
  2753.     If Not (DocWasSaved) Or (docProfile Is Nothing) Then
  2754.           'there isn't a profile document, go ahead and save
  2755.         Exit Sub
  2756.     Else
  2757.           'we need to delete the items in the docprofile and copy the current items to it
  2758.         Forall fields In docProfile.Items
  2759.             fields.Remove
  2760.         End Forall
  2761.         note.CopyAllItems docProfile
  2762.         docProfile.SaveOptions = "1"
  2763.         docProfile.Save True, True
  2764.     End If
  2765. End Sub
  2766. Lotus Product
  2767. '++LotusScript Development Environment:2:5:(Options):0:66
  2768. '++LotusScript Development Environment:2:5:(Forward):0:1
  2769. Declare Sub Exiting(Source As Field)
  2770. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2771. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2772. Private Sub BindEvents(Byval Objectname_ As String)
  2773.      Static Source As FIELD
  2774.      Set Source = Bind(Objectname_)
  2775.      On Event Exiting From Source Call Exiting
  2776. End Sub
  2777. '++LotusScript Development Environment:2:2:Exiting:1:12
  2778. Sub Exiting(Source As Field)
  2779.      Dim  w As New notesuiworkspace
  2780.      Dim uidoc As notesuidocument
  2781.      Dim docnote As notesdocument
  2782.      Set uidoc = w.currentdocument
  2783.      uidoc.refresh
  2784.      Set docnote = uidoc.document
  2785.      If "" <> (uidoc.fieldgettext("*")) Then
  2786.           var = docnote.GetItemValue("*")
  2787.           Forall item In var
  2788.                If Not (item = "*") Then
  2789.                     uidoc.fieldclear(item)
  2790.                End If
  2791.           End Forall
  2792.      End If     
  2793. End Sub
  2794. Lotus Product
  2795. DiskSizeOptions
  2796. ReduceReadG
  2797.     0S0E
  2798. Internet-Optionen f
  2799.     0S0E
  2800. DisplayName
  2801.     Web-Seiten vorladen:   
  2802. ScanAheadGeben Sie an, bis zu welcher Ebene dieser Agent Seiten abrufen soll.
  2803.      Ebene(n) tief  
  2804. ']*--
  2805. WebAheadAgent
  2806.     0S0E
  2807. '++LotusScript Development Environment:2:5:(Options):0:66
  2808. '++LotusScript Development Environment:2:5:(Forward):0:1
  2809. Declare Sub Click(Source As Button)
  2810. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2811. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2812. Private Sub BindEvents(Byval Objectname_ As String)
  2813.     Static Source As BUTTON
  2814.     Set Source = Bind(Objectname_)
  2815.     On Event Click From Source Call Click
  2816. End Sub
  2817. '++LotusScript Development Environment:2:2:Click:1:12
  2818. Sub Click(Source As Button)
  2819.     Dim ws As New NotesUIWorkspace    
  2820.     Dim session As New notessession
  2821.     Dim db As notesdatabase    
  2822.     Dim agent As notesagent
  2823.     Dim strHomeServer As String, xxstr1 As String, xxstr2 As String
  2824.     Dim doc As NotesDocument    
  2825.     Dim uidoc As NotesUIdocument
  2826.     xxstr1="Aktivierte Hintergrund-Agenten"
  2827.     xxstr2="Sie haben gerade einen Hintergrund-Agenten auf Ihrer Notes Workstation aktiviert. Stellen Sie sicher, da
  2828.  Sie durch W
  2829. hlen von 'Datei - Vorgaben - Notes' und 'Lokale periodische Agenten aktivieren' die Ausf
  2830. hrung von Hintergrund-Agenten erm
  2831. glicht haben."
  2832.     Set db = session.currentdatabase
  2833.     Set uidoc=ws.CurrentDocument    
  2834.     Set doc=uidoc.Document    
  2835.     Set agent = db.GetAgent("Web Ahead")
  2836.     If Not(agent Is Nothing) Then
  2837.         agent.IsEnabled = True
  2838.         strHomeServer = db.Server
  2839.         If Len(strHomeServer) = 0 Then
  2840.             strHomeServer = session.UserName
  2841.             Call ws.Prompt(1, xxstr1, xxstr2)            
  2842.         End If
  2843.         agent.ServerName = strHomeServer
  2844.         Call agent.save()
  2845.     End If        
  2846.     Call doc.ReplaceitemValue("WebAheadAgent", "On")
  2847.     Call uidoc.RefreshHideFormulas
  2848. End Sub
  2849. Lotus Product
  2850. New Button
  2851. Need a newer version of Notes to execute this button.
  2852.     0S0E
  2853.     Web Ahead aktivieren
  2854. ']*--
  2855. WebAheadAgent
  2856.     0S0E
  2857. Web Ahead
  2858.     0S0E
  2859. WebAheadAgent
  2860.     0R1S
  2861.     Web Ahead deaktivieren
  2862. Web Ahead
  2863.     Suche nach Aktualisierungen:
  2864. SearchFrequencyLegen Sie fest, wie oft der Agent 
  2865. berpr
  2866. fen soll, ob sich der Inhalt der Seite ge
  2867. ndert hat.
  2868. ndlich|0Alle vier Stunden|1T
  2869. glich|2W
  2870. chentlich|3
  2871. PageMinderAgent
  2872.     0S0E
  2873. '++LotusScript Development Environment:2:5:(Options):0:66
  2874. '++LotusScript Development Environment:2:5:(Forward):0:1
  2875. Declare Sub Click(Source As Button)
  2876. '++LotusScript Development Environment:2:5:(Declarations):0:2
  2877. '++LotusScript Development Environment:2:2:BindEvents:1:129
  2878. Private Sub BindEvents(Byval Objectname_ As String)
  2879.     Static Source As BUTTON
  2880.     Set Source = Bind(Objectname_)
  2881.     On Event Click From Source Call Click
  2882. End Sub
  2883. '++LotusScript Development Environment:2:2:Click:1:12
  2884. Sub Click(Source As Button)
  2885.     Dim ws As New NotesUIWorkspace        
  2886.     Dim session As New notessession
  2887.     Dim db As notesdatabase    
  2888.     Dim agent As notesagent
  2889.     Dim strHomeServer As String, xxstr1 As String, xxstr2 As String
  2890.     Dim uidoc As NotesUiDocument
  2891.     Dim doc As NotesDocument
  2892.     xxstr1="Aktivierte Hintergrund-Agenten"
  2893.     xxstr2="Sie haben gerade einen Hintergrund-Agenten auf Ihrer Notes Workstation aktiviert. Stellen Sie sicher, da
  2894.  Sie durch W
  2895. hlen von 'Datei - Vorgaben - Notes' und 'Lokale periodische Agenten aktivieren' die Ausf
  2896. hrung von Hintergrund-Agenten erm
  2897. glicht haben."
  2898.     Set db = session.currentdatabase
  2899.     Set uidoc=ws.CurrentDocument
  2900.     Set doc=uidoc.Document    
  2901.     Set agent = db.GetAgent("Page Minder")
  2902.     If Not(agent Is Nothing) Then
  2903.         agent.IsEnabled = True
  2904.         strHomeServer = db.Server
  2905.         If Len(strHomeServer) = 0 Then
  2906.             strHomeServer = session.UserName
  2907.             Call ws.Prompt(1, xxstr1, xxstr2)                
  2908.         End If
  2909.         agent.ServerName = strHomeServer
  2910.         Call agent.save()
  2911.     End If        
  2912.     Call doc.ReplaceitemValue("PageMinderAgent", "On")
  2913.     Call uidoc.RefreshHideFormulas
  2914. End Sub
  2915. Lotus Product
  2916. New Button
  2917. Need a newer version of Notes to execute this button.
  2918.     0S0E
  2919.     Page Minder aktivieren
  2920. PageMinderAgent
  2921.     0S0E
  2922. Page Minder
  2923.     0S0E
  2924. PageMinderAgent
  2925.     0R1S
  2926.     Page Minder deaktivieren
  2927.     Wenn Aktualisierungen gefunden wurden:
  2928. UpdatesFoundOptionsLegen Sie fest, welche Art von Meldung bei einer 
  2929. nderung des Seiteninhalts ausgegeben werden soll.
  2930. Eigentliche Seite versenden|0Zusammenfassung senden|1
  2931.     Senden an:
  2932.     0S0E
  2933. Page Minder
  2934. sendmailto
  2935. Sie m
  2936. ssen eine E-Mail-Adresse eingeben, an die der Agent 'Page Minder' Aktualisierungen senden soll.
  2937.     1S6S7S9S10S13S
  2938. SendMailToGeben Sie den Namen der Person an, die 
  2939. ber die 
  2940. nderung des Seiteninhalts unterrichtet werden soll.
  2941. SendMailTo
  2942. SendMailTo
  2943.     1S2S3S10S11S
  2944.     0S0E
  2945.     Adresse...
  2946. Page Minder
  2947. ReduceDaysLegen Sie fest, wie Notes die Datenbank l
  2948. schen soll.
  2949. Nicht mehr gelesene Seiten auf Verkn
  2950. pfungen reduzieren nach:|0Nicht mehr gelesene Seiten aus Datenbank l
  2951. schen nach:|1Deaktivieren|2
  2952. ReduceDays
  2953.     1S2S
  2954. ReduceNumDaysLegen Sie fest, wie viele Tage eine Seite in der Datenbank verbleiben soll, bevor sie von Notes gel
  2955. scht wird.
  2956. 15306090
  2957.      Tagen
  2958. ReduceSizeLegen Sie fest, ob Notes eine Warnmeldung anzeigt, wenn die Datenbank eine bestimmte Gr
  2959. berschreitet.
  2960. Warnmeldung wenn Datenbank gr
  2961. er als:|1
  2962. ReduceNumMBLegen Sie fest, bei welcher Datenbankgr
  2963. e Notes eine Warnmeldung ausgibt.
  2964. 5102550
  2965.     0S0E
  2966. KeepPage
  2967. Seiten automatisch f
  2968. r verbindungslose Verwendung speichern|0Seiten manuell f
  2969. r verbindungslose Verwendung speichern|1
  2970. reducedays
  2971.     4S5S2E
  2972.     0S0E
  2973.      Aufr
  2974. umen aktivieren 
  2975. reducedays
  2976.     5S6S
  2977.     0S0E
  2978.     Aufr
  2979. umen deaktivieren 
  2980.     Angegebene Web-Seiten und Bewertungsdokumente gemeinsam nutzen mit:
  2981.     Server:     
  2982.     0S0E
  2983. WebServerGeben Sie den Namen des InterNotes Servers ein, mit dem Sie Seiten gemeinsam nutzen m
  2984. chten
  2985.                            Datenbank:     
  2986. web.nsf
  2987. WebServer
  2988. web.nsf
  2989. WebServer
  2990. names.nsf
  2991. ($ServersLookup)
  2992. WebServer
  2993. WebDBName
  2994.     0S0E
  2995. WebDatabaseName der Server Web Navigator-Datenbank f
  2996. r gemeinsame Nutzung von Web-Seiten und Bewertungsdokumenten.
  2997. Zusammenarbeit
  2998.     HTML-Speicherungsoptionen:
  2999. SaveHTMLAktivieren Sie die Option, um den HTML-Quelltext im Feld 'HTMLSource' im Notes Dokument zu speichern.
  3000. Nur als Rich Text speichern|0Als Rich Text und HTML speichern|1Nur im MIME-Format speichern |2
  3001. SaveHTML
  3002.     0S0E
  3003.     Anker:
  3004. Unterstrichen/Blau
  3005. Anchor_styleW
  3006. hlen Sie einen Stil f
  3007. r URLs auf Web-Seiten.
  3008. Fett/Unterstrichen/BlauUnterstrichen/BlauFett/BlauNur unterstrichen
  3009. 0X3(6
  3010.     Normal:
  3011. Courier
  3012. PlainW
  3013. hlen Sie eine Schriftart f
  3014. r normalen Text.
  3015. TimesHelveticaCourier
  3016.     Haupttext:
  3017. Times 12
  3018. BodyW
  3019. hlen Sie eine Schriftart f
  3020. r Flie
  3021. text auf Web-Seiten.    
  3022. Times 10Times 11Times 12Helvetica 10Helvetica 11Helvetica 12Courier 10Courier 11Courier 12
  3023.     Adresse:
  3024. Times
  3025. AddressW
  3026. hlen Sie eine Schriftart f
  3027. r das Adre
  3028. -Tag auf Web-Seiten.
  3029. TimesHelveticaCourier
  3030.     Feste Schriftbreite:
  3031. Courier
  3032. FixedW
  3033. hlen Sie eine Schriftart f
  3034. r Text mit fester Schriftbreite.
  3035. TimesHelveticaCourier
  3036. #T&$)
  3037.     Liste:
  3038. Courier
  3039. ListingW
  3040. hlen Sie eine Schriftart f
  3041. r Listen. 
  3042. TimesHelveticaCourier
  3043. Darstellung
  3044.     Die Internet-Netzwerkvorgaben k
  3045. nnen durch die Bearbeitung Ihres aktuellen Arbeitsumgebungsdokuments festgelegt werden.             
  3046.     0S0E
  3047.     Arbeitsumgebung bearbeiten...
  3048. Netzwerkvorgaben
  3049. $Script1
  3050. _Kategorisieren
  3051. Dokument _bearbeiten
  3052. Dokument _senden
  3053. _Weiterleiten
  3054. In Ordner _verschieben...
  3055. Aus Ordner _entfernen
  3056. Speichern und schlie
  3057.     0S0E
  3058. _Kategorisieren
  3059. Dokument _bearbeiten
  3060. Dokument _senden
  3061. _Weiterleiten
  3062. In Ordner _verschieben...
  3063. Aus Ordner _entfernen
  3064. Speichern und schlie
  3065.     0S0E
  3066. O=Lotus Notes
  3067. O=Lotus Notes
  3068. PURSAFO
  3069. |.:#U
  3070. O=Lotus Notes
  3071. CN=Lotus Notes Template Development/O=Lotus Notes
  3072. PURSAFO
  3073. $StartUpOptions_O
  3074. $OpenURL_O
  3075. $PreferredSearchEngine_O
  3076. $ScanAheadold_O
  3077. $$StartUpOptions
  3078. $$OpenURL
  3079. $$PreferredSearchEngine
  3080. $$ScanAheadold
  3081. $Language
  3082. $LastBuildTime
  3083. $BabelInfo
  3084. $INFO
  3085. $WINDOWTITLE
  3086. $Script
  3087. $$Script_O
  3088. $$ScriptName
  3089. $$FormScript
  3090. $$$FormScript_O
  3091. $$$Script1
  3092. $$Script1_O
  3093. $BODY
  3094. $V5ACTIONS
  3095. $ACTIONS
  3096. gine_O
  3097. $ScanAheadold_O
  3098. $$StartUpOption
  3099.  ShareWebPage
  3100. SharedOptions
  3101.     1S2S
  3102.     Diese Web-Seite wird in die folgende Web Navigator-Datenbank kopiert (der Pfad der Datenbank kann durch W
  3103. hlen von 'Aktionen - Internet-Optionen' aus dem Men
  3104. ndert werden.)
  3105. Rating
  3106. SharedOptions
  3107.     3S4S5S6S
  3108. Rating
  3109. Rating
  3110. Rating
  3111. Rating
  3112. SharedOptions
  3113.     3S4S5S6S
  3114. Rating
  3115. Rating
  3116. Rating
  3117. Rating
  3118. SharedOptions
  3119.     3S4S5S6S
  3120. Rating
  3121. Rating
  3122. Rating
  3123. Rating
  3124. SharedOptions
  3125.     3S4S5S6S
  3126. Rating
  3127. Rating
  3128. Rating
  3129. Rating
  3130. SharedOptions
  3131.     3S4S5S6S
  3132. Rating
  3133. Rating
  3134. Rating
  3135. Rating
  3136. SharedOptions
  3137.     3S4S5S6S
  3138. Rating
  3139. Rating
  3140. Rating
  3141. Rating
  3142. SharedOptions
  3143.     3S4S5S6S
  3144. Rating
  3145. Rating
  3146. Rating
  3147. Rating
  3148. SharedOptions
  3149.     3S4S5S6S
  3150. Rating
  3151. Rating
  3152. Rating
  3153. Rating
  3154. SharedOptions
  3155.     3S4S5S6S
  3156. Rating
  3157. Rating
  3158. Rating
  3159. Rating
  3160. SharedOptions
  3161.     3S4S5S6S
  3162. Rating
  3163. Rating
  3164. Rating
  3165. SharedOptions
  3166.     1S2S
  3167. Title
  3168. TitleX
  3169. Schwach   < ----------------------  >   Stark!
  3170. Kunst
  3171. contentW
  3172. hlen Sie eine Kategorie aus der Liste, die den Inhalt dieses Dokuments am besten beschreibt
  3173. KunstWirtschaftComputerKulturBildungUnterhaltungFinanzenRegierungInternetVer
  3174. ffentlichungenFreizeitInformationenWissenschaftShoppingSportX
  3175. Kategorie:
  3176. CommentsSchreiben Sie hier Kommentare zu dieser Seite auf.
  3177. Ihre Kommentare:
  3178. SharedOptions
  3179. Seite in gemeinsame Web Navigator-Datenbank kopieren|2Bewertung in gemeinsamer Web Navigator-Datenbank erstellen|3X
  3180. SharedOptions
  3181.     1S2S
  3182.     URL senden an:
  3183. tmpWebServer
  3184. tmpWebServer
  3185. tmpWebDb
  3186. tmpWebDb
  3187.     Server:X
  3188.     Pfad:X
  3189. SharedOptions
  3190. Rating
  3191. Sie m
  3192. ssen eine Bewertung f
  3193. r diese Seite eingeben.
  3194.     3S4S5S6S7S8S
  3195. Rating
  3196. O=Lotus Notes
  3197. O=Lotus Notes
  3198. PURSAFO
  3199. |.:#U
  3200. O=Lotus Notes
  3201. CN=Lotus Notes Template Development/O=Lotus Notes
  3202. PURSAFO
  3203. $INFO
  3204. $$Script_O
  3205. $$ScriptName
  3206. $BODY
  3207. $Language
  3208. $LastBuildTime
  3209. $BabelInfo
  3210. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCD=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus&
  3211. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotuspA
  3212. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LottsCN=Shaun McGale/OU=DUB/O=Lotus
  3213. Internet-OptionenAdmin
  3214. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3215. WeiterleitenForward
  3216. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun$McGale/OU=DUB/O=Lotus
  3217. ShareWebPageShareWebPage
  3218. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3219. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3220. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3221. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3222. CookieCookie
  3223. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3224. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3225. CN=Teresa Deane/O=IrisCN=Lotus Notes$Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3226. (Internet Profile)|Internet Profiles
  3227. Lotus NotesCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3228. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Patl Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3229. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3230. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3231. EOu#B 
  3232. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3233. e/OU=DUB/O=Lotus
  3234. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3235. /O=Ldtus
  3236. CN=Teresa Deane/O=
  3237. Internet-Optione
  3238. Paul Kerr/OU=DUB
  3239. (Internet Profile)|Internet Profiles
  3240. CN=Teresa Deane/O=
  3241. Internet-Optione
  3242. Paul Kerr/OU=DUB/O=LotusCN=Shaun MM
  3243. CN=Teresa Deane/O=
  3244. cptionenAdmin
  3245. WeiterleitenForward
  3246. ShareWebPageShareWebPage
  3247. CookieCookie
  3248. Internet-OptionenAdmin
  3249. WeiterleitenForward
  3250. ShareWebPageShareWebPage
  3251. CookieCookie
  3252. Internet-OptionenAdmin
  3253. WeiterleitenForward
  3254. ShareWebPageShareWebPage
  3255. Cookie
  3256. Internet-OptionenAdmin
  3257. WeiterleitenForward
  3258. ShareWebPageShareWebPage
  3259. Internet-OptionenAdmin
  3260. WeiterleitenForward
  3261. ShareWebTageShareWebPage
  3262. CookieCookie
  3263. $Modified
  3264.     1S2S3S
  3265. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$LANGUAGE$C1$
  3266. $Flags
  3267.     0SL1S4S5S
  3268. $TITLE
  3269. (ImportFavorite)
  3270. de-DE
  3271. InternetFunctions
  3272. AgentFunctions
  3273. (ImportBookmark)
  3274. HTMLForm
  3275. HelpForm
  3276. WebBrowserForm
  3277. WebBrowser4Form
  3278. Andere\Dateiarchiv|File Archive!
  3279. Andere\Aufr
  3280. umen|House Cleaning!
  3281. (WebBrowserView)|WebBrowserView
  3282. Alle Seiten|($All)|Main
  3283. (Images)
  3284. Andere\Cookies|Cookies
  3285. Web Bots\Web Ahead
  3286. Web Bots\Page Minder
  3287. Web Ahead
  3288. Internet-Optionen...
  3289. Page Minder
  3290. (RemoveObjects)
  3291. URLDoclink
  3292. Database Script
  3293. $ACTIONS
  3294. C34y 
  3295. CN=Shaun McGale/OU=DUB/O=Lotus
  3296. Lotus Product
  3297. OBJECT
  3298. Lotus Product
  3299. OBJECT
  3300. Lotus Product
  3301. OBJECT
  3302. Lotus Product
  3303. OBJECT
  3304. &Arial
  3305. WebBrowserForm
  3306. Web-Browsing
  3307.     0S0E
  3308. Seite behalten'++LotusScript Development Environment:2:5:(Options):0:66
  3309. '++LotusScript Development Environment:2:5:(Forward):0:1
  3310. Declare Sub Click(Source As Button)
  3311. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3312. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3313. Private Sub BindEvents(Byval Objectname_ As String)
  3314.      Static Source As BUTTON
  3315.      Set Source = Bind(Objectname_)
  3316.      On Event Click From Source Call Click
  3317. End Sub
  3318. '++LotusScript Development Environment:2:2:Click:1:12
  3319. Sub Click(Source As Button)
  3320.      
  3321.      On Error Resume Next
  3322.      InstantiateWebBrowserFormObjects
  3323.      Dim nulldoc As notesdocument
  3324.      Dim url As String
  3325.      url = browserobject.locationURL
  3326.      If  url <>"" Then
  3327.           ' Request the URL to be retrieved but don't wait for it to come in
  3328.           Print "(DEBUG) - Queue request for: " + url
  3329.           Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  3330.      End If
  3331.      uidoc.refreshhideformulas
  3332. End Sub
  3333. (Internet Profile)
  3334. Internet Options
  3335. keeppage
  3336.     0S0E
  3337. Weiterleiten...X'++LotusScript Development Environment:2:5:(Options):0:66
  3338. '++LotusScript Development Environment:2:5:(Forward):0:1
  3339. Declare Sub Click(Source As Button)
  3340. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3341. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3342. Private Sub BindEvents(Byval Objectname_ As String)
  3343.      Static Source As BUTTON
  3344.      Set Source = Bind(Objectname_)
  3345.      On Event Click From Source Call Click
  3346. End Sub
  3347. '++LotusScript Development Environment:2:2:Click:1:12
  3348. Sub Click(Source As Button)
  3349.      
  3350.      InstantiateWebBrowserFormObjects
  3351.      Call IEForwardNote(doc,Browserobject)
  3352. End Sub
  3353. In Ordner _verschieben...X
  3354. schenX'++LotusScript Development Environment:2:5:(Options):0:66
  3355. '++LotusScript Development Environment:2:5:(Forward):0:1
  3356. Declare Sub Click(Source As Button)
  3357. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3358. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3359. Private Sub BindEvents(Byval Objectname_ As String)
  3360.      Static Source As BUTTON
  3361.      Set Source = Bind(Objectname_)
  3362.      On Event Click From Source Call Click
  3363. End Sub
  3364. '++LotusScript Development Environment:2:2:Click:1:12
  3365. Sub Click(Source As Button)
  3366.      
  3367.      InstantiateWebBrowserFormObjects
  3368.      Dim webdoc As notesdocument
  3369.      Dim noteid As String
  3370.      noteid = ""
  3371.      
  3372.      Response = Msgbox ("Hiermit wird die ausgew
  3373. hlte Seite in der Datenbank endg
  3374. ltig gel
  3375. scht. M
  3376. chten Sie fortfahren?", 20, "Dokument l
  3377. schen")
  3378.      If Response = 6 Then    
  3379.           uidoc.close
  3380.           Set webdoc=db.getdocumentbyurl(doc.url(0))
  3381.           Call RemoveObjects(webdoc)
  3382.          ' webdoc.Remove True
  3383.           
  3384.           If doc.isuidocopen Then
  3385.                noteid = doc.noteid             
  3386.                Delete doc
  3387.                Set doc = db.getdocumentbyid (noteid) 
  3388.                doc.remove True
  3389.                w.viewrefresh  
  3390.                w.viewrefresh
  3391.           Else
  3392.                doc.Remove True 
  3393.           End If
  3394.           
  3395.           w.viewrefresh
  3396.           
  3397.           
  3398.           
  3399.      End If
  3400.      
  3401. End Sub
  3402. _KategorisierenX
  3403. Dokument _bearbeiten    
  3404. Dokument _senden
  3405. _WeiterleitenX
  3406. $ControlURLNavigateX'++LotusScript Development Environment:2:5:(Options):0:66
  3407. '++LotusScript Development Environment:2:5:(Forward):0:1
  3408. Declare Sub Click(Source As Button)
  3409. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3410. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3411. Private Sub BindEvents(Byval Objectname_ As String)
  3412.      Static Source As BUTTON
  3413.      Set Source = Bind(Objectname_)
  3414.      On Event Click From Source Call Click
  3415. End Sub
  3416. '++LotusScript Development Environment:2:2:Click:1:12
  3417. Sub Click(Source As Button)
  3418.      
  3419.      InstantiateWebBrowserFormObjects
  3420.      Dim URL As Variant
  3421.      Dim Reload As Variant
  3422.      Dim Flags As Integer
  3423.      Dim TmpUrl As String
  3424.      
  3425.      URL = doc.GetitemValue("$NavigateToURL")
  3426.      Reload = doc.GetItemValue("$ReloadRefresh")
  3427.      Flags =Val (Reload(0))
  3428.      On Error 213  Resume Next
  3429.      
  3430.      TmpUrl=browserobject.LocationURL
  3431.      
  3432.      If Flags = 1 Then
  3433.           Flags = 4
  3434.      End If
  3435.      
  3436.      
  3437.      If URL(0) <> "" Then
  3438.           If URL(0) = TmpUrl Then
  3439.               ' Print "Refreshing " + Url(0)
  3440.                browserobject.Refresh     
  3441.           Else
  3442.              '  Print "Attempting " + URL(0) + " Flags = "+ Str(Flags)
  3443.                browserobject.Navigate URL(0), Flags
  3444.                
  3445.           ' Once navigation is done delete the item form the form
  3446.                doc.REMOVEITEM("$NavigateToURL")
  3447.                doc.RemoveItem("$ReloadRefresh")
  3448.                Call doc.Save( True, False )
  3449.           End If
  3450.      Else
  3451.           Messagebox "Keine URL angegeben.", 0, "ErrorNavigating"
  3452.      End If     
  3453. End Sub
  3454. Aus Ordner _entfernenX
  3455. Eigenschaften: Internet...'++LotusScript Development Environment:2:5:(Options):0:66
  3456. '++LotusScript Development Environment:2:5:(Forward):0:1
  3457. Declare Sub Click(Source As Button)
  3458. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3459. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3460. Private Sub BindEvents(Byval Objectname_ As String)
  3461.      Static Source As BUTTON
  3462.      Set Source = Bind(Objectname_)
  3463.      On Event Click From Source Call Click
  3464. End Sub
  3465. '++LotusScript Development Environment:2:2:Click:1:12
  3466. Sub Click(Source As Button)
  3467.      
  3468.      Dim iret As Integer
  3469.      iret=Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl", 1)
  3470. End Sub
  3471.     0S0E
  3472. Seite behalten'++LotusScript Development Environment:2:5:(Options):0:66
  3473. '++LotusScript Development Environment:2:5:(Forward):0:1
  3474. Declare Sub Click(Source As Button)
  3475. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3476. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3477. Private Sub BindEvents(Byval Objectname_ As String)
  3478.      Static Source As BUTTON
  3479.      Set Source = Bind(Objectname_)
  3480.      On Event Click From Source Call Click
  3481. End Sub
  3482. '++LotusScript Development Environment:2:2:Click:1:12
  3483. Sub Click(Source As Button)
  3484.      
  3485.      On Error Resume Next
  3486.      InstantiateWebBrowserFormObjects
  3487.      Dim nulldoc As notesdocument
  3488.      Dim url As String
  3489.      url = browserobject.locationURL
  3490.      If  url <>"" Then
  3491.           ' Request the URL to be retrieved but don't wait for it to come in
  3492.           Print "(DEBUG) - Queue request for: " + url
  3493.           Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  3494.      End If
  3495.      uidoc.refreshhideformulas
  3496. End Sub
  3497. (Internet Profile)
  3498. Internet Options
  3499. keeppage
  3500.     0S0E
  3501. Weiterleiten...X'++LotusScript Development Environment:2:5:(Options):0:66
  3502. '++LotusScript Development Environment:2:5:(Forward):0:1
  3503. Declare Sub Click(Source As Button)
  3504. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3505. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3506. Private Sub BindEvents(Byval Objectname_ As String)
  3507.      Static Source As BUTTON
  3508.      Set Source = Bind(Objectname_)
  3509.      On Event Click From Source Call Click
  3510. End Sub
  3511. '++LotusScript Development Environment:2:2:Click:1:12
  3512. Sub Click(Source As Button)
  3513.      
  3514.      InstantiateWebBrowserFormObjects
  3515.      Call IEForwardNote(doc,Browserobject)
  3516. End Sub
  3517. In Ordner _verschieben...X
  3518. schenX'++LotusScript Development Environment:2:5:(Options):0:66
  3519. '++LotusScript Development Environment:2:5:(Forward):0:1
  3520. Declare Sub Click(Source As Button)
  3521. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3522. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3523. Private Sub BindEvents(Byval Objectname_ As String)
  3524.      Static Source As BUTTON
  3525.      Set Source = Bind(Objectname_)
  3526.      On Event Click From Source Call Click
  3527. End Sub
  3528. '++LotusScript Development Environment:2:2:Click:1:12
  3529. Sub Click(Source As Button)
  3530.      
  3531.      InstantiateWebBrowserFormObjects
  3532.      Dim webdoc As notesdocument
  3533.      Dim noteid As String
  3534.      noteid = ""
  3535.      
  3536.      Response = Msgbox ("Hiermit wird die ausgew
  3537. hlte Seite in der Datenbank endg
  3538. ltig gel
  3539. scht. M
  3540. chten Sie fortfahren?", 20, "Dokument l
  3541. schen")
  3542.      If Response = 6 Then    
  3543.           uidoc.close
  3544.           Set webdoc=db.getdocumentbyurl(doc.url(0))
  3545.           Call RemoveObjects(webdoc)
  3546.          ' webdoc.Remove True
  3547.           
  3548.           If doc.isuidocopen Then
  3549.                noteid = doc.noteid             
  3550.                Delete doc
  3551.                Set doc = db.getdocumentbyid (noteid) 
  3552.                doc.remove True
  3553.                w.viewrefresh  
  3554.                w.viewrefresh
  3555.           Else
  3556.                doc.Remove True 
  3557.           End If
  3558.           
  3559.           w.viewrefresh
  3560.           
  3561.           
  3562.           
  3563.      End If
  3564.      
  3565. End Sub
  3566. _KategorisierenX
  3567. Dokument _bearbeiten    
  3568. Dokument _senden
  3569. _WeiterleitenX
  3570. $ControlURLNavigateX'++LotusScript Development Environment:2:5:(Options):0:66
  3571. '++LotusScript Development Environment:2:5:(Forward):0:1
  3572. Declare Sub Click(Source As Button)
  3573. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3574. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3575. Private Sub BindEvents(Byval Objectname_ As String)
  3576.      Static Source As BUTTON
  3577.      Set Source = Bind(Objectname_)
  3578.      On Event Click From Source Call Click
  3579. End Sub
  3580. '++LotusScript Development Environment:2:2:Click:1:12
  3581. Sub Click(Source As Button)
  3582.      
  3583.      InstantiateWebBrowserFormObjects
  3584.      Dim URL As Variant
  3585.      Dim Reload As Variant
  3586.      Dim Flags As Integer
  3587.      Dim TmpUrl As String
  3588.      
  3589.      URL = doc.GetitemValue("$NavigateToURL")
  3590.      Reload = doc.GetItemValue("$ReloadRefresh")
  3591.      Flags =Val (Reload(0))
  3592.      On Error 213  Resume Next
  3593.      
  3594.      TmpUrl=browserobject.LocationURL
  3595.      
  3596.      If Flags = 1 Then
  3597.           Flags = 4
  3598.      End If
  3599.      
  3600.      
  3601.      If URL(0) <> "" Then
  3602.           If URL(0) = TmpUrl Then
  3603.               ' Print "Refreshing " + Url(0)
  3604.                browserobject.Refresh     
  3605.           Else
  3606.              '  Print "Attempting " + URL(0) + " Flags = "+ Str(Flags)
  3607.                browserobject.Navigate URL(0), Flags
  3608.                
  3609.           ' Once navigation is done delete the item form the form
  3610.                doc.REMOVEITEM("$NavigateToURL")
  3611.                doc.RemoveItem("$ReloadRefresh")
  3612.                Call doc.Save( True, False )
  3613.           End If
  3614.      Else
  3615.           Messagebox "Keine URL angegeben.", 0, "ErrorNavigating"
  3616.      End If     
  3617. End Sub
  3618. Aus Ordner _entfernenX
  3619. Eigenschaften: Internet...'++LotusScript Development Environment:2:5:(Options):0:66
  3620. '++LotusScript Development Environment:2:5:(Forward):0:1
  3621. Declare Sub Click(Source As Button)
  3622. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3623. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3624. Private Sub BindEvents(Byval Objectname_ As String)
  3625.      Static Source As BUTTON
  3626.      Set Source = Bind(Objectname_)
  3627.      On Event Click From Source Call Click
  3628. End Sub
  3629. '++LotusScript Development Environment:2:2:Click:1:12
  3630. Sub Click(Source As Button)
  3631.      
  3632.      Dim iret As Integer
  3633.      iret=Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl", 1)
  3634. End Sub
  3635.     0S0E
  3636. '++LotusScript Development Environment:2:5:(Options):0:74
  3637. Option Public
  3638. Use "InternetFunctions"
  3639. '++LotusScript Development Environment:2:5:(Forward):0:1
  3640. Declare Sub InstantiateWebBrowserFormObjects
  3641. '++LotusScript Development Environment:2:5:(Declarations):0:10
  3642. 'Global Form Variables
  3643. Dim uidoc As notesuidocument
  3644. Dim doc As notesdocument
  3645. Dim browserobject As Variant
  3646. '++LotusScript Development Environment:2:2:InstantiateWebBrowserFormObjects:1:8
  3647. Sub InstantiateWebBrowserFormObjects
  3648.     InstantiateObjects
  3649. End Sub
  3650. '++LotusScript Development Environment:2:5:(Options):0:66
  3651. '++LotusScript Development Environment:2:5:(Forward):0:1
  3652. Declare Sub Postopen(Source As Notesuidocument)
  3653. Declare Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  3654. Declare Sub Initialize
  3655. Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  3656. '++LotusScript Development Environment:2:5:(Declarations):0:2
  3657. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3658. Private Sub BindEvents(Byval Objectname_ As String)
  3659.     Static Source As NOTESUIDOCUMENT
  3660.     Set Source = Bind(Objectname_)
  3661.     On Event Postopen From Source Call Postopen
  3662.     On Event Queryclose From Source Call Queryclose
  3663.     On Event Queryopen From Source Call Queryopen
  3664. End Sub
  3665. '++LotusScript Development Environment:2:2:Postopen:1:12
  3666. Sub Postopen(Source As Notesuidocument)
  3667.     InstantiateWebBrowserFormObjects
  3668.     Set uidoc = source
  3669.     Set doc = uidoc.Document     
  3670.     Set browserobject=uidoc.GetObject("Browser")
  3671.     If docprofile Is Nothing Then
  3672.         Set docprofile = New NotesDocument(db)
  3673.         docprofile.Form = "Admin"
  3674.         docprofile.StartUpOptions = "1"
  3675.         docprofile.OpenURL = "http://notes.net/welcome.nsf"
  3676.         docprofile.PreferredSearchEngine = "4"
  3677.         docprofile.SearchURL="http://www.search.com/"
  3678.         docprofile.ScanAhead = "1"
  3679.         docprofile.SearchFrequency = "2"
  3680.         docprofile.UpdatesFoundOptions = "1"
  3681.         docprofile.SendMailTo = session.UserName
  3682.         docprofile.ReduceDays = "2"
  3683.         docprofile.KeepPage = "0"
  3684.         docprofile.Save True, True
  3685.     End If
  3686.     uidoc.refreshhideformulas
  3687.            ' Make sure there is a URL field and it's not empty before we try to
  3688.           ' navigate there
  3689.     If doc.hasitem("URL")   And doc.URL(0) <> "" Then
  3690.               ' Print "Postopen Navigating to " + doc.URL(0)
  3691.         browserobject.navigate doc.url(0)
  3692.         If source.inpreviewpane Then
  3693.             firstnavigatedone = True
  3694.         End If
  3695.     End If    
  3696. End Sub
  3697. '++LotusScript Development Environment:2:2:Queryclose:1:12
  3698. Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  3699.     ' If source.document.hasitem("firstnavigatedone") Then          
  3700.     FirstNavigateDone = False
  3701.      '     source.document.removeitem("firstnavigatedone")
  3702.       '    source.document.removeitem("$FILE")
  3703.        '   source.document.removeitem("$OLEOBJINFO")
  3704.         '  source.document.save True, False
  3705.    '  Print "reset flag field"
  3706.    ' Print firstnavigatedone
  3707.      'End If
  3708. End Sub
  3709. '++LotusScript Development Environment:2:2:Initialize:1:10
  3710. Sub Initialize
  3711. End Sub
  3712. '++LotusScript Development Environment:2:2:Queryopen:1:12
  3713. Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  3714. End Sub
  3715. SaveOptionsX
  3716. EXT34422Shell.Explorer.1
  3717. $OLEPreviewActivateX
  3718. Lotus Product
  3719. Lotus Product
  3720. -p    #8    
  3721. Lotus Product
  3722. Lotus Product
  3723. Lotus Product
  3724. Lotus Product
  3725. Lotus Product
  3726. O=Lotus Notes
  3727. O=Lotus Notes
  3728. PURSAFO
  3729. |.:#U
  3730. O=Lotus Notes
  3731. CN=Lotus Notes Template Development/O=Lotus Notes
  3732. PURSAFO
  3733. $SCRIPTOBJ_26
  3734. $SCRIPTOBJ_18
  3735. $SCRIPTOBJ_21
  3736. $SCRIPTOBJ_22
  3737. $SCRIPTOBJ_23
  3738. $SCRIPTOBJ_24
  3739. $SCRIPTOBJ_25
  3740. $SCRIPTOBJ_15
  3741. $SCRIPTOBJ_16
  3742. $SCRIPTOBJ_11
  3743. $SCRIPTOBJ_14
  3744. $OLEOBJINFO
  3745. $INFO
  3746. $$ScriptName
  3747. $FILE
  3748. EXT61806.lss
  3749. $FILE
  3750. EXT61806.lso
  3751. $FILE
  3752. EXT34422.lss
  3753. $FILE
  3754. EXT34422.lso
  3755. $FILE
  3756. STG08770
  3757. $FILE
  3758. EXT34422
  3759. $WINDOWTITLE
  3760. $ACTIONS
  3761. $V5ACTIONS
  3762. $Script
  3763. $$FormScript
  3764. $BODY
  3765. $$Script_O
  3766. $$$FormScript_O
  3767. $SCRIPTOBJ_0
  3768. $SCRIPTOBJ_1
  3769. $SCRIPTOBJ_3
  3770. $SCRIPTOBJ_8
  3771. $SCRIPTOBJ_10
  3772. $Language
  3773. $LastBuildTime
  3774. $BabelInfo
  3775. EXT34422.lss
  3776. $FILE
  3777. EXT34422.l
  3778. $ACLDigest$Signature$UpdatedBy$Name$TITLE$Flags$PublicAccess$ScriptLib_O$ScriptLib$Language$LastBuildTime$BabelInfo$INFO$$ScriptNamebookmarkfile$FIELDS$BODY$StartUpOptions_O$OpenURL_O$PreferredSearchEngine_O$ScanAheadold_O$Fonts$$Script_O$$$FormScript_O$$Script1_OScanAheadSearchFrequencyUpdatesFoundOptionsSendMailToReduceDaysReduceNumDaysReduceSizeReduceNumMBKeepPageWebServerWebDatabaseSaveHTMLAnchor_stylePlainBodyAddressFixedListing$Script1$WINDOWTITLE$ACTIONS$V5ACTIONS$Script$$FormScript$$StartUpOptions$$OpenURL$$PreferredSearchEngine$$ScanAheadold$$$Script1$DesignVersion$Version$Formula$FormulaClass$Collation$Collection$ViewContainerTitleURLContentCommentsSharedOptionstmpWebServertmpWebDbRating$Babel_TagsForwardOptionsCounter$Hotspot0_OCreatedExpirationPrivacy_flagsOriginal_DateLast_Modified$$XMB_2$$XMB_3$SCRIPTOBJ_21$SCRIPTOBJ_20$SCRIPTOBJ_16$SCRIPTOBJ_17$SCRIPTOBJ_12HTTPStatusTypeHostFileNameSaveOptionsSubject$SCRIPTOBJ_1$SCRIPTOBJ_26$SCRIPTOBJ_18$SCRIPTOBJ_22$SCRIPTOBJ_23$SCRIPTOBJ_24$SCRIPTOBJ_25$SCRIPTOBJ_15$SCRIPTOBJ_11$SCRIPTOBJ_14$OLEOBJINFO$OLEPreviewActivate$SCRIPTOBJ_0$SCRIPTOBJ_3$SCRIPTOBJ_8$SCRIPTOBJ_10$FILE$HTMLDocumentStylesUsernameDomainPathCookieNameExpirationDateCookieValueCookieSecure$SCRIPTOBJ_2$SCRIPTOBJ_4$Index$VIEWFORMAT$SCRIPTOBJ_9$Collation1$Collation2$Collation3$Collation4$Totals$SCRIPTOBJ_6$SCRIPTOBJ_7$ViewGlobalScript_O$ViewScript_O$ViewScript$ViewGlobalScript$ReplFlags(Globals) Andere\Dateiarchiv|File Archi$FormFormula(Globals) Andere\Aufr
  3779. umen|House Cleani$SCRIPTOBJ_19(Globals) (WebBrowserView)|WebBrowserVi$SCRIPTOBJ_13(Globals) Favoriten und Lesezeichen|Boo$AssistType$AssistLastRun$AssistDocCount$AssistFlags$AssistTrigger$AssistInfo$AssistAction_Ex$AssistRunInfo$AssistVersion$AssistAction$AssistQuery$Type$Operation$Scan$LeftToDoURLDoclink$TemplateModTime$TemplateServerName$TemplateFileName$FlagsNoRefreshIconBitmap$DefaultNavigator$DBScript_O$DBScriptFORMIEVersion$Revisionsbookmark$FolderObject$FolderIDTable$FormatNote$Comment
  3780. '++LotusScript Development Environment:2:5:(Options):0:66
  3781. '++LotusScript Development Environment:2:5:(Forward):0:1
  3782. Declare Sub Beforenavigate(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Cancel As Integer)
  3783. Declare Sub Navigatecomplete(Source As Webbrowser, Url As String)
  3784. Declare Sub Framebeforenavigate(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Cancel As Integer)
  3785. Declare Sub Framenavigatecomplete(Source As Webbrowser, Url As String)
  3786. Declare Sub Framenewwindow(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Processed As Integer)
  3787. Declare Sub Downloadbegin(Source As Webbrowser)
  3788. Declare Sub Downloadcomplete(Source As Webbrowser)
  3789. Declare Sub Progresschange(Source As Webbrowser, Progress As Long, Progressmax As Long)
  3790. Declare Sub Titlechange(Source As Webbrowser, Text As String)
  3791. Declare Sub Statustextchange(Source As Webbrowser, Text As String)     
  3792. Declare Sub Initialize
  3793. Declare Sub Newwindow(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Processed As Integer)
  3794. Declare Sub Commandstatechange(Source As Webbrowser, Comman_ As Long, Enable As Integer)
  3795. '++LotusScript Development Environment:2:5:(Declarations):0:10
  3796. Dim WebDatabase As notesdatabase
  3797. Dim datadoc As notesdocument
  3798. Dim Session As notessession
  3799. Dim DocNoteID As notesdocument
  3800. '++LotusScript Development Environment:2:2:BindEvents:1:129
  3801. Private Sub BindEvents(Byval Objectname_ As String)
  3802.     Static Source As WEBBROWSER
  3803.     Set Source = Bind(Objectname_)
  3804.     On Event Beforenavigate From Source Call Beforenavigate
  3805.     On Event Navigatecomplete From Source Call Navigatecomplete
  3806.     On Event Framebeforenavigate From Source Call Framebeforenavigate
  3807.     On Event Framenavigatecomplete From Source Call Framenavigatecomplete
  3808.     On Event Framenewwindow From Source Call Framenewwindow
  3809.     On Event Downloadbegin From Source Call Downloadbegin
  3810.     On Event Downloadcomplete From Source Call Downloadcomplete
  3811.     On Event Progresschange From Source Call Progresschange
  3812.     On Event Titlechange From Source Call Titlechange
  3813.     On Event Statustextchange From Source Call Statustextchange
  3814.     On Event Newwindow From Source Call Newwindow
  3815.     On Event Commandstatechange From Source Call Commandstatechange
  3816. End Sub
  3817. '++LotusScript Development Environment:2:2:Beforenavigate:1:12
  3818. Sub Beforenavigate(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Cancel As Integer)
  3819.       '    A navigation has requested a new window be opened
  3820.      ' we'll take care of everything and tell the caller we opened a new window
  3821.      ' otherwise the IE application starts up in a new window
  3822.     On Error 213 Resume Next
  3823.     If uidoc.inpreviewpane And firstnavigatedone Then
  3824.         If Instr(parseURL(url), "mailto") =0 Then
  3825.             Dim iedoc As New notesdocument(db)
  3826.             Dim newuidoc As NotesUIDocument
  3827.             Call iedoc.replaceitemvalue("Form", "WebBrowserForm")
  3828.             Call iedoc.replaceitemvalue("SaveOptions", "1")
  3829.             Call iedoc.replaceitemvalue("$ShowNavigationBar", "1")
  3830.             Call iedoc.replaceitemvalue("$NavigateToURL", Url)
  3831.             Call ieDoc.save(True,False)
  3832.             Call w.viewrefresh
  3833.             Call w.editdocument(False, iedoc) 
  3834.             Set newuidoc = w.currentdocument        
  3835.             Set browserobject=newuidoc.GetObject("Browser")
  3836.             browserobject.Navigate Url, Flags, Targetframename, Postdata,  Headers 
  3837.             Cancel = True
  3838.         Else
  3839.             browserobject.Navigate Url, Flags, Targetframename, Postdata,  Headers 
  3840.         End If
  3841.     End If       
  3842. End Sub
  3843. '++LotusScript Development Environment:2:2:Navigatecomplete:1:12
  3844. Sub Navigatecomplete(Source As Webbrowser, Url As String)
  3845.     Dim nulldoc As notesdocument
  3846.      'Error 213 is OLEException Error in lserr.lss
  3847.     On Error 213 Goto ErrorRoutine
  3848.     If url <>"" Then
  3849.      ' Set the URL in the Navigation Bar URL field
  3850.         uidoc.NavBarSetText Url
  3851.         If docprofile Is Nothing Then 
  3852.                'This will happen if the user is opening the database for the first time therefore the dbopen script has not been
  3853.                'executed.  Go ahead and retrieve the document because keeppage is on automatically.
  3854.             Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  3855.             Exit Sub
  3856.         End If
  3857.         If docprofile.keeppage(0) = "0" Then
  3858.                 ' Request the URL to be retrieved but don't wait for it to come in
  3859.               ' Print "(DEBUG) - Queue request for: " + url
  3860.             Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  3861.         End If
  3862.     End If
  3863.     Exit Sub
  3864. ErrorRoutine:
  3865.     Print "Error:  Accessing web browser control ErrOLEException("& Err & ")"
  3866.     Resume Next
  3867. End Sub
  3868. '++LotusScript Development Environment:2:2:Framebeforenavigate:1:12
  3869. Sub Framebeforenavigate(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Cancel As Integer)
  3870. End Sub
  3871. '++LotusScript Development Environment:2:2:Framenavigatecomplete:1:12
  3872. Sub Framenavigatecomplete(Source As Webbrowser, Url As String)
  3873. End Sub
  3874. '++LotusScript Development Environment:2:2:Framenewwindow:1:12
  3875. Sub Framenewwindow(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Processed As Integer)
  3876.  '    A navigation has requested a new window be opened
  3877.      ' we'll take care of everything and tell the caller we opened a new window
  3878.      ' otherwise the IE application starts up in a new window
  3879.     Dim iedoc As New notesdocument(db)
  3880.     Dim newuidoc As NotesUIDocument
  3881.     Call iedoc.replaceitemvalue("Form", "WebBrowserForm")
  3882.     Call iedoc.replaceitemvalue("SaveOptions", "1")
  3883.     Call iedoc.replaceitemvalue("$ShowNavigationBar", "1")
  3884.     Call iedoc.replaceitemvalue("$NavigateToURL", Url)
  3885.     Call ieDoc.save(True,False)
  3886.     Call w.viewrefresh
  3887.     Call w.editdocument(False, iedoc) 
  3888.     Set newuidoc = w.currentdocument
  3889.     Set browserobject=newuidoc.GetObject("Browser")
  3890.     browserobject.Navigate Url, Flags, "", Postdata,  Headers 
  3891.     Processed = True
  3892. End Sub
  3893. '++LotusScript Development Environment:2:2:Downloadbegin:1:12
  3894. Sub Downloadbegin(Source As Webbrowser)
  3895.     '   Start Animation...
  3896.     uidoc.Navbarspinnerstart
  3897. End Sub
  3898. '++LotusScript Development Environment:2:2:Downloadcomplete:1:12
  3899. Sub Downloadcomplete(Source As Webbrowser)
  3900.      '   Stop Animation...
  3901.     uidoc.Navbarspinnerstop
  3902. End Sub
  3903. '++LotusScript Development Environment:2:2:Progresschange:1:12
  3904. Sub Progresschange(Source As Webbrowser, Progress As Long, Progressmax As Long)
  3905.     Dim percent As Long
  3906.     If progress = -1 Then
  3907.         Print "   Done"
  3908.     Else  
  3909.         If ProgressMax > 0 Then
  3910.             percent = (Progress * 100) / Progressmax
  3911.             If percent > 0 Then
  3912.                 Print "   " & percent & " %  complete"
  3913.             End If
  3914.         Else
  3915.             If progress >0 Then 
  3916.                 Print "   " & progress & " bytes read"
  3917.             End If 
  3918.         End If
  3919.     End If
  3920. End Sub
  3921. '++LotusScript Development Environment:2:2:Titlechange:1:12
  3922. Sub Titlechange(Source As Webbrowser, Text As String)
  3923.     Dim NavBarURL As String
  3924. '    Ask the browser object for the current URL     
  3925.     NavBarURL = browserobject.LocationURL     
  3926. '    Set the Text in the Nav bar and the window title
  3927.     uidoc.NavBarSetText NavBarURL, Text
  3928. End Sub
  3929. '++LotusScript Development Environment:2:2:Statustextchange:1:12
  3930. Sub Statustextchange(Source As Webbrowser, Text As String)     
  3931.     Print "   " & Text 
  3932. End Sub
  3933. '++LotusScript Development Environment:2:2:Initialize:1:10
  3934. Sub Initialize
  3935.      '*
  3936.      '*  Initialize  Variables and declare local variables
  3937.      '*
  3938.     Dim InterNetProfile As Notesdocument
  3939.     Dim ProfileView As notesview
  3940.     Dim URL As Variant
  3941.     Set Session = New NotesSession
  3942.     Set WebDatabase = Session.CurrentDatabase
  3943. End Sub
  3944. '++LotusScript Development Environment:2:2:Newwindow:1:12
  3945. Sub Newwindow(Source As Webbrowser, Url As String, Flags As Long, Targetframename As String, Postdata As Variant, Headers As String, Processed As Integer)
  3946.          '
  3947.  '    A navigation has requested a new window be opened
  3948.      ' we'll take care of everything and tell the caller we opened a new window
  3949.      ' otherwise the IE application starts up in a new window
  3950.   '   InstantiateWebBrowserFormObjects
  3951.     Dim iedoc As New notesdocument(db)
  3952.     Dim newuidoc As NotesUIDocument
  3953.     'Print "Got New Window request..."
  3954.     Call iedoc.replaceitemvalue("Form", "WebBrowserForm")
  3955.     Call iedoc.replaceitemvalue("SaveOptions", "1")
  3956.     Call iedoc.replaceitemvalue("$ShowNavigationBar", "1")
  3957.     Call iedoc.replaceitemvalue("$NavigateToURL", Url)
  3958.     Call ieDoc.save(True,False)
  3959.     Call w.viewrefresh
  3960.     Call w.editdocument(False, iedoc) 
  3961.     Set newuidoc = w.currentdocument
  3962.     Set browserobject=newuidoc.GetObject("Browser")
  3963.     browserobject.Navigate Url, Flags, "", Postdata,  Headers 
  3964.     Processed=True
  3965. End Sub
  3966. '++LotusScript Development Environment:2:2:Commandstatechange:1:12
  3967. Sub Commandstatechange(Source As Webbrowser, Comman_ As Long, Enable As Integer)
  3968.     uidoc.NavBarSetPrevNextState Comman_, Enable
  3969. End Sub
  3970. Lotus Product
  3971. V0.0D
  3972.     4    $    $    
  3973. d    d    D    T    
  3974. T    T    `
  3975. Kt    ,8
  3976. ]4    ]D    '
  3977. Internet-OptionenAdmin0
  3978. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  3979. Favoriten und Lesezeichen|Bogkmark
  3980. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  3981. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus&
  3982. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotuspA
  3983. EOu#B 
  3984. (Internet Profile)|Internet Profiles0
  3985. Favoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  3986. Internet-OptionenAdmin0
  3987. WeiterleitenForward
  3988. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3989. URLDoclink
  3990. CN=Winnie Liang/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3991. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3992. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3993. CN=Tgresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3994. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3995. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Develowment/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3996. J7)e`|qT
  3997. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  3998. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB'O=Lotus&
  3999. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotuspA
  4000. ShareWebPageShareWebPage
  4001. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGalg/OU=DUB/O=Lotus
  4002. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4003. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4004. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4005. CookieCookie
  4006. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4007. CN=Margna Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4008. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4009. (Internet Profile)|Internet Profiles
  4010. Lotus NotesCN=Lotus Notes Template Dgvelopment/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4011. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4012. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/GU=DUB/O=Lotus
  4013. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4014. EOu#B 
  4015. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4016. Lotus Product
  4017. OBJECT
  4018. Lotus Product
  4019. OBJECT
  4020. WebBrowser4Form
  4021. Notes Web-Browsing mit IE 4
  4022.     0S0E
  4023. Seite behalten'++LotusScript Development Environment:2:5:(Options):0:66
  4024. '++LotusScript Development Environment:2:5:(Forward):0:1
  4025. Declare Sub Click(Source As Button)
  4026. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4027. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4028. Private Sub BindEvents(Byval Objectname_ As String)
  4029.      Static Source As BUTTON
  4030.      Set Source = Bind(Objectname_)
  4031.      On Event Click From Source Call Click
  4032. End Sub
  4033. '++LotusScript Development Environment:2:2:Click:1:12
  4034. Sub Click(Source As Button)
  4035.      
  4036.      On Error Resume Next
  4037.      InstantiateWebBrowserFormObjects
  4038.      Dim nulldoc As notesdocument
  4039.      Dim url As String
  4040.      url = browserobject.locationURL
  4041.      If  url <>"" Then
  4042.           ' Request the URL to be retrieved but don't wait for it to come in
  4043.           Print "(DEBUG) - Queue request for: " + url
  4044.           Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  4045.      End If
  4046.      uidoc.refreshhideformulas
  4047. End Sub
  4048. (Internet Profile)
  4049. Internet Options
  4050. keeppage
  4051.     0S0E
  4052. Weiterleiten...X'++LotusScript Development Environment:2:5:(Options):0:66
  4053. '++LotusScript Development Environment:2:5:(Forward):0:1
  4054. Declare Sub Click(Source As Button)
  4055. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4056. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4057. Private Sub BindEvents(Byval Objectname_ As String)
  4058.      Static Source As BUTTON
  4059.      Set Source = Bind(Objectname_)
  4060.      On Event Click From Source Call Click
  4061. End Sub
  4062. '++LotusScript Development Environment:2:2:Click:1:12
  4063. Sub Click(Source As Button)
  4064.      
  4065.      InstantiateWebBrowserFormObjects
  4066.      Call IEForwardNote(doc,Browserobject)
  4067. End Sub
  4068. schenX'++LotusScript Development Environment:2:5:(Options):0:66
  4069. '++LotusScript Development Environment:2:5:(Forward):0:1
  4070. Declare Sub Click(Source As Button)
  4071. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4072. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4073. Private Sub BindEvents(Byval Objectname_ As String)
  4074.      Static Source As BUTTON
  4075.      Set Source = Bind(Objectname_)
  4076.      On Event Click From Source Call Click
  4077. End Sub
  4078. '++LotusScript Development Environment:2:2:Click:1:12
  4079. Sub Click(Source As Button)
  4080.      
  4081.      InstantiateWebBrowserFormObjects
  4082.      Dim webdoc As notesdocument
  4083.      Dim noteid As String
  4084.      noteid = ""
  4085.      
  4086.      Response = Msgbox ("Hiermit wird die ausgew
  4087. hlte Seite in der Datenbank endg
  4088. ltig gel
  4089. scht. M
  4090. chten Sie fortfahren?", 20, "Dokument l
  4091. schen")
  4092.      If Response = 6 Then    
  4093.           uidoc.close
  4094.           Set webdoc=db.getdocumentbyurl(doc.url(0))
  4095.           Call RemoveObjects(webdoc)
  4096.          ' webdoc.Remove True
  4097.           
  4098.           If doc.isuidocopen Then
  4099.                noteid = doc.noteid             
  4100.                Delete doc
  4101.                Set doc = db.getdocumentbyid (noteid) 
  4102.                doc.remove True
  4103.                w.viewrefresh  
  4104.                w.viewrefresh
  4105.           Else
  4106.                doc.Remove True 
  4107.           End If
  4108.           
  4109.           w.viewrefresh
  4110.           
  4111.           
  4112.           
  4113.      End If
  4114.      
  4115. End Sub
  4116. $ControlURLNavigateX'++LotusScript Development Environment:2:5:(Options):0:66
  4117. '++LotusScript Development Environment:2:5:(Forward):0:1
  4118. Declare Sub Click(Source As Button)
  4119. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4120. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4121. Private Sub BindEvents(Byval Objectname_ As String)
  4122.      Static Source As BUTTON
  4123.      Set Source = Bind(Objectname_)
  4124.      On Event Click From Source Call Click
  4125. End Sub
  4126. '++LotusScript Development Environment:2:2:Click:1:12
  4127. Sub Click(Source As Button)
  4128.      
  4129.      InstantiateWebBrowserFormObjects
  4130.      Dim URL As Variant
  4131.      Dim Reload As Variant
  4132.      Dim Flags As Integer
  4133.      Dim TmpUrl As String
  4134.      
  4135.      URL = doc.GetitemValue("$NavigateToURL")
  4136.      Reload = doc.GetItemValue("$ReloadRefresh")
  4137.      Flags =Val (Reload(0))
  4138.      On Error 213  Resume Next
  4139.      
  4140.      TmpUrl=browserobject.LocationURL
  4141.      
  4142.      If Flags = 1 Then
  4143.           Flags = 4
  4144.      End If
  4145.      
  4146.      
  4147.      If URL(0) <> "" Then
  4148.           If URL(0) = TmpUrl Then
  4149.               ' Print "Refreshing " + Url(0)
  4150.                browserobject.Refresh     
  4151.           Else
  4152.              '  Print "Attempting " + URL(0) + " Flags = "+ Str(Flags)
  4153.                browserobject.Navigate2 (URL(0)), (Flags)
  4154.                
  4155.           ' Once navigation is done delete the item form the form
  4156.                doc.REMOVEITEM("$NavigateToURL")
  4157.                doc.RemoveItem("$ReloadRefresh")
  4158.                Call doc.Save( True, False )
  4159.           End If
  4160.      Else
  4161.           Messagebox "Keine URL angegeben.", 0, "ErrorNavigating"
  4162.      End If     
  4163. End Sub
  4164. Eigenschaften: Internet...'++LotusScript Development Environment:2:5:(Options):0:66
  4165. '++LotusScript Development Environment:2:5:(Forward):0:1
  4166. Declare Sub Click(Source As Button)
  4167. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4168. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4169. Private Sub BindEvents(Byval Objectname_ As String)
  4170.      Static Source As BUTTON
  4171.      Set Source = Bind(Objectname_)
  4172.      On Event Click From Source Call Click
  4173. End Sub
  4174. '++LotusScript Development Environment:2:2:Click:1:12
  4175. Sub Click(Source As Button)
  4176.      
  4177.      Dim iret As Integer
  4178.      iret=Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl", 1)
  4179. End Sub
  4180.     0S0E
  4181. Dokument _senden
  4182. _KategorisierenX
  4183. _WeiterleitenX
  4184. In Ordner _verschieben...X    
  4185. Aus Ordner _entfernenX
  4186. Dokument _bearbeiten
  4187. Seite behalten'++LotusScript Development Environment:2:5:(Options):0:66
  4188. '++LotusScript Development Environment:2:5:(Forward):0:1
  4189. Declare Sub Click(Source As Button)
  4190. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4191. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4192. Private Sub BindEvents(Byval Objectname_ As String)
  4193.      Static Source As BUTTON
  4194.      Set Source = Bind(Objectname_)
  4195.      On Event Click From Source Call Click
  4196. End Sub
  4197. '++LotusScript Development Environment:2:2:Click:1:12
  4198. Sub Click(Source As Button)
  4199.      
  4200.      On Error Resume Next
  4201.      InstantiateWebBrowserFormObjects
  4202.      Dim nulldoc As notesdocument
  4203.      Dim url As String
  4204.      url = browserobject.locationURL
  4205.      If  url <>"" Then
  4206.           ' Request the URL to be retrieved but don't wait for it to come in
  4207.           Print "(DEBUG) - Queue request for: " + url
  4208.           Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  4209.      End If
  4210.      uidoc.refreshhideformulas
  4211. End Sub
  4212. (Internet Profile)
  4213. Internet Options
  4214. keeppage
  4215.     0S0E
  4216. Weiterleiten...X'++LotusScript Development Environment:2:5:(Options):0:66
  4217. '++LotusScript Development Environment:2:5:(Forward):0:1
  4218. Declare Sub Click(Source As Button)
  4219. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4220. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4221. Private Sub BindEvents(Byval Objectname_ As String)
  4222.      Static Source As BUTTON
  4223.      Set Source = Bind(Objectname_)
  4224.      On Event Click From Source Call Click
  4225. End Sub
  4226. '++LotusScript Development Environment:2:2:Click:1:12
  4227. Sub Click(Source As Button)
  4228.      
  4229.      InstantiateWebBrowserFormObjects
  4230.      Call IEForwardNote(doc,Browserobject)
  4231. End Sub
  4232. schenX'++LotusScript Development Environment:2:5:(Options):0:66
  4233. '++LotusScript Development Environment:2:5:(Forward):0:1
  4234. Declare Sub Click(Source As Button)
  4235. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4236. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4237. Private Sub BindEvents(Byval Objectname_ As String)
  4238.      Static Source As BUTTON
  4239.      Set Source = Bind(Objectname_)
  4240.      On Event Click From Source Call Click
  4241. End Sub
  4242. '++LotusScript Development Environment:2:2:Click:1:12
  4243. Sub Click(Source As Button)
  4244.      
  4245.      InstantiateWebBrowserFormObjects
  4246.      Dim webdoc As notesdocument
  4247.      Dim noteid As String
  4248.      noteid = ""
  4249.      
  4250.      Response = Msgbox ("Hiermit wird die ausgew
  4251. hlte Seite in der Datenbank endg
  4252. ltig gel
  4253. scht. M
  4254. chten Sie fortfahren?", 20, "Dokument l
  4255. schen")
  4256.      If Response = 6 Then    
  4257.           uidoc.close
  4258.           Set webdoc=db.getdocumentbyurl(doc.url(0))
  4259.           Call RemoveObjects(webdoc)
  4260.          ' webdoc.Remove True
  4261.           
  4262.           If doc.isuidocopen Then
  4263.                noteid = doc.noteid             
  4264.                Delete doc
  4265.                Set doc = db.getdocumentbyid (noteid) 
  4266.                doc.remove True
  4267.                w.viewrefresh  
  4268.                w.viewrefresh
  4269.           Else
  4270.                doc.Remove True 
  4271.           End If
  4272.           
  4273.           w.viewrefresh
  4274.           
  4275.           
  4276.           
  4277.      End If
  4278.      
  4279. End Sub
  4280. $ControlURLNavigateX'++LotusScript Development Environment:2:5:(Options):0:66
  4281. '++LotusScript Development Environment:2:5:(Forward):0:1
  4282. Declare Sub Click(Source As Button)
  4283. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4284. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4285. Private Sub BindEvents(Byval Objectname_ As String)
  4286.      Static Source As BUTTON
  4287.      Set Source = Bind(Objectname_)
  4288.      On Event Click From Source Call Click
  4289. End Sub
  4290. '++LotusScript Development Environment:2:2:Click:1:12
  4291. Sub Click(Source As Button)
  4292.      
  4293.      InstantiateWebBrowserFormObjects
  4294.      Dim URL As Variant
  4295.      Dim Reload As Variant
  4296.      Dim Flags As Integer
  4297.      Dim TmpUrl As String
  4298.      
  4299.      URL = doc.GetitemValue("$NavigateToURL")
  4300.      Reload = doc.GetItemValue("$ReloadRefresh")
  4301.      Flags =Val (Reload(0))
  4302.      On Error 213  Resume Next
  4303.      
  4304.      TmpUrl=browserobject.LocationURL
  4305.      
  4306.      If Flags = 1 Then
  4307.           Flags = 4
  4308.      End If
  4309.      
  4310.      
  4311.      If URL(0) <> "" Then
  4312.           If URL(0) = TmpUrl Then
  4313.               ' Print "Refreshing " + Url(0)
  4314.                browserobject.Refresh     
  4315.           Else
  4316.              '  Print "Attempting " + URL(0) + " Flags = "+ Str(Flags)
  4317.                browserobject.Navigate2 (URL(0)), (Flags)
  4318.                
  4319.           ' Once navigation is done delete the item form the form
  4320.                doc.REMOVEITEM("$NavigateToURL")
  4321.                doc.RemoveItem("$ReloadRefresh")
  4322.                Call doc.Save( True, False )
  4323.           End If
  4324.      Else
  4325.           Messagebox "Keine URL angegeben.", 0, "ErrorNavigating"
  4326.      End If     
  4327. End Sub
  4328. Eigenschaften: Internet...'++LotusScript Development Environment:2:5:(Options):0:66
  4329. '++LotusScript Development Environment:2:5:(Forward):0:1
  4330. Declare Sub Click(Source As Button)
  4331. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4332. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4333. Private Sub BindEvents(Byval Objectname_ As String)
  4334.      Static Source As BUTTON
  4335.      Set Source = Bind(Objectname_)
  4336.      On Event Click From Source Call Click
  4337. End Sub
  4338. '++LotusScript Development Environment:2:2:Click:1:12
  4339. Sub Click(Source As Button)
  4340.      
  4341.      Dim iret As Integer
  4342.      iret=Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl", 1)
  4343. End Sub
  4344.     0S0E
  4345. Dokument _senden
  4346. _KategorisierenX
  4347. _WeiterleitenX
  4348. In Ordner _verschieben...X    
  4349. Aus Ordner _entfernenX
  4350. Dokument _bearbeiten
  4351. '++LotusScript Development Environment:2:5:(Options):0:74
  4352. Option Public
  4353. Use "InternetFunctions"
  4354. '++LotusScript Development Environment:2:5:(Forward):0:1
  4355. Declare Sub InstantiateWebBrowserFormObjects
  4356. '++LotusScript Development Environment:2:5:(Declarations):0:10
  4357. 'Global Form Variables
  4358. Dim uidoc As notesuidocument
  4359. Dim doc As notesdocument
  4360. Dim browserobject As Variant
  4361. '++LotusScript Development Environment:2:2:InstantiateWebBrowserFormObjects:1:8
  4362. Sub InstantiateWebBrowserFormObjects
  4363.     InstantiateObjects
  4364. End Sub
  4365. '++LotusScript Development Environment:2:5:(Options):0:66
  4366. '++LotusScript Development Environment:2:5:(Forward):0:1
  4367. Declare Sub Postopen(Source As Notesuidocument)
  4368. Declare Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  4369. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4370. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4371. Private Sub BindEvents(Byval Objectname_ As String)
  4372.     Static Source As NOTESUIDOCUMENT
  4373.     Set Source = Bind(Objectname_)
  4374.     On Event Postopen From Source Call Postopen
  4375.     On Event Queryclose From Source Call Queryclose
  4376. End Sub
  4377. '++LotusScript Development Environment:2:2:Postopen:1:12
  4378. Sub Postopen(Source As Notesuidocument)
  4379.     InstantiateWebBrowserFormObjects
  4380.     Set uidoc = source 
  4381.     Set doc = uidoc.Document     
  4382.     Set browserobject=uidoc.GetObject("Browser")
  4383.     If docprofile Is Nothing Then
  4384.         Set docprofile = New NotesDocument(db)
  4385.         docprofile.Form = "Admin"
  4386.         docprofile.StartUpOptions = "1"
  4387.         docprofile.OpenURL = "http://notes.net/welcome.nsf"
  4388.         docprofile.PreferredSearchEngine = "4"
  4389.         docprofile.SearchURL="http://www.search.com/"
  4390.         docprofile.ScanAhead = "1"
  4391.         docprofile.SearchFrequency = "2"
  4392.         docprofile.UpdatesFoundOptions = "1"
  4393.         docprofile.SendMailTo = session.UserName
  4394.         docprofile.ReduceDays = "2"
  4395.         docprofile.KeepPage = "0"
  4396.         docprofile.Save True, True
  4397.     End If
  4398.     uidoc.refreshhideformulas
  4399.            ' Make sure there is a URL field and it's not empty before we try to
  4400.           ' navigate there
  4401.     If doc.hasitem("URL")   And doc.URL(0) <> "" Then
  4402.               ' Print "Postopen Navigating to " + doc.URL(0)
  4403.         browserobject.navigate2 (doc.url(0))
  4404.         If source.inpreviewpane Then
  4405.             firstnavigatedone = True
  4406.         End If
  4407.     End If    
  4408. End Sub
  4409. '++LotusScript Development Environment:2:2:Queryclose:1:12
  4410. Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  4411.     FirstNavigateDone = False
  4412. End Sub
  4413. EXT11761Shell.Explorer.2
  4414. $OLEPreviewActivateX
  4415. SaveOptionsX
  4416. Lotus Product
  4417. Lotus Product
  4418. Lotus Product
  4419. Lotus Product
  4420. Lotus Product
  4421. Lotus Product
  4422. Lotus Product
  4423. O=Lotus Notes
  4424. O=Lotus Notes
  4425. PURSAFO
  4426. |.:#U
  4427. O=Lotus Notes
  4428. CN=Lotus Notes Template Development/O=Lotus Notes
  4429. PURSAFO
  4430. R}O{!5
  4431. $SCRIPTOBJ_11
  4432. $SCRIPTOBJ_12
  4433. $OLEOBJINFO
  4434. $INFO
  4435. $$ScriptName
  4436. $FILE
  4437. STG47955
  4438. $FILE
  4439. EXT11761
  4440. $FILE
  4441. EXT11761.lss
  4442. $FILE
  4443. EXT11761.lso
  4444. $WINDOWTITLE
  4445. $ACTIONS
  4446. $V5ACTIONS
  4447. $Script
  4448. $$FormScript
  4449. $BODY
  4450. $$Script_O
  4451. $$$FormScript_O
  4452. $SCRIPTOBJ_0
  4453. $SCRIPTOBJ_1
  4454. $SCRIPTOBJ_2
  4455. $SCRIPTOBJ_3
  4456. $SCRIPTOBJ_4
  4457. $Language
  4458. $LastBuildTime
  4459. $BabelInfo
  4460. STG47955
  4461. $FILE
  4462. O=Lotus Notes
  4463. O=Lotus Notes
  4464. PURSAFO
  4465. |.:#U
  4466. O=Lotus Notes
  4467. CN=Lotus Notes Template Development/O=Lotus Notes
  4468. PURSAFO
  4469. $INFO
  4470. $BODY
  4471. $Language
  4472. $LastBuildTime
  4473. $BabelInfo
  4474. RSAFO
  4475. (Unbenannt)X
  4476. Zu Lesezeichen reduzierenXp
  4477. title
  4478. Favorites
  4479.     0S0E
  4480. (RemoveObjects)
  4481. (Unbenannt)X
  4482. Zu Lesezeichen reduzierenXp
  4483. title
  4484. Favorites
  4485.     0S0E
  4486. (RemoveObjects)
  4487. O=Lotus Notes
  4488. O=Lotus Notes
  4489. PURSAFO
  4490. |.:#U
  4491. O=Lotus Notes
  4492. CN=Lotus Notes Template Development/O=Lotus Notes
  4493. PURSAFO
  4494. $INFO
  4495. $ACTIONS
  4496. $V5ACTIONS
  4497. $BODY
  4498. $Language
  4499. $LastBuildTime
  4500. $BabelInfo
  4501. '++LotusScript Development Environment:2:5:(Options):0:66
  4502. '++LotusScript Development Environment:2:5:(Forward):0:1
  4503. Declare Sub Initialize
  4504. Declare Sub Beforenavigate2(Source As Webbrowser, Pdisp As Variant, Url As Variant, Flags As Variant, Targetframename As Variant, Postdata As Variant, Headers As Variant, Cancel As Integer)
  4505. Declare Sub Statustextchange(Source As Webbrowser, Text As String)
  4506. Declare Sub Progresschange(Source As Webbrowser, Progress As Long, Progressmax As Long)
  4507. Declare Sub Downloadbegin(Source As Webbrowser)
  4508. Declare Sub Downloadcomplete(Source As Webbrowser)
  4509. Declare Sub Titlechange(Source As Webbrowser, Text As String)
  4510. Declare Sub Navigatecomplete2(Source As Webbrowser, Pdisp As Variant, Url As Variant)
  4511. Declare Sub Newwindow2(Source As Webbrowser, Ppdisp As Variant, Cancel As Integer)
  4512. Declare Sub Commandstatechange(Source As Webbrowser, Comman_ As Long, Enable As Integer)
  4513. '++LotusScript Development Environment:2:5:(Declarations):0:10
  4514. Dim WebDatabase As notesdatabase
  4515. Dim datadoc As notesdocument
  4516. Dim Session As notessession
  4517. Dim DocNoteID As notesdocument
  4518. '++LotusScript Development Environment:2:2:BindEvents:1:129
  4519. Private Sub BindEvents(Byval Objectname_ As String)
  4520.     Static Source As WEBBROWSER
  4521.     Set Source = Bind(Objectname_)
  4522.     On Event Beforenavigate2 From Source Call Beforenavigate2
  4523.     On Event Statustextchange From Source Call Statustextchange
  4524.     On Event Progresschange From Source Call Progresschange
  4525.     On Event Downloadbegin From Source Call Downloadbegin
  4526.     On Event Downloadcomplete From Source Call Downloadcomplete
  4527.     On Event Titlechange From Source Call Titlechange
  4528.     On Event Navigatecomplete2 From Source Call Navigatecomplete2
  4529.     On Event Newwindow2 From Source Call Newwindow2
  4530.     On Event Commandstatechange From Source Call Commandstatechange
  4531. End Sub
  4532. '++LotusScript Development Environment:2:2:Initialize:1:10
  4533. Sub Initialize
  4534.      '*
  4535.      '*  Initialize  Variables and declare local variables
  4536.      '*
  4537.     Dim InterNetProfile As Notesdocument
  4538.     Dim ProfileView As notesview
  4539.     Dim URL As Variant
  4540.     Set Session = New NotesSession
  4541.     Set WebDatabase = Session.CurrentDatabase
  4542. End Sub
  4543. '++LotusScript Development Environment:2:2:Beforenavigate2:1:12
  4544. Sub Beforenavigate2(Source As Webbrowser, Pdisp As Variant, Url As Variant, Flags As Variant, Targetframename As Variant, Postdata As Variant, Headers As Variant, Cancel As Integer)
  4545.         '    A navigation has requested a new window be opened
  4546.      ' we'll take care of everything and tell the caller we opened a new window
  4547.      ' otherwise the IE application starts up in a new window
  4548.     On Error 213 Resume Next
  4549.     If uidoc.inpreviewpane And firstnavigatedone Then
  4550.         If Instr(parseURL(url(0)), "mailto") =0 Then
  4551.             Dim iedoc As New notesdocument(db)
  4552.             Dim newuidoc As NotesUIDocument
  4553.             Call iedoc.replaceitemvalue("Form", "WebBrowser4Form")
  4554.             Call iedoc.replaceitemvalue("SaveOptions", "1")
  4555.             Call iedoc.replaceitemvalue("$ShowNavigationBar", "1")
  4556.             Call iedoc.replaceitemvalue("$NavigateToURL", Url)
  4557.             Call ieDoc.save(True,False)
  4558.             Call w.viewrefresh
  4559.             Call w.editdocument(False, iedoc) 
  4560.             Set newuidoc = w.currentdocument        
  4561.             Set browserobject=newuidoc.GetObject("Browser")
  4562.             browserobject.Navigate2 (Url), (Flags), (Targetframename), (Postdata), (Headers) 
  4563.             Cancel = True
  4564.         Else
  4565.             browserobject.Navigate2 (Url), (Flags), (Targetframename), (Postdata), (Headers)
  4566.         End If
  4567.     End If       
  4568. End Sub
  4569. '++LotusScript Development Environment:2:2:Statustextchange:1:12
  4570. Sub Statustextchange(Source As Webbrowser, Text As String)
  4571.     Print "   " & Text 
  4572. End Sub
  4573. '++LotusScript Development Environment:2:2:Progresschange:1:12
  4574. Sub Progresschange(Source As Webbrowser, Progress As Long, Progressmax As Long)
  4575.     Dim percent As Long
  4576.     If progress = -1 Then
  4577.         Print "   Done"
  4578.     Else  
  4579.         If ProgressMax > 0 Then
  4580.             percent = (Progress * 100) / Progressmax
  4581.             If percent > 0 Then
  4582.                 Print "   " & percent & " %  complete"
  4583.             End If
  4584.         Else
  4585.             If progress >0 Then 
  4586.                 Print "   " & progress & " bytes read"
  4587.             End If 
  4588.         End If
  4589.     End If
  4590. End Sub
  4591. '++LotusScript Development Environment:2:2:Downloadbegin:1:12
  4592. Sub Downloadbegin(Source As Webbrowser)
  4593.       '   Start Animation...
  4594.     uidoc.Navbarspinnerstart
  4595. End Sub
  4596. '++LotusScript Development Environment:2:2:Downloadcomplete:1:12
  4597. Sub Downloadcomplete(Source As Webbrowser)
  4598.        '   Stop Animation...
  4599.     uidoc.Navbarspinnerstop
  4600. End Sub
  4601. '++LotusScript Development Environment:2:2:Titlechange:1:12
  4602. Sub Titlechange(Source As Webbrowser, Text As String)
  4603.     Dim NavBarURL As String
  4604. '    Ask the browser object for the current URL     
  4605.     NavBarURL = browserobject.LocationURL     
  4606. '    Set the Text in the Nav bar and the window title
  4607.     uidoc.NavBarSetText NavBarURL, Text
  4608. End Sub
  4609. '++LotusScript Development Environment:2:2:Navigatecomplete2:1:12
  4610. Sub Navigatecomplete2(Source As Webbrowser, Pdisp As Variant, Url As Variant)
  4611.     Dim nulldoc As notesdocument
  4612.      'Error 213 is OLEException Error in lserr.lss
  4613.     On Error 213 Goto ErrorRoutine
  4614.     If (browserobject.LocationURL  = Url) Then    '  Moved out of the Url check below and it must match our container URL
  4615.         uidoc.NavBarSetText Url
  4616.     End If
  4617.     If url <>"" Then
  4618.      ' Set the URL in the Navigation Bar URL field
  4619.         If docprofile Is Nothing Then 
  4620.                'This will happen if the user is opening the database for the first time therefore the dbopen script has not been
  4621.                'executed.  Go ahead and retrieve the document because keeppage is on automatically.
  4622.             Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  4623.             Exit Sub
  4624.         End If
  4625.         If docprofile.keeppage(0) = "0" Then
  4626.                 ' Request the URL to be retrieved but don't wait for it to come in
  4627.               ' Print "(DEBUG) - Queue request for: " + url
  4628.             Set   nulldoc = db.getdocumentbyurl (url, True, False, Empty$, Empty$, Empty$, Empty$,Empty$, True)
  4629.         End If
  4630.     End If
  4631.     Exit Sub
  4632. ErrorRoutine:
  4633.     Print "Error:  Accessing web browser control ErrOLEException("& Err & ")"
  4634.     Resume Next
  4635. End Sub
  4636. '++LotusScript Development Environment:2:2:Newwindow2:1:12
  4637. Sub Newwindow2(Source As Webbrowser, Ppdisp As Variant, Cancel As Integer)
  4638. End Sub
  4639. '++LotusScript Development Environment:2:2:Commandstatechange:1:12
  4640. Sub Commandstatechange(Source As Webbrowser, Comman_ As Long, Enable As Integer)
  4641.     uidoc.NavBarSetPrevNextState Comman_, Enable
  4642. End Sub
  4643. Lotus Product
  4644. de-DE
  4645. 000001A6Alle Seiten|($All)|Main
  4646. CN=Shaun McGale/OU=DUB/O=Lotus
  4647. www.G
  4648. www.`
  4649.     15S18S36S39S
  4650. $44Title$36$Conflict
  4651. HTMLForm
  4652. $Title
  4653. HTMLFormDoc
  4654. Guided Tour
  4655. DeferredObject
  4656. Title
  4657. BLANK.HTM
  4658. bookmark
  4659.     L1S21S
  4660. www.G
  4661. www.`
  4662.     15S18S36S39S
  4663. ?TitleSeitentitel$36Datum
  4664. IEVersion
  4665. IEVersionMinor|
  4666.     1S2S
  4667. Admin
  4668. Admin
  4669. forward
  4670. HTMLForm
  4671. IEVersion
  4672. Admin
  4673. Admin
  4674. forward
  4675. HTMLForm
  4676. WebBrowserForm
  4677. IEVersion
  4678. Admin
  4679. Admin
  4680. forward
  4681. HTMLForm
  4682. WebBrowser4Form
  4683.     0R9RT12S13S23RTT29RTTT32S33S46RTT50RTTT53S54S66RTT69RT70R
  4684. 000001A6
  4685. 6S39S
  4686. de-DE
  4687. 00000132
  4688. WeiterleitenForwardCDForwardOptions
  4689. CN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes#######################################################
  4690. RatingtmpWebDbtmpWebServerSharedOptionsCommentscontentURLTitle
  4691. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  4692. ShareWebPageShareWebPagede-DES
  4693. 00000122
  4694. ##########################################################
  4695. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes$ACTIONSde-DE
  4696. 00000302######################################################
  4697. ##########################################################
  4698. de-DE
  4699. 0000019A(Internet Profile)|Internet Profiles
  4700. CN=Shaun McGale/OU=DUB/O=LotusB
  4701. $Conflict
  4702. Admin
  4703.     L1S2S3S1
  4704. Internet Options
  4705. Internet Options&
  4706. ################################
  4707. de-DE
  4708. 000001AEAndere\Cookies|Cookies
  4709. CN=Shaun McGale/OU=DUB/O=Lotus
  4710. Username
  4711. Username
  4712. Domain
  4713. Domain
  4714. CookieName
  4715. CookieName
  4716. ExpirationDate
  4717. ExpirationDate
  4718. UsernameDomainPathCookieNameExpirationDate$Conflict
  4719. Cookie
  4720.     L1S1>
  4721. UsernameDomainPathCookieName
  4722. Domain
  4723. UsernameNotes User
  4724. Username
  4725. Username
  4726. DomainDom
  4727. Domain
  4728. Domain
  4729. PathPfad
  4730. CookieNameName des Cookies"
  4731. CookieName
  4732. CookieName
  4733. ExpirationDateAblaufdatum*
  4734. ExpirationDate
  4735. ExpirationDate
  4736. ################################
  4737. ##########################################################
  4738. ##########################################################
  4739. ##########################################################
  4740. ##########################################################
  4741. ##########################################################
  4742. de-DE1
  4743. 000001B2Favoriten und Lesezeichen|Bookmarks|Favorites|BookmarksFavoriten und Lesezeichen|Bookmarks|Favorites|Bookmarks
  4744. CN=Shaun McGale/OU=DUB/O=Lotus
  4745. Bookmark
  4746.     6S8S
  4747. $37Title$36URL$Conflict
  4748.     L1S1
  4749. Title
  4750. Title
  4751. Bookmark
  4752.     6S8S
  4753. TitleSeitentitel$36Datum
  4754. URLURL&
  4755. IEVersion
  4756. IEVersionMinor|
  4757.     1S2S
  4758. Admin
  4759. Admin
  4760. forward
  4761. HTMLForm
  4762. IEVersion
  4763. Admin
  4764. Admin
  4765. forward
  4766. HTMLForm
  4767. WebBrowserForm
  4768. IEVersion
  4769. Admin
  4770. Admin
  4771. forward
  4772. HTMLForm
  4773. WebBrowser4Form
  4774.     0R9RT12S13S23RTT29RTTT32S33S46RTT50RTTT53S54S66RTT69RT70R3FYd
  4775. 05C0A80
  4776. EXT34422Browser$BodyC
  4777. $OLEPreviewActivateSaveOptions
  4778. CN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  4779. EXT61806.lssKJ
  4780. EXT61806.lso
  4781. EXT34422.lss
  4782. EXT34422.lso
  4783. STG08770*
  4784. EXT34422
  4785. WebBrowserFormde-DE
  4786. 0000014E
  4787. ##########################################################
  4788. CN=Ryan Jansen/O=IrisCN=Barbara Mathers/O=IrisCN=Ryan Jansen/O=IrisCN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesLotus NotesCN=Teresa Deane/O=IrisLotus NotesCN=Lotus Notes Template Development/O=Lotus NotesCN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesDatabase Scriptt34Q1de-DE
  4789. 000002FE#####################################
  4790. ##########################################################
  4791. ##########################################################
  4792. ##########################################################
  4793. ##########################################################
  4794. ##########################################################
  4795. ##########################################################
  4796. ##########################################################
  4797. ##########################################################
  4798. ##########################################################
  4799. ##########################################################
  4800. ##########################################################
  4801. ##########################################################
  4802. ##########################################################
  4803. ##########################################################
  4804. ##########################################################
  4805. ##########################################################
  4806. ##########################################################
  4807. CN=Teresa Deane/O=IrisCN=Lotus Notes Template Development/O=Lotus NotesCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=LotusCN=Lotus Notes Template Development/O=Lotus NotesInternet-Optionen...de-DE
  4808. 000001DA
  4809. ###########
  4810. ##########################################################
  4811. ##########################################################
  4812. ##########################################################
  4813. ##########################################################
  4814. ##########################################################
  4815. ##########################################################
  4816. ##########################################################
  4817. ##########################################################
  4818. ##########################################################
  4819. ##########################################################
  4820. ##########################################################
  4821. ##########################################################
  4822. ##########################################################
  4823. ##########################################################
  4824. ##########################################################
  4825. ##########################################################
  4826. ##########################################################
  4827. ##########################################################
  4828. ##########################################################
  4829. ##########################################################
  4830. ##########################################################
  4831. CN=Teresa Deane/O=Irisc:\notes\data\perweb46.ntfRin
  4832. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus(Home)Pers
  4833. nlicher Web Navigator (V5)
  4834. #1StdR50PersonalWebNavigatorde-DE
  4835. 000002F2#####
  4836. ##########################################################
  4837. ##########################################################
  4838. ##########################################################
  4839. ##########################################################
  4840. ##########################################################
  4841. http://www.lotus.com/Lotus Development Corporation1de-DEt
  4842. 00000206
  4843. CN=Teresa Deane/O=IrisCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  4844. ##########################################################
  4845. ##########################################################
  4846. ##########################################################
  4847. ##########################################################
  4848. ##########################################################
  4849. ##########################################################
  4850. ##########################################################
  4851. ##########################################################
  4852. ##########################################################
  4853. ##########################################################
  4854. ##########################################################
  4855. ##########################################################
  4856. ##########################################################
  4857. ##########################################################
  4858. ##########################################################
  4859. ##########################################################
  4860. ##########################################################
  4861. ##########################################################
  4862. ##########################################################
  4863. ##########################################################
  4864. ##########################################################
  4865. ##########################################################
  4866. ##########################################################
  4867. '++LotusScript Development Environment:2:5:(Options):0:74
  4868. Option Public
  4869. Use "InternetFunctions"
  4870. '++LotusScript Development Environment:2:5:(Forward):0:1
  4871. Declare Sub Initialize
  4872. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4873. '++LotusScript Development Environment:2:2:Initialize:1:10
  4874. Sub Initialize
  4875.     InstantiateObjects
  4876.     Dim docCollection As NotesDocumentCollection
  4877.     Dim docLocal As NotesDocument
  4878.     Set docCollection = db.UnprocessedDocuments
  4879.     If (docCollection.Count = 0) Then
  4880.         Msgbox "Sie m
  4881. ssen ein Dokument w
  4882. hlen.",16,"Fehler"
  4883.         Exit Sub
  4884.     End If
  4885.     Set docLocal = docCollection.GetFirstDocument
  4886.     While Not (docLocal Is Nothing)
  4887.         RemoveObjects docLocal
  4888.         ReduceToLink docLocal
  4889.         Set docLocal = docCollection.GetNextDocument(docLocal)
  4890.     Wend
  4891. End Sub
  4892. Lotus Product
  4893. O=Lotus Notes
  4894. O=Lotus Notes
  4895. PURSAFO
  4896. |.:#U
  4897. O=Lotus Notes
  4898. CN=Lotus Notes Template Development/O=Lotus Notes
  4899. PURSAFO
  4900. >{)R}S
  4901. $AssistType
  4902. $AssistLastRun
  4903. $AssistDocCount
  4904. $AssistFlags
  4905. $AssistTrigger
  4906. $AssistInfo
  4907. $AssistAction
  4908. $AssistQuery
  4909. $AssistAction_Ex
  4910. $Language
  4911. $LastBuildTime
  4912. $BabelInfo
  4913. Web Bots\Page Minder
  4914. Bookmark
  4915. HelpForm
  4916. PageMinderStatus
  4917. PageMinderStatus
  4918. PageMinderStatus
  4919. PageMinderStatus
  4920. PageMinderStatus
  4921.     6S9S10S
  4922. $39Title$36URL$Conflict$C1$
  4923. $39Title
  4924. Title
  4925. Bookmark
  4926. HelpForm
  4927. PageMinderStatus
  4928. PageMinderStatus
  4929. PageMinderStatus
  4930. PageMinderStatus
  4931. PageMinderStatus
  4932.     6S9S10S
  4933. $39Title$36URL$Conflict$C1$
  4934. $39Title
  4935. Title
  4936. Categori_ze
  4937. Dokument _bearbeiten
  4938. Dokument _senden
  4939. _Weiterleiten
  4940. In Ordner _verschieben...
  4941. Aus Ordner _entfernen
  4942. Categori_ze
  4943. Dokument _bearbeiten
  4944. Dokument _senden
  4945. _Weiterleiten
  4946. In Ordner _verschieben...
  4947. Aus Ordner _entfernen
  4948. >|'++LotusScript Development Environment:2:5:(Options):0:74
  4949. Option Public
  4950. '++LotusScript Development Environment:2:5:(Forward):0:1
  4951. '++LotusScript Development Environment:2:5:(Declarations):0:2
  4952. Lotus Product
  4953. O=Lotus
  4954. O=Lotus
  4955. PURSAFO
  4956. O=Lotus
  4957. OU=DUB/O=Lotus
  4958. PURSAFO
  4959. }NFib
  4960. OU=DUB/O=Lotus
  4961. CN=Shaun McGale/OU=DUB/O=Lotus
  4962. PURSAFO
  4963. $Language
  4964. $LastBuildTime
  4965. $BabelInfo
  4966. $TITLE
  4967. $Index
  4968. $Formula
  4969. $FormulaClass
  4970. $ViewFormat
  4971. $Comment
  4972. $V5ACTIONS
  4973. $ACTIONS
  4974. $ViewGlobalScript
  4975. $ViewGlobalScript_O
  4976. TIME_DATE
  4977. TIME_DATE
  4978.     0S0E
  4979.     0S0E
  4980. $47Title$45$46$Conflict$C1$
  4981. Cookie
  4982. HTMLForm
  4983. $Title
  4984. HTMLFormDoc
  4985. Guided Tour
  4986. DeferredObject
  4987. Title
  4988. BLANK.HTM
  4989. bookmark
  4990.     L34S
  4991. $47$45
  4992. $45Title
  4993. Username
  4994. Username
  4995. Domain
  4996. Domain
  4997. CookieName
  4998. CookieName
  4999. ExpirationDate
  5000. ExpirationDate
  5001. UsernameDomainPathCookieNameExpirationDate$Conflict$C1$
  5002. Cookie
  5003.     L1S>
  5004. UsernameDomainPathCookieName
  5005. Domain
  5006. $46fr
  5007.     3S15S
  5008. $45fr
  5009.     3S15S
  5010. $46NULL$45$Conflict$C1$
  5011. $46$45
  5012. $46$45
  5013. $46$45
  5014. >%!-eWv
  5015. 'Web Ahead' verwenden: Verkn
  5016. pfungen auf Web-Seiten automatisch verfolgen (Pers
  5017. nlicher Web Navigator)
  5018.     Web-Seiten enthalten gew
  5019. hnlich URLs, die auf andere Web-Seiten verweisen. Sie k
  5020. nnen einen Hintergrund-Agenten ausf
  5021. hren, der alle durch die URLs auf einer bestimmten Seite verwiesenen Web-Seiten abruft und in Ihrer Datenbank zum sp
  5022. teren Lesen speichert. Sie k
  5023. nnen den Agenten so einrichten, da
  5024.  er auch URLs 
  5025. ber mehreren Ebenen hinweg abruft. 
  5026.     HinweisX
  5027.       Der Agent 'Web Ahead' l
  5028. uft nur dann, wenn Ihre Notes Workstation l
  5029.     So aktivieren Sie den Agenten 'Web Ahead'X
  5030.     So aktivieren Sie den Agenten 'Web Ahead' (nur einmal erforderlich):
  5031.       1.    W
  5032. hlen Sie 'Datei - Vorgaben - Notes', und aktivieren Sie 'Lokale periodische Agenten aktivieren'.X
  5033.       2.    
  5034. ffnen Sie die Datenbank 'Pers
  5035. nlicher Web Navigator', und w
  5036. hlen Sie 'Aktionen - Internet-Optionen'.
  5037.       3.    Klicken Sie im Register 'Web Ahead' auf die Schaltfl
  5038. che 'Web Ahead aktivieren'.X
  5039.     So f
  5040. hren Sie den Agenten 'Web Ahead' ausX
  5041.     So f
  5042. hren Sie den Agenten 'Web Ahead' auf einer Web-Seite ausX
  5043.       1.    W
  5044. hlen Sie 'Aktionen - Internet-Optionen'.X
  5045.       2.    Im Abschnitt 'Vorgaben f
  5046. r den Agenten Web Ahead' geben Sie an, bis zu welcher Ebene der Agent Seiten abrufen soll.
  5047.       3.    Speichern Sie Ihre 
  5048. nderungen, und schlie
  5049. en Sie das Dokument.X
  5050.       4.    W
  5051. hlen Sie eine beliebige Web-Seite, und ziehen Sie sie mit der Maus in den Ordner 'Web Ahead'.
  5052.     Der Agent 'Web Ahead' wird alle 30 Minuten ausgef
  5053.     HinweisX
  5054.       Sie k
  5055. nnen den Agenten 'Web Ahead' auf Seiten ausf
  5056. hren, die sich auf authentifizierten Servern befinden, wo der Zugriff nur durch Angabe eines Benutzernamens und Kennworts erfolgt  Ebenso k
  5057. nnen Sie den Agenten 
  5058. ber einen authentifizierten Proxy-Server ausf
  5059. hren, wo der Zugriff auf das Internet durch Angabe eines Benutzernamens und Kennworts erfolgt. Sofern Sie w
  5060. hrend der aktuellen Notes Sitzung die Seite erfolgreich abgerufen haben, werden Ihr Benutzername und Ihr Kennwort in einem Feld auf der Web-Seite gespeichert und von dort abgerufen, wenn der Agent ausgef
  5061. hrt wird. Wenn Sie diesen Agenten auf authentifizierten Servern oder 
  5062. ber authentifizierte Proxy-Server ausf
  5063. hren, sollten Sie aus Sicherheitsgr
  5064. nden Ihre Datenbank verschl
  5065. sseln, damit das Feld f
  5066. r andere Benutzer verborgen bleibt.X
  5067. Page Minder verwenden: 
  5068. nderungen an Web-Seiten im Auge behalten (Pers
  5069. nlicher Web Navigator)X
  5070.     Sie k
  5071. nnen einen Hintergrund-Agenten namens 'Page Minder' ausf
  5072. hren, der eine bestimmte Web-Seite 
  5073. berwacht und Sie 
  5074. ber inhaltliche 
  5075. nderungen informiert.X
  5076.     HinweisX
  5077.       Der Agent 'Page Minder' l
  5078. uft nur dann, wenn Ihre Notes Workstation l
  5079.     So aktivieren Sie den Agenten 'Page Minder'X
  5080.     So aktivieren Sie den Agenten 'Page Minder' (nur einmal erforderlich):
  5081.       1.    W
  5082. hlen Sie 'Datei - Vorgaben - Notes', und aktivieren Sie 'Lokale periodische Agenten aktivieren'.X
  5083.       2.    
  5084. ffnen Sie die Datenbank 'Pers
  5085. nlicher Web Navigator', und w
  5086. hlen Sie 'Aktionen - Internet-Optionen'.
  5087.       3.    Klicken Sie im Register 'Page Minder' auf die Schaltfl
  5088. che 'Page Minder aktivieren'. 
  5089.     So f
  5090. hren Sie den Agenten 'Page Minder' ausX
  5091.     So f
  5092. hren Sie den Agenten 'Page Minder' auf einer Web-Seite aus:
  5093.       1.    W
  5094. hlen Sie 'Aktionen - Internet-Optionen'.X
  5095.       2.    Im Abschnitt 'Vorgaben f
  5096. r den Agenten Page Minder' f
  5097. llen Sie folgende Felder aus:
  5098.     Suche nach Aktualisierungen -- W
  5099. hlen Sie, wie oft der Agent die Web-Seite auf inhaltliche 
  5100. nderungen 
  5101. berpr
  5102. fen soll.  Zur Auswahl stehen: 'St
  5103. ndlich', 'Alle 4 Stunden', 'T
  5104. glich' und 'W
  5105. chentlich'.X
  5106.     Wenn Aktualisierungen gefunden wurden -- Legen Sie fest, wie Sie von einer 
  5107. nderung des Seiteninhalts benachrichtigt werden m
  5108. chten. W
  5109. hlen Sie 'Zusammenfassung senden', wenn Sie lediglich 
  5110. ber eine inhaltliche 
  5111. nderung der Seite informiert werden m
  5112. chten. W
  5113. hlen Sie 'Eigentliche Seite versenden', wenn die aktualisierte Web-Seite gesendet werden soll.X
  5114.     Senden an -- Geben Sie den Namen der Person an, die 
  5115. ber die 
  5116. nderung des Seiteninhalts informiert werden soll.X
  5117.       3.    Speichern Sie Ihre 
  5118. nderungen, und schlie
  5119. en Sie das Dokument.X
  5120.       4.    W
  5121. hlen Sie eine beliebige Web-Seite, und ziehen Sie sie mit der Maus in den Ordner 'Page Minder'.
  5122.     Der Agent 'Page Minder' wird gem
  5123.  Ihren Einstellungen im Dokument 'Internet-Optionen' ausgef
  5124.     HinweisX
  5125.       Sie k
  5126. nnen den Agenten 'Page Minder' auf Seiten ausf
  5127. hren, die sich auf authentifizierten Servern befinden, wo der Zugriff nur durch Angabe eines Benutzernamens und Kennworts erfolgt  Ebenso k
  5128. nnen Sie den Agenten 
  5129. ber einen authentifizierten Proxy-Server ausf
  5130. hren, wo der Zugriff auf das Internet durch Angabe eines Benutzernamens und Kennworts erfolgt. Sofern Sie w
  5131. hrend der aktuellen Notes Sitzung die Seite erfolgreich abgerufen haben, werden Ihr Benutzername und Ihr Kennwort in einem Feld auf der Web-Seite gespeichert und von dort abgerufen, wenn der Agent ausgef
  5132. hrt wird. Wenn Sie diesen Agenten auf authentifizierten Servern oder 
  5133. ber authentifizierte Proxy-Server ausf
  5134. hren, sollten Sie aus Sicherheitsgr
  5135. nden Ihre Datenbank verschl
  5136. sseln, damit das Feld f
  5137. r andere Benutzer verborgen bleibt.X
  5138. Lotus Product
  5139. _Kategorisieren
  5140. Dokument _bearbeiten
  5141. Dokument _senden
  5142. _Weiterleiten
  5143. In Ordner _verschieben...r
  5144. Aus Ordner _entfernen... [
  5145. schen'++LotusScript Development Environment:2:5:(Options):0:66
  5146. '++LotusScript Development Environment:2:5:(Forward):0:1
  5147. Declare Sub Click(Source As Button)
  5148. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5149. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5150. Private Sub BindEvents(Byval Objectname_ As String)
  5151.      Static Source As BUTTON
  5152.      Set Source = Bind(Objectname_)
  5153.      On Event Click From Source Call Click
  5154. End Sub
  5155. '++LotusScript Development Environment:2:2:Click:1:12
  5156. Sub Click(Source As Button)
  5157.      ViewDelete
  5158. End Sub
  5159. Zu Lesezeichen reduzieren
  5160. title
  5161. Favorites
  5162.     0S0E
  5163. (RemoveObjects)
  5164. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  5165. '++LotusScript Development Environment:2:5:(Forward):0:1
  5166. Declare Sub Click(Source As Button)
  5167. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5168. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5169. Private Sub BindEvents(Byval Objectname_ As String)
  5170.      Static Source As BUTTON
  5171.      Set Source = Bind(Objectname_)
  5172.      On Event Click From Source Call Click
  5173. End Sub
  5174. '++LotusScript Development Environment:2:2:Click:1:12
  5175. Sub Click(Source As Button)
  5176.      
  5177.      PrintWebDocument
  5178. End Sub
  5179. Weiterleiten...
  5180. '++LotusScript Development Environment:2:5:(Options):0:66
  5181. '++LotusScript Development Environment:2:5:(Forward):0:1
  5182. Declare Sub Click(Source As Button)
  5183. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5184. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5185. Private Sub BindEvents(Byval Objectname_ As String)
  5186.      Static Source As BUTTON
  5187.      Set Source = Bind(Objectname_)
  5188.      On Event Click From Source Call Click
  5189. End Sub
  5190. '++LotusScript Development Environment:2:2:Click:1:12
  5191. Sub Click(Source As Button)
  5192.      
  5193.      Dim docLocal As NotesDocument
  5194.      Dim docCollection As NotesDocumentCollection     
  5195.      Set docCollection = db.UnprocessedDocuments
  5196.      If (docCollection.Count = 0) Then
  5197.           Msgbox "Sie m
  5198. ssen ein Dokument w
  5199. hlen.",16,"Fehler"
  5200.           Exit Sub
  5201.      Else
  5202.           For j = 1 To docCollection.Count
  5203.                Set docLocal = docCollection.getnthdocument(j)               
  5204.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  5205.                     Select Case docLocal.ForwardOptions(0)
  5206.                     Case "1" : 'user wants to forward the URL only
  5207.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  5208.                     Case "2" : 'user wants to send entire page
  5209.                          Call  ViewForward(docLocal)
  5210.                     End Select
  5211.           'remove any remaining fields that don't need to be carried around
  5212.                     docLocal.RemoveItem "ForwardOptions" 
  5213.                     docLocal.save True, False
  5214.                     
  5215.                End If
  5216.                Exit Sub
  5217.           Next
  5218.      End If
  5219.      Exit Sub
  5220. End Sub
  5221. _Kategorisieren
  5222. Dokument _bearbeiten
  5223. Dokument _senden
  5224. _Weiterleiten
  5225. In Ordner _verschieben...
  5226. Aus Ordner _entfernen... 
  5227. schen'++LotusScript Development Environment:2:5:(Options):0:66
  5228. '++LotusScript Development Environment:2:5:(Forward):0:1
  5229. Declare Sub Click(Source As Button)
  5230. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5231. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5232. Private Sub BindEvents(Byval Objectname_ As String)
  5233.      Static Source As BUTTON
  5234.      Set Source = Bind(Objectname_)
  5235.      On Event Click From Source Call Click
  5236. End Sub
  5237. '++LotusScript Development Environment:2:2:Click:1:12
  5238. Sub Click(Source As Button)
  5239.      ViewDelete
  5240. End Sub
  5241. Zu Lesezeichen reduzierenrp
  5242. title
  5243. Favorites
  5244.     0S0E
  5245. (RemoveObjects)
  5246. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  5247. '++LotusScript Development Environment:2:5:(Forward):0:1
  5248. Declare Sub Click(Source As Button)
  5249. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5250. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5251. Private Sub BindEvents(Byval Objectname_ As String)
  5252.      Static Source As BUTTON
  5253.      Set Source = Bind(Objectname_)
  5254.      On Event Click From Source Call Click
  5255. End Sub
  5256. '++LotusScript Development Environment:2:2:Click:1:12
  5257. Sub Click(Source As Button)
  5258.      
  5259.      PrintWebDocument
  5260. End Sub
  5261. Weiterleiten...
  5262. '++LotusScript Development Environment:2:5:(Options):0:66
  5263. '++LotusScript Development Environment:2:5:(Forward):0:1
  5264. Declare Sub Click(Source As Button)
  5265. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5266. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5267. Private Sub BindEvents(Byval Objectname_ As String)
  5268.      Static Source As BUTTON
  5269.      Set Source = Bind(Objectname_)
  5270.      On Event Click From Source Call Click
  5271. End Sub
  5272. '++LotusScript Development Environment:2:2:Click:1:12
  5273. Sub Click(Source As Button)
  5274.      
  5275.      Dim docLocal As NotesDocument
  5276.      Dim docCollection As NotesDocumentCollection     
  5277.      Set docCollection = db.UnprocessedDocuments
  5278.      If (docCollection.Count = 0) Then
  5279.           Msgbox "Sie m
  5280. ssen ein Dokument w
  5281. hlen.",16,"Fehler"
  5282.           Exit Sub
  5283.      Else
  5284.           For j = 1 To docCollection.Count
  5285.                Set docLocal = docCollection.getnthdocument(j)               
  5286.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  5287.                     Select Case docLocal.ForwardOptions(0)
  5288.                     Case "1" : 'user wants to forward the URL only
  5289.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  5290.                     Case "2" : 'user wants to send entire page
  5291.                          Call  ViewForward(docLocal)
  5292.                     End Select
  5293.           'remove any remaining fields that don't need to be carried around
  5294.                     docLocal.RemoveItem "ForwardOptions" 
  5295.                     docLocal.save True, False
  5296.                     
  5297.                End If
  5298.                Exit Sub
  5299.           Next
  5300.      End If
  5301.      Exit Sub
  5302. End Sub
  5303. Lotus Product
  5304. Lotus Product
  5305. Lotus Product
  5306. '++LotusScript Development Environment:2:5:(Options):0:74
  5307. Option Public
  5308. Use "InternetFunctions"
  5309. '++LotusScript Development Environment:2:5:(Forward):0:1
  5310. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5311. Lotus Product
  5312. '++LotusScript Development Environment:2:5:(Options):0:66
  5313. '++LotusScript Development Environment:2:5:(Forward):0:1
  5314. Declare Sub Postopen(Source As Notesuiview)
  5315. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  5316. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5317. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5318. Private Sub BindEvents(Byval Objectname_ As String)
  5319.      Static Source As NOTESUIVIEW
  5320.      Set Source = Bind(Objectname_)
  5321.      On Event Postopen From Source Call Postopen
  5322.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  5323. End Sub
  5324. '++LotusScript Development Environment:2:2:Postopen:1:12
  5325. Sub Postopen(Source As Notesuiview)
  5326.      InstantiateObjects
  5327. End Sub
  5328. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  5329. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  5330.      Call MoveToFolder(source,target,continue)
  5331. End Sub
  5332. Lotus Product
  5333. O=Lotus
  5334. O=Lotus
  5335. PURSAFO
  5336. O=Lotus
  5337. OU=DUB/O=Lotus
  5338. PURSAFO
  5339. }NFib
  5340. OU=DUB/O=Lotus
  5341. CN=Shaun McGale/OU=DUB/O=Lotus
  5342. PURSAFO
  5343. $SCRIPTOBJ_12
  5344. $SCRIPTOBJ_11
  5345. $SCRIPTOBJ_10
  5346. (Globals) Andere\Aufr
  5347. umen|House Cleani
  5348. $Language
  5349. $LastBuildTime
  5350. $BabelInfo
  5351. $TITLE
  5352. $Index
  5353. $Formula
  5354. $FormulaClass
  5355. $ViewFormat
  5356. $FormFormula
  5357. $Comment
  5358. $V5ACTIONS
  5359. $ACTIONS
  5360. $SCRIPTOBJ_6
  5361. $SCRIPTOBJ_8
  5362. $SCRIPTOBJ_9
  5363. $ViewGlobalScript
  5364. $ViewGlobalScript_O
  5365. $ViewScript
  5366. $ViewScript_O
  5367. elInfo
  5368. Lotus Product
  5369. OBJECT
  5370. Lotus Product
  5371. OBJECT
  5372. Lotus Product
  5373. OBJECT
  5374. Lotus Product
  5375. V0.0S
  5376. _Weiterleiten
  5377. _Kategorisieren
  5378. Dokument _bearbeiten
  5379. Dokument _senden
  5380. In Ordner _verschieben...
  5381. Aus Ordner _entfernen... 
  5382. schenO 
  5383.     0S0E
  5384. _Weiterleiten
  5385. _Kategorisieren
  5386. Dokument _bearbeiten
  5387. Dokument _senden
  5388. In Ordner _verschieben...
  5389. Aus Ordner _entfernen... e
  5390. schen
  5391.     0S0E
  5392. '++LotusScript Development Environment:2:5:(Options):0:74
  5393. Option Public
  5394. '++LotusScript Development Environment:2:5:(Forward):0:1
  5395. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5396. Lotus Product
  5397. '++LotusScript Development Environment:2:5:(Options):0:66
  5398. '++LotusScript Development Environment:2:5:(Forward):0:1
  5399. Declare Sub Postopen(Source As Notesuiview)
  5400. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5401. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5402. Private Sub BindEvents(Byval Objectname_ As String)
  5403.     Static Source As NOTESUIVIEW
  5404.     Set Source = Bind(Objectname_)
  5405.     On Event Postopen From Source Call Postopen
  5406. End Sub
  5407. '++LotusScript Development Environment:2:2:Postopen:1:12
  5408. Sub Postopen(Source As Notesuiview)
  5409. End Sub
  5410. Lotus Product
  5411. O=Lotus
  5412. O=Lotus
  5413. PURSAFO
  5414. O=Lotus
  5415. OU=DUB/O=Lotus
  5416. PURSAFO
  5417. }NFib
  5418. OU=DUB/O=Lotus
  5419. CN=Shaun McGale/OU=DUB/O=Lotus
  5420. PURSAFO
  5421. $HTMLDocumentStyles
  5422. $SCRIPTOBJ_12
  5423. $SCRIPTOBJ_13
  5424. $SCRIPTOBJ_14
  5425. $SCRIPTOBJ_15
  5426. $Language
  5427. $LastBuildTime
  5428. $BabelInfo
  5429. $TITLE
  5430. $Index
  5431. $Formula
  5432. $FormulaClass
  5433. $ViewFormat
  5434. $Comment
  5435. $V5ACTIONS
  5436. $ACTIONS
  5437. $ViewGlobalScript
  5438. $ViewGlobalScript_O
  5439. $ViewScript
  5440. $ViewScript_O
  5441. $ViewGlobalScript_O
  5442. $ViewScript_O
  5443. $Langu
  5444. '++LotusScript Development Environment:2:5:(Options):0:74
  5445. Option Public
  5446. Use "AgentFunctions"
  5447. '++LotusScript Development Environment:2:5:(Forward):0:1
  5448. Declare Sub Initialize
  5449. Declare Sub ReduceDocumentsToLinks
  5450. Declare Sub RemoveDocumentsFromDatabase
  5451. Declare Sub SetupExpirationDates
  5452. Declare Function DocumentCanBeProcessed  As Integer
  5453. Declare Sub ReduceOneDocumentToLink
  5454. '++LotusScript Development Environment:2:5:(Declarations):0:10
  5455. Dim housekeepingagent As notesagent
  5456. Dim docCollection As NotesDocumentCollection
  5457. Dim urldoc As NotesDocument
  5458. Dim doc As NotesDocument
  5459. Dim dtExpiration As NotesDateTime
  5460. Dim dtLastAccessed As NotesDateTime
  5461. '++LotusScript Development Environment:2:2:Initialize:1:10
  5462. Sub Initialize
  5463.      On Error Goto ProcessError
  5464.      InstantiateAgentObjects
  5465.      
  5466.      'Open the error log for error handling
  5467.      Set HousekeepingAgent = Session.currentagent
  5468.      Set AgentLog = OpenLog(HousekeepingAgent.name)
  5469.      
  5470.      If LogLocation = "Agent Log" Then agentLog.LogErrors = True   
  5471.      Call logaction( "Aufr
  5472. umen beginnt...")
  5473.      
  5474.       'check to see if we need to perform and database/document cleanup
  5475.      If (docprofile.ReduceDays(0) = "0") Then
  5476.           ReduceDocumentsToLinks
  5477.      Elseif (docprofile.ReduceDays(0) = "1") Then
  5478.           RemoveDocumentsFromDatabase
  5479.      End If
  5480.      Goto Cleanup
  5481.      
  5482. ProcessError:
  5483.      Call logerror(Err, Error$)
  5484.      Call logaction("Der vorherige Fehler ist in der Initialisierungsroutine des Aufr
  5485. umungsagenten aufgetreten.")
  5486.      Resume Next     
  5487. Cleanup:
  5488.      Call logaction("Aufr
  5489. umen abgeschlossen."     )
  5490.      If LogLocation = "Agent Log" Then  Call agentlog.close
  5491.      
  5492. End Sub
  5493. '++LotusScript Development Environment:2:2:ReduceDocumentsToLinks:1:8
  5494. Sub ReduceDocumentsToLinks
  5495.      On Error Goto ProcessError
  5496.      SetupExpirationDates
  5497.      
  5498.      Set docCollection = db.AllDocuments
  5499.      Set doc = docCollection.GetFirstDocument
  5500.      While Not (doc Is Nothing)
  5501.           If (DocumentCanBeProcessed) Then ReduceOneDocumentToLink
  5502.           Set doc = docCollection.GetNextDocument(doc)
  5503.      Wend
  5504.      Exit Sub
  5505. ProcessError:
  5506.      Call logerror(Err, Error$)
  5507.      Call logaction("Der vorherige Fehler ist in der Routine 'ReduceDocumentsToLinks' des Aufr
  5508. umungsagenten aufgetreten.")
  5509.      Resume Next 
  5510.      
  5511. End Sub
  5512. '++LotusScript Development Environment:2:2:RemoveDocumentsFromDatabase:1:8
  5513. Sub RemoveDocumentsFromDatabase
  5514.      On Error Goto ProcessError
  5515.      SetupExpirationDates
  5516.      Set docCollection = db.AllDocuments
  5517.      For i = 1 To docCollection.Count
  5518.           Set doc = docCollection.GetNthDocument(i)          
  5519.           If (DocumentCanBeProcessed) Then 
  5520.                Call RemoveObjects(doc)
  5521.                Call logaction( "Seiten werden entfernt, die innerhalb der letzten " & docprofile.ReduceNumDays(0) & " Tage nicht gelesen wurden...")
  5522.                doc.Remove True
  5523.           End If               
  5524.      Next
  5525.      Exit Sub
  5526.      
  5527. ProcessError:
  5528.      Call logerror(Err, Error$)
  5529.      Call logaction("Der vorherige Fehler ist in der Routine 'RemoveDocumentsFromDatabase' des Aufr
  5530. umungsagenten aufgetreten.")
  5531.      Resume Next 
  5532.      
  5533. End Sub
  5534. '++LotusScript Development Environment:2:2:SetupExpirationDates:1:8
  5535. Sub SetupExpirationDates
  5536.      On Error Goto ProcessError
  5537. 'initiate the date/time objects
  5538.      Set dtLastAccessed = New NotesDateTime("")
  5539.      Set dtExpiration = New NotesDateTime("")
  5540.      dtLastAccessed.SetNow
  5541.      dtExpiration.SetNow
  5542. 'dtExpired must be set back the number of days specified in the profile document
  5543.      dtExpiration.AdjustDay(-1*Cint(docprofile.ReduceNumDays(0)))
  5544.      Exit Sub
  5545. ProcessError:
  5546.      Call logerror(Err, Error$)
  5547.      Call logaction("Der vorherige Fehler ist in der Routine 'SetExpirationDates' des Aufr
  5548. umungsagenten aufgetreten.")
  5549.      Resume Next 
  5550. End Sub
  5551. '++LotusScript Development Environment:2:1:DocumentCanBeProcessed:1:8
  5552. Function DocumentCanBeProcessed  As Integer
  5553.      On Error Goto ProcessError
  5554. 'determines if a document meets the criteria to be reduced or removed from the database
  5555.      If (doc.Form(0) = "Admin") Then 
  5556.           DocumentCanBeProcessed = False
  5557.           Exit Function
  5558.      End If
  5559. 'if this is the home page, do not process it
  5560.      If (doc.Url(0) = docprofile.OpenUrl(0)) Then
  5561.           DocumentCanBeProcessed = False
  5562.           Exit Function          
  5563.      End If
  5564.      'if this page is a Web Browser Object page, do not process it
  5565.      If (doc.form(0) = "WebBrowserForm") Then
  5566.           documentcanbeprocessed = False
  5567.           Exit Function
  5568.      End If
  5569. 'compare the last accessed date/time
  5570.      dtLastAccessed.LSLocalTime = doc.LastAccessed
  5571.      If (dtExpiration.TimeDifference(dtLastAccessed) > 0) Then DocumentCanBeProcessed = True
  5572.      Exit Function
  5573. ProcessError:
  5574.      Call logerror(Err, Error$)
  5575.      Call logaction("Der vorherige Fehler ist in der Routine 'DocumentCanBeProcessed' des Aufr
  5576. umungsagenten aufgetreten.")
  5577.      Resume Next 
  5578. End Function
  5579. '++LotusScript Development Environment:2:2:ReduceOneDocumentToLink:1:8
  5580. Sub ReduceOneDocumentToLink
  5581.      On Error Goto ProcessError
  5582.      
  5583.      Call logaction( "Seiten werden reduziert, die innerhalb der letzten " & docprofile.ReduceNumDays(0) & " Tage nicht gelesen wurden...")
  5584.      doc.RemoveItem "Body"
  5585.      doc.RemoveItem "HTMLSouce"
  5586.      doc.RemoveItem "HTMLBody"
  5587.      doc.RemoveItem "$Background"
  5588.      doc.RemoveItem "$FILE"
  5589.      doc.RemoveItem "URLLinks1"
  5590.      doc.RemoveItem "WebAheadStatus"
  5591.      doc.RemoveItem "WebAgentError"
  5592.      doc.RemoveItem "PageMinderStatus"
  5593.      doc.Save True,True
  5594.      Exit Sub
  5595.      
  5596. ProcessError:
  5597.      Call logerror(Err, Error$)
  5598.      Call logaction("Der vorherige Fehler ist in der Routine 'ReduceOneDiocumentToLink' des Aufr
  5599. umungsagenten aufgetreten.")
  5600.      Resume Next 
  5601. End Sub
  5602. Lotus Product
  5603. [X    )0
  5604. O=Lotus Notes
  5605. O=Lotus Notes
  5606. PURSAFO
  5607. |.:#U
  5608. O=Lotus Notes
  5609. CN=Lotus Notes Template Development/O=Lotus Notes
  5610. PURSAFO
  5611. BM{[tM
  5612. $AssistType
  5613. $AssistLastRun
  5614. $AssistDocCount
  5615. $AssistFlags
  5616. $AssistTrigger
  5617. $AssistInfo
  5618. $AssistAction
  5619. $AssistQuery
  5620. $AssistAction_Ex
  5621. $Language
  5622. $LastBuildTime
  5623. $BabelInfo
  5624. '++LotusScript Development Environment:2:5:(Options):0:74
  5625. Use "InternetFunctions"
  5626. '++LotusScript Development Environment:2:5:(Forward):0:1
  5627. Declare Sub Postopen(Source As Notesuidatabase)
  5628. Declare Sub PerformWebSetup
  5629. Declare Sub ReduceDocumentsToLinks
  5630. Declare Sub RemoveDocumentsFromDatabase
  5631. Declare Function DocumentCanBeProcessed  As Integer
  5632. Declare Sub SetupExpirationDates
  5633. Declare Sub ReduceOneDocumentToLink
  5634. Declare Sub Queryclose(Source As Notesuidatabase, Continue As Variant)
  5635. '++LotusScript Development Environment:2:5:(Declarations):0:10
  5636. 'Active_X_Personal_Web_Navigator: 
  5637. Dim docCollection As NotesDocumentCollection
  5638. Dim urldoc As NotesDocument
  5639. Dim doc As NotesDocument
  5640. Dim dtExpiration As NotesDateTime
  5641. Dim dtLastAccessed As NotesDateTime
  5642. Dim hskpgagent As NotesAgent
  5643. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5644. Private Sub BindEvents(Byval Objectname_ As String)
  5645.     Static Source As NOTESUIDATABASE
  5646.     Set Source = Bind(Objectname_)
  5647.     On Event Postopen From Source Call Postopen
  5648.     On Event Queryclose From Source Call Queryclose
  5649. End Sub
  5650. '++LotusScript Development Environment:2:2:Postopen:1:12
  5651. Sub Postopen(Source As Notesuidatabase)
  5652.      'intialize variables
  5653.     InstantiateObjects
  5654.     Dim BrowserDoc As notesdocument
  5655.     Dim BrowserobjectCollection As notesdocumentcollection
  5656.     Dim iedoc As New notesdocument(db)
  5657.     Dim BrowserOption As Variant
  5658.     Dim dt As New notesdatetime ("1/1/90")
  5659.      'Get current location retriever value
  5660.     BrowserOption = GetLocationItem("WebRetriever")
  5661.      'ensure that the user's profile document exists
  5662.     If (docprofile Is Nothing) Then 
  5663.         PerformWebSetup    
  5664.           'Get the current folders in the database for future use by the bookmark function
  5665.     Else
  5666.           'Get the current folders in the database for future use by the bookmark function
  5667.         If (docprofile.ReduceDays(0) <> "2") Then
  5668.             Set hskpgagent = db.getagent("Aufr
  5669. umen")
  5670.             If Not(hskpgagent.IsEnabled) Then                
  5671.                 Msgbox "Sie haben angegeben, da
  5672.  Sie die ungelesenen Seiten in Ihrer pers
  5673. nlichen"  _
  5674.                 + "Web-Datenbank reduzieren m
  5675. chten. W
  5676. hlen Sie 'Aktionen - Internet-Optionen' im Hauptmen
  5677. , um den Aufr
  5678. um-Agenten zu aktivieren, " _
  5679.                 + "der diese Aufgabe nachts um 1.00 Uhr durchf
  5680. hren wird.", 16,"Aufr
  5681. um-Agenten aktivieren"    
  5682.             End If
  5683.         End If
  5684.         If (docprofile.ReduceSize(0) = "1") Then
  5685.                'compare the current database size against the limit set in the user profile
  5686.             If (db.Size > Cdbl(docprofile.ReduceNumMB(0)) *  1048576) Then Msgbox "Die Gr
  5687. e dieser Datenbank 
  5688. berschreitet die benutzerdefinierte Gr
  5689. e von "_
  5690.             & docprofile.ReduceNumMB(0) & "MB.",16,"Internet-Optionen"
  5691.         End If
  5692.     End If
  5693. End Sub
  5694. '++LotusScript Development Environment:2:2:PerformWebSetup:1:8
  5695. Sub PerformWebSetup
  5696.                'create the new document with default settings
  5697.     Set docprofile = New NotesDocument(db)
  5698.     docprofile.Form = "Admin"
  5699.     docprofile.ScanAhead = "1"
  5700.     docprofile.SearchFrequency = "2"
  5701.     docprofile.UpdatesFoundOptions = "1"
  5702.     docprofile.SendMailTo = session.UserName
  5703.     docprofile.ReduceDays = "2"
  5704.     docprofile.KeepPage = "0"
  5705.     docprofile.Save True, True
  5706. End Sub
  5707. '++LotusScript Development Environment:2:2:ReduceDocumentsToLinks:1:8
  5708. Sub ReduceDocumentsToLinks
  5709.     SetupExpirationDates
  5710.     Set docCollection = db.AllDocuments
  5711.     Set doc = docCollection.GetFirstDocument
  5712.     While Not (doc Is Nothing)
  5713.         If (DocumentCanBeProcessed) Then ReduceOneDocumentToLink
  5714.         Set doc = docCollection.GetNextDocument(doc)
  5715.     Wend
  5716. End Sub
  5717. '++LotusScript Development Environment:2:2:RemoveDocumentsFromDatabase:1:8
  5718. Sub RemoveDocumentsFromDatabase
  5719.     SetupExpirationDates
  5720.     Set docCollection = db.AllDocuments
  5721.     For i = 1 To docCollection.Count
  5722.         Set doc = docCollection.GetNthDocument(i)          
  5723.         If (DocumentCanBeProcessed) Then 
  5724.             Print "Seiten werden entfernt, die innerhalb der letzten " & docprofile.ReduceNumDays(0) & " Tage nicht gelesen wurden..."
  5725.             doc.Remove True
  5726.         End If               
  5727.     Next
  5728. End Sub
  5729. '++LotusScript Development Environment:2:1:DocumentCanBeProcessed:1:8
  5730. Function DocumentCanBeProcessed  As Integer
  5731. 'determines if a document meets the criteria to be reduced or removed from the database
  5732.     If (doc.Form(0) = "Admin") Then 
  5733.         DocumentCanBeProcessed = False
  5734.         Exit Function
  5735.     End If
  5736. 'if this is the home page, do not process it
  5737.     If (doc.Url(0) = docprofile.OpenUrl(0)) Then
  5738.         DocumentCanBeProcessed = False
  5739.         Exit Function          
  5740.     End If
  5741. 'compare the last accessed date/time
  5742.     dtLastAccessed.LSLocalTime = doc.LastAccessed
  5743.     If (dtExpiration.TimeDifference(dtLastAccessed) > 0) Then DocumentCanBeProcessed = True
  5744. End Function
  5745. '++LotusScript Development Environment:2:2:SetupExpirationDates:1:8
  5746. Sub SetupExpirationDates
  5747. 'initiate the date/time objects
  5748.     Set dtLastAccessed = New NotesDateTime("")
  5749.     Set dtExpiration = New NotesDateTime("")
  5750.     dtLastAccessed.SetNow
  5751.     dtExpiration.SetNow
  5752. 'dtExpired must be set back the number of days specified in the profile document
  5753.     dtExpiration.AdjustDay(-1*Cint(docprofile.ReduceNumDays(0)))
  5754. End Sub
  5755. '++LotusScript Development Environment:2:2:ReduceOneDocumentToLink:1:8
  5756. Sub ReduceOneDocumentToLink
  5757.     Print "Seiten werden reduziert, die innerhalb der letzten " & docprofile.ReduceNumDays(0) & " Tage nicht gelesen wurden..."
  5758.     doc.RemoveItem "Body"
  5759.     doc.RemoveItem "HTMLSouce"
  5760.     doc.RemoveItem "HTMLBody"
  5761.     doc.RemoveItem "$Background"
  5762.     doc.RemoveItem "$FILE"
  5763.     doc.RemoveItem "URLLinks1"
  5764.     doc.RemoveItem "WebAheadStatus"
  5765.     doc.RemoveItem "WebAgentError"
  5766.     doc.RemoveItem "PageMinderStatus"
  5767.     doc.Save True,True
  5768. End Sub
  5769. '++LotusScript Development Environment:2:2:Queryclose:1:12
  5770. Sub Queryclose(Source As Notesuidatabase, Continue As Variant)
  5771. End Sub
  5772. @    @    <
  5773. Lotus Product
  5774. O=Lotus Notes
  5775. O=Lotus Notes
  5776. PURSAFO
  5777. |.:#U
  5778. O=Lotus Notes
  5779. CN=Lotus Notes Template Development/O=Lotus Notes
  5780. PURSAFO
  5781. GVI=a
  5782. $TITLE
  5783. $PublicAccess
  5784. $DBScript
  5785. $DBScript_O
  5786. $Language
  5787. $LastBuildTime
  5788. $BabelInfo
  5789. schen
  5790. '++LotusScript Development Environment:2:5:(Options):0:66
  5791. '++LotusScript Development Environment:2:5:(Forward):0:1
  5792. Declare Sub Click(Source As Button)
  5793. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5794. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5795. Private Sub BindEvents(Byval Objectname_ As String)
  5796.      Static Source As BUTTON
  5797.      Set Source = Bind(Objectname_)
  5798.      On Event Click From Source Call Click
  5799. End Sub
  5800. '++LotusScript Development Environment:2:2:Click:1:12
  5801. Sub Click(Source As Button)
  5802.      
  5803.      viewdelete
  5804.      
  5805. End Sub
  5806. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  5807. '++LotusScript Development Environment:2:5:(Forward):0:1
  5808. Declare Sub Click(Source As Button)
  5809. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5810. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5811. Private Sub BindEvents(Byval Objectname_ As String)
  5812.      Static Source As BUTTON
  5813.      Set Source = Bind(Objectname_)
  5814.      On Event Click From Source Call Click
  5815. End Sub
  5816. '++LotusScript Development Environment:2:2:Click:1:12
  5817. Sub Click(Source As Button)
  5818.      
  5819.      PrintWebDocument
  5820. End Sub
  5821. _Weiterleitene
  5822. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  5823. '++LotusScript Development Environment:2:5:(Forward):0:1
  5824. Declare Sub Click(Source As Button)
  5825. Declare Function GetInternetProfile
  5826. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5827. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5828. Private Sub BindEvents(Byval Objectname_ As String)
  5829.      Static Source As BUTTON
  5830.      Set Source = Bind(Objectname_)
  5831.      On Event Click From Source Call Click
  5832. End Sub
  5833. '++LotusScript Development Environment:2:2:Click:1:12
  5834. Sub Click(Source As Button)
  5835.      
  5836.      Dim docLocal As NotesDocument
  5837.      Dim webdoc As notesdocument
  5838.      Dim docCollection As NotesDocumentCollection     
  5839.      Set docCollection = db.UnprocessedDocuments
  5840.      If (docCollection.Count = 0) Then
  5841.           Msgbox "Sie m
  5842. ssen ein Dokument w
  5843. hlen.",16,"Fehler"
  5844.           Exit Sub
  5845.      End If
  5846.      Set docLocal = docCollection.GetFirstDocument
  5847.      If docLocal.hasitem("URL") Then
  5848.           docLocal.tmpWebServer  = docProfile.WebServer
  5849.           docLocal.tmpWebDb = docProfile.WebDatabase
  5850.           docLocal.Save True, True
  5851.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  5852. r gemeinsame Nutzung", doclocal)) Then
  5853.                docLocal.Save True, True
  5854.                Select Case docLocal.SharedOptions(0)
  5855.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  5856.                Case "2" : 'user wants to copy this to the shared web database
  5857.                     If docLocal.Form(0) = "WebBrowserForm" Then
  5858.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  5859.                     Else
  5860.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  5861.                     End If
  5862.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  5863.                     If docLocal.Form(0) = "WebBrowserForm" Then
  5864.                          CreateRatingDocument docLocal, browserobject.locationurl, browserobject.Locationname
  5865.                     Else
  5866.                          CreateRatingDocument docLocal,docLocal.url(0), docLocal.title(0)
  5867.                     End If
  5868.                End Select
  5869.           'remove any remaining fields that don't need to be carried around
  5870.                docLocal.removeItem "ForwardTo"
  5871.                docLocal.RemoveItem "SharedOptions" 
  5872.                docLocal.RemoveItem "Rating"
  5873.                docLocal.removeItem "Content"
  5874.                docLocal.removeItem "Comments"
  5875.           End If     
  5876.           docLocal.RemoveItem "tmpWebServer"
  5877.           docLocal.RemoveItem "tmpWebDb"
  5878.           docLocal.Save True, True
  5879.      Else
  5880.           Msgbox "Dieses Dokument enth
  5881. lt keine URLs."
  5882.      End If
  5883. End Sub
  5884. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  5885. Function GetInternetProfile
  5886.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  5887.      Set view = db.getView("(Internet Profile)")
  5888.      Set GetInternetProfile = view.GetFirstDocument
  5889. End Function
  5890. Internet Profiles
  5891. Internet Options
  5892. WebServer
  5893.     0S0E
  5894. In Ordner _verschieben...
  5895. _Kategorisieren
  5896. Dokument _bearbeiten
  5897. Dokument _senden
  5898. Seiten in Ordner verschieben...
  5899.     0S0E
  5900. Aus Ordner _entfernen... 
  5901. Eigenschaften: Internet...'++LotusScript Development Environment:2:5:(Options):0:66
  5902. '++LotusScript Development Environment:2:5:(Forward):0:1
  5903. Declare Sub Click(Source As Button)
  5904. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5905. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5906. Private Sub BindEvents(Byval Objectname_ As String)
  5907.      Static Source As BUTTON
  5908.      Set Source = Bind(Objectname_)
  5909.      On Event Click From Source Call Click
  5910. End Sub
  5911. '++LotusScript Development Environment:2:2:Click:1:12
  5912. Sub Click(Source As Button)
  5913.      
  5914.      Dim iret As Integer
  5915.      iret=Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl", 1)
  5916. End Sub
  5917.     0S0E
  5918. Weiterleiten...
  5919. '++LotusScript Development Environment:2:5:(Options):0:66
  5920. '++LotusScript Development Environment:2:5:(Forward):0:1
  5921. Declare Sub Click(Source As Button)
  5922. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5923. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5924. Private Sub BindEvents(Byval Objectname_ As String)
  5925.      Static Source As BUTTON
  5926.      Set Source = Bind(Objectname_)
  5927.      On Event Click From Source Call Click
  5928. End Sub
  5929. '++LotusScript Development Environment:2:2:Click:1:12
  5930. Sub Click(Source As Button)
  5931.      
  5932.      Dim docLocal As NotesDocument
  5933.      Dim docCollection As NotesDocumentCollection     
  5934.      Set docCollection = db.UnprocessedDocuments
  5935.      If (docCollection.Count = 0) Then
  5936.           Msgbox "Sie m
  5937. ssen ein Dokument w
  5938. hlen.",16,"Fehler"
  5939.           Exit Sub
  5940.      Else
  5941.           For j = 1 To docCollection.Count
  5942.                Set docLocal = docCollection.getnthdocument(j)               
  5943.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  5944.                     Select Case docLocal.ForwardOptions(0)
  5945.                     Case "1" : 'user wants to forward the URL only
  5946.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  5947.                     Case "2" : 'user wants to send entire page
  5948.                          Call  ViewForward(docLocal)
  5949.                     End Select
  5950.           'remove any remaining fields that don't need to be carried around
  5951.                     docLocal.RemoveItem "ForwardOptions" 
  5952.                     docLocal.save True, False
  5953.                     
  5954.                End If
  5955.                Exit Sub
  5956.           Next
  5957.      End If
  5958.      Exit Sub
  5959. End Sub
  5960. Zu Lesezeichen reduzieren
  5961. title
  5962. Favorites
  5963.     0S0E
  5964. (RemoveObjects)
  5965. schen
  5966. '++LotusScript Development Environment:2:5:(Options):0:66
  5967. '++LotusScript Development Environment:2:5:(Forward):0:1
  5968. Declare Sub Click(Source As Button)
  5969. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5970. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5971. Private Sub BindEvents(Byval Objectname_ As String)
  5972.      Static Source As BUTTON
  5973.      Set Source = Bind(Objectname_)
  5974.      On Event Click From Source Call Click
  5975. End Sub
  5976. '++LotusScript Development Environment:2:2:Click:1:12
  5977. Sub Click(Source As Button)
  5978.      
  5979.      viewdelete
  5980.      
  5981. End Sub
  5982. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  5983. '++LotusScript Development Environment:2:5:(Forward):0:1
  5984. Declare Sub Click(Source As Button)
  5985. '++LotusScript Development Environment:2:5:(Declarations):0:2
  5986. '++LotusScript Development Environment:2:2:BindEvents:1:129
  5987. Private Sub BindEvents(Byval Objectname_ As String)
  5988.      Static Source As BUTTON
  5989.      Set Source = Bind(Objectname_)
  5990.      On Event Click From Source Call Click
  5991. End Sub
  5992. '++LotusScript Development Environment:2:2:Click:1:12
  5993. Sub Click(Source As Button)
  5994.      
  5995.      PrintWebDocument
  5996. End Sub
  5997. _Weiterleiten:
  5998. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  5999. '++LotusScript Development Environment:2:5:(Forward):0:1
  6000. Declare Sub Click(Source As Button)
  6001. Declare Function GetInternetProfile
  6002. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6003. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6004. Private Sub BindEvents(Byval Objectname_ As String)
  6005.      Static Source As BUTTON
  6006.      Set Source = Bind(Objectname_)
  6007.      On Event Click From Source Call Click
  6008. End Sub
  6009. '++LotusScript Development Environment:2:2:Click:1:12
  6010. Sub Click(Source As Button)
  6011.      
  6012.      Dim docLocal As NotesDocument
  6013.      Dim webdoc As notesdocument
  6014.      Dim docCollection As NotesDocumentCollection     
  6015.      Set docCollection = db.UnprocessedDocuments
  6016.      If (docCollection.Count = 0) Then
  6017.           Msgbox "Sie m
  6018. ssen ein Dokument w
  6019. hlen.",16,"Fehler"
  6020.           Exit Sub
  6021.      End If
  6022.      Set docLocal = docCollection.GetFirstDocument
  6023.      If docLocal.hasitem("URL") Then
  6024.           docLocal.tmpWebServer  = docProfile.WebServer
  6025.           docLocal.tmpWebDb = docProfile.WebDatabase
  6026.           docLocal.Save True, True
  6027.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  6028. r gemeinsame Nutzung", doclocal)) Then
  6029.                docLocal.Save True, True
  6030.                Select Case docLocal.SharedOptions(0)
  6031.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  6032.                Case "2" : 'user wants to copy this to the shared web database
  6033.                     If docLocal.Form(0) = "WebBrowserForm" Then
  6034.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  6035.                     Else
  6036.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  6037.                     End If
  6038.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  6039.                     If docLocal.Form(0) = "WebBrowserForm" Then
  6040.                          CreateRatingDocument docLocal, browserobject.locationurl, browserobject.Locationname
  6041.                     Else
  6042.                          CreateRatingDocument docLocal,docLocal.url(0), docLocal.title(0)
  6043.                     End If
  6044.                End Select
  6045.           'remove any remaining fields that don't need to be carried around
  6046.                docLocal.removeItem "ForwardTo"
  6047.                docLocal.RemoveItem "SharedOptions" 
  6048.                docLocal.RemoveItem "Rating"
  6049.                docLocal.removeItem "Content"
  6050.                docLocal.removeItem "Comments"
  6051.           End If     
  6052.           docLocal.RemoveItem "tmpWebServer"
  6053.           docLocal.RemoveItem "tmpWebDb"
  6054.           docLocal.Save True, True
  6055.      Else
  6056.           Msgbox "Dieses Dokument enth
  6057. lt keine URLs."
  6058.      End If
  6059. End Sub
  6060. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  6061. Function GetInternetProfile
  6062.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  6063.      Set view = db.getView("(Internet Profile)")
  6064.      Set GetInternetProfile = view.GetFirstDocument
  6065. End Function
  6066. Internet Profiles
  6067. Internet Options
  6068. WebServer
  6069.     0S0E
  6070. In Ordner _verschieben...i
  6071. _Kategorisieren
  6072. Dokument _bearbeiten
  6073. Dokument _senden
  6074. Seiten in Ordner verschieben...e 
  6075.     0S0E
  6076. Aus Ordner _entfernen... t
  6077. Eigenschaften: Internet...'++LotusScript Development Environment:2:5:(Options):0:66
  6078. '++LotusScript Development Environment:2:5:(Forward):0:1
  6079. Declare Sub Click(Source As Button)
  6080. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6081. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6082. Private Sub BindEvents(Byval Objectname_ As String)
  6083.      Static Source As BUTTON
  6084.      Set Source = Bind(Objectname_)
  6085.      On Event Click From Source Call Click
  6086. End Sub
  6087. '++LotusScript Development Environment:2:2:Click:1:12
  6088. Sub Click(Source As Button)
  6089.      
  6090.      Dim iret As Integer
  6091.      iret=Shell("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl", 1)
  6092. End Sub
  6093.     0S0E
  6094. Weiterleiten...c'++LotusScript Development Environment:2:5:(Options):0:66
  6095. '++LotusScript Development Environment:2:5:(Forward):0:1
  6096. Declare Sub Click(Source As Button)
  6097. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6098. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6099. Private Sub BindEvents(Byval Objectname_ As String)
  6100.      Static Source As BUTTON
  6101.      Set Source = Bind(Objectname_)
  6102.      On Event Click From Source Call Click
  6103. End Sub
  6104. '++LotusScript Development Environment:2:2:Click:1:12
  6105. Sub Click(Source As Button)
  6106.      
  6107.      Dim docLocal As NotesDocument
  6108.      Dim docCollection As NotesDocumentCollection     
  6109.      Set docCollection = db.UnprocessedDocuments
  6110.      If (docCollection.Count = 0) Then
  6111.           Msgbox "Sie m
  6112. ssen ein Dokument w
  6113. hlen.",16,"Fehler"
  6114.           Exit Sub
  6115.      Else
  6116.           For j = 1 To docCollection.Count
  6117.                Set docLocal = docCollection.getnthdocument(j)               
  6118.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  6119.                     Select Case docLocal.ForwardOptions(0)
  6120.                     Case "1" : 'user wants to forward the URL only
  6121.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  6122.                     Case "2" : 'user wants to send entire page
  6123.                          Call  ViewForward(docLocal)
  6124.                     End Select
  6125.           'remove any remaining fields that don't need to be carried around
  6126.                     docLocal.RemoveItem "ForwardOptions" 
  6127.                     docLocal.save True, False
  6128.                     
  6129.                End If
  6130.                Exit Sub
  6131.           Next
  6132.      End If
  6133.      Exit Sub
  6134. End Sub
  6135. Zu Lesezeichen reduzieren p
  6136. title
  6137. Favorites
  6138.     0S0E
  6139. (RemoveObjects)
  6140. Lotus Product
  6141. Lotus Product
  6142. Lotus Product
  6143. Lotus Product
  6144. Lotus Product
  6145. '++LotusScript Development Environment:2:5:(Options):0:74
  6146. Option Public
  6147. Use "InternetFunctions"
  6148. '++LotusScript Development Environment:2:5:(Forward):0:1
  6149. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6150. Lotus Product
  6151. '++LotusScript Development Environment:2:5:(Options):0:66
  6152. '++LotusScript Development Environment:2:5:(Forward):0:1
  6153. Declare Sub Postopen(Source As Notesuiview)
  6154. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  6155. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6156. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6157. Private Sub BindEvents(Byval Objectname_ As String)
  6158.      Static Source As NOTESUIVIEW
  6159.      Set Source = Bind(Objectname_)
  6160.      On Event Postopen From Source Call Postopen
  6161.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  6162. End Sub
  6163. '++LotusScript Development Environment:2:2:Postopen:1:12
  6164. Sub Postopen(Source As Notesuiview)
  6165.      InstantiateObjects
  6166. End Sub
  6167. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  6168. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  6169.      Call MoveToFolder(source,target,continue)
  6170. End Sub
  6171. Lotus Product
  6172. O=Lotus
  6173. O=Lotus
  6174. PURSAFO
  6175. O=Lotus
  6176. OU=DUB/O=Lotus
  6177. PURSAFO
  6178. }NFib
  6179. OU=DUB/O=Lotus
  6180. CN=Shaun McGale/OU=DUB/O=Lotus
  6181. PURSAFO
  6182. $SCRIPTOBJ_22
  6183. $SCRIPTOBJ_20
  6184. $SCRIPTOBJ_21
  6185. $SCRIPTOBJ_16
  6186. $SCRIPTOBJ_17
  6187. $Language
  6188. $LastBuildTime
  6189. $BabelInfo
  6190. $TITLE
  6191. $Index
  6192. $Formula
  6193. $FormulaClass
  6194. $ViewFormat
  6195. $FormFormula
  6196. $Comment
  6197. $V5ACTIONS
  6198. $ACTIONS
  6199. $SCRIPTOBJ_0
  6200. $SCRIPTOBJ_1
  6201. $SCRIPTOBJ_3
  6202. $SCRIPTOBJ_10
  6203. $SCRIPTOBJ_11
  6204. $ViewGlobalScript
  6205. $ViewGlobalScript_O
  6206. $ViewScript
  6207. $ViewScript_O
  6208. schen
  6209. '++LotusScript Development Environment:2:5:(Options):0:66
  6210. '++LotusScript Development Environment:2:5:(Forward):0:1
  6211. Declare Sub Click(Source As Button)
  6212. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6213. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6214. Private Sub BindEvents(Byval Objectname_ As String)
  6215.      Static Source As BUTTON
  6216.      Set Source = Bind(Objectname_)
  6217.      On Event Click From Source Call Click
  6218. End Sub
  6219. '++LotusScript Development Environment:2:2:Click:1:12
  6220. Sub Click(Source As Button)
  6221.      ViewDelete     
  6222.      
  6223. End Sub
  6224. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  6225. '++LotusScript Development Environment:2:5:(Forward):0:1
  6226. Declare Sub Click(Source As Button)
  6227. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6228. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6229. Private Sub BindEvents(Byval Objectname_ As String)
  6230.      Static Source As BUTTON
  6231.      Set Source = Bind(Objectname_)
  6232.      On Event Click From Source Call Click
  6233. End Sub
  6234. '++LotusScript Development Environment:2:2:Click:1:12
  6235. Sub Click(Source As Button)
  6236.      PrintWebDocument
  6237.      
  6238. End Sub
  6239. S_uchene'++LotusScript Development Environment:2:5:(Options):0:66
  6240. '++LotusScript Development Environment:2:5:(Forward):0:1
  6241. Declare Sub Click(Source As Button)
  6242. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6243. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6244. Private Sub BindEvents(Byval Objectname_ As String)
  6245.      Static Source As BUTTON
  6246.      Set Source = Bind(Objectname_)
  6247.      On Event Click From Source Call Click
  6248. End Sub
  6249. '++LotusScript Development Environment:2:2:Click:1:12
  6250. Sub Click(Source As Button)
  6251.      
  6252.      Dim docLocal As NotesDocument
  6253.      Dim docCollection As NotesDocumentCollection     
  6254.      Set docCollection = db.UnprocessedDocuments
  6255.      If (docCollection.Count = 0) Then
  6256.           Msgbox "Sie m
  6257. ssen ein Dokument w
  6258. hlen.",16,"Fehler"
  6259.           Exit Sub
  6260.      End If
  6261.      Set docLocal = docCollection.GetFirstDocument
  6262.      OpenSearchSite docLocal
  6263. End Sub
  6264. $IndexY
  6265.     0S0E
  6266. _Weiterleitena
  6267. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  6268. '++LotusScript Development Environment:2:5:(Forward):0:1
  6269. Declare Sub Click(Source As Button)
  6270. Declare Function GetInternetProfile
  6271. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6272. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6273. Private Sub BindEvents(Byval Objectname_ As String)
  6274.      Static Source As BUTTON
  6275.      Set Source = Bind(Objectname_)
  6276.      On Event Click From Source Call Click
  6277. End Sub
  6278. '++LotusScript Development Environment:2:2:Click:1:12
  6279. Sub Click(Source As Button)
  6280.      
  6281.      Dim docLocal As NotesDocument
  6282.      Dim webdoc As notesdocument
  6283.      Dim docCollection As NotesDocumentCollection     
  6284.      Set docCollection = db.UnprocessedDocuments
  6285.      If (docCollection.Count = 0) Then
  6286.           Msgbox "Sie m
  6287. ssen ein Dokument w
  6288. hlen.",16,"Fehler"
  6289.           Exit Sub
  6290.      End If
  6291.      Set docLocal = docCollection.GetFirstDocument
  6292.      If docLocal.hasitem("URL") Then
  6293.           docLocal.tmpWebServer  = docProfile.WebServer
  6294.           docLocal.tmpWebDb = docProfile.WebDatabase
  6295.           docLocal.Save True, True
  6296.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  6297. r gemeinsame Nutzung", doclocal)) Then
  6298.                docLocal.Save True, True
  6299.                Select Case docLocal.SharedOptions(0)
  6300.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  6301.                Case "2" : 'user wants to copy this to the shared web database
  6302.                     If docLocal.Form(0) = "WebBrowserForm" Then
  6303.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  6304.                     Else
  6305.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  6306.                     End If
  6307.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  6308.                     If docLocal.Form(0) = "WebBrowserForm" Then
  6309.                          CreateRatingDocument docLocal, browserobject.locationurl,browserobject.locationname
  6310.                     Else
  6311.                          CreateRatingDocument docLocal,docLocal.url(0),docLocal.title(0)
  6312.                     End If
  6313.                End Select
  6314.           'remove any remaining fields that don't need to be carried around
  6315.                docLocal.removeItem "ForwardTo"
  6316.                docLocal.RemoveItem "SharedOptions" 
  6317.                docLocal.RemoveItem "Rating"
  6318.                docLocal.removeItem "Content"
  6319.                docLocal.removeItem "Comments"
  6320.           End If     
  6321.           docLocal.RemoveItem "tmpWebServer"
  6322.           docLocal.RemoveItem "tmpWebDb"
  6323.           docLocal.Save True, True
  6324.      Else
  6325.           Msgbox "Dieses Dokument enth
  6326. lt keine URLs."
  6327.      End If
  6328. End Sub
  6329. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  6330. Function GetInternetProfile
  6331.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  6332.      Set view = db.getView("(Internet Profile)")
  6333.      Set GetInternetProfile = view.GetFirstDocument
  6334. End Function
  6335. Internet Profiles
  6336. Internet Options
  6337. WebServer
  6338.     0S0E
  6339. _Kategorisieren%
  6340. Dokument _bearbeiten
  6341. Dokument _senden
  6342. In Ordner _verschieben...     
  6343. Seiten in Ordner verschieben...
  6344.     0S0E
  6345. Aus Ordner _entfernen... 
  6346. _Zu Lesezeichen reduzieren'++LotusScript Development Environment:2:5:(Options):0:66
  6347. '++LotusScript Development Environment:2:5:(Forward):0:1
  6348. Declare Sub Click(Source As Button)
  6349. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6350. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6351. Private Sub BindEvents(Byval Objectname_ As String)
  6352.      Static Source As BUTTON
  6353.      Set Source = Bind(Objectname_)
  6354.      On Event Click From Source Call Click
  6355. End Sub
  6356. '++LotusScript Development Environment:2:2:Click:1:12
  6357. Sub Click(Source As Button)
  6358.      
  6359.      Dim docCollection As NotesDocumentCollection
  6360.      Dim docLocal As NotesDocument
  6361.      
  6362.      Set docCollection = db.UnprocessedDocuments
  6363.      If (docCollection.Count = 0) Then
  6364.           Msgbox "Sie m
  6365. ssen ein Dokument w
  6366. hlen.",16,"Fehler"
  6367.           Exit Sub
  6368.      End If
  6369.      Set docLocal = docCollection.GetFirstDocument
  6370.      While Not (docLocal Is Nothing)
  6371.           RemoveObjects docLocal
  6372.           ReduceToLink docLocal
  6373.           Set docLocal = docCollection.GetNextDocument(docLocal)
  6374.      Wend
  6375. End Sub
  6376. Microsoft Favoriten importieren...'++LotusScript Development Environment:2:5:(Options):0:66
  6377. '++LotusScript Development Environment:2:5:(Forward):0:1
  6378. Declare Sub Click(Source As Button)
  6379. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6380. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6381. Private Sub BindEvents(Byval Objectname_ As String)
  6382.      Static Source As BUTTON
  6383.      Set Source = Bind(Objectname_)
  6384.      On Event Click From Source Call Click
  6385. End Sub
  6386. '++LotusScript Development Environment:2:2:Click:1:12
  6387. Sub Click(Source As Button)
  6388.      
  6389.      ImportFavorites
  6390. End Sub
  6391. Netscape Lesezeichen importieren...t'++LotusScript Development Environment:2:5:(Options):0:66
  6392. '++LotusScript Development Environment:2:5:(Forward):0:1
  6393. Declare Sub Click(Source As Button)
  6394. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6395. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6396. Private Sub BindEvents(Byval Objectname_ As String)
  6397.      Static Source As BUTTON
  6398.      Set Source = Bind(Objectname_)
  6399.      On Event Click From Source Call Click
  6400. End Sub
  6401. '++LotusScript Development Environment:2:2:Click:1:12
  6402. Sub Click(Source As Button)
  6403.      
  6404.      ImportBookmarks
  6405. End Sub
  6406. Weiterleiten...
  6407. '++LotusScript Development Environment:2:5:(Options):0:66
  6408. '++LotusScript Development Environment:2:5:(Forward):0:1
  6409. Declare Sub Click(Source As Button)
  6410. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6411. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6412. Private Sub BindEvents(Byval Objectname_ As String)
  6413.      Static Source As BUTTON
  6414.      Set Source = Bind(Objectname_)
  6415.      On Event Click From Source Call Click
  6416. End Sub
  6417. '++LotusScript Development Environment:2:2:Click:1:12
  6418. Sub Click(Source As Button)
  6419.      
  6420.      Dim docLocal As NotesDocument
  6421.      Dim docCollection As NotesDocumentCollection     
  6422.      Set docCollection = db.UnprocessedDocuments
  6423.      If (docCollection.Count = 0) Then
  6424.           Msgbox "Sie m
  6425. ssen ein Dokument w
  6426. hlen.",16,"Fehler"
  6427.           Exit Sub
  6428.      Else
  6429.           For j = 1 To docCollection.Count
  6430.                Set docLocal = docCollection.getnthdocument(j)               
  6431.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  6432.                     Select Case docLocal.ForwardOptions(0)
  6433.                     Case "1" : 'user wants to forward the URL only
  6434.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  6435.                     Case "2" : 'user wants to send entire page
  6436.                          Call  ViewForward(docLocal)
  6437.                     End Select
  6438.           'remove any remaining fields that don't need to be carried around
  6439.                     docLocal.RemoveItem "ForwardOptions" 
  6440.                     docLocal.save True, False
  6441.                     
  6442.                End If
  6443.                Exit Sub
  6444.           Next
  6445.      End If
  6446.      Exit Sub
  6447. End Sub
  6448. schen
  6449. '++LotusScript Development Environment:2:5:(Options):0:66
  6450. '++LotusScript Development Environment:2:5:(Forward):0:1
  6451. Declare Sub Click(Source As Button)
  6452. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6453. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6454. Private Sub BindEvents(Byval Objectname_ As String)
  6455.      Static Source As BUTTON
  6456.      Set Source = Bind(Objectname_)
  6457.      On Event Click From Source Call Click
  6458. End Sub
  6459. '++LotusScript Development Environment:2:2:Click:1:12
  6460. Sub Click(Source As Button)
  6461.      ViewDelete     
  6462.      
  6463. End Sub
  6464. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  6465. '++LotusScript Development Environment:2:5:(Forward):0:1
  6466. Declare Sub Click(Source As Button)
  6467. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6468. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6469. Private Sub BindEvents(Byval Objectname_ As String)
  6470.      Static Source As BUTTON
  6471.      Set Source = Bind(Objectname_)
  6472.      On Event Click From Source Call Click
  6473. End Sub
  6474. '++LotusScript Development Environment:2:2:Click:1:12
  6475. Sub Click(Source As Button)
  6476.      PrintWebDocument
  6477.      
  6478. End Sub
  6479. S_uchen
  6480. '++LotusScript Development Environment:2:5:(Options):0:66
  6481. '++LotusScript Development Environment:2:5:(Forward):0:1
  6482. Declare Sub Click(Source As Button)
  6483. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6484. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6485. Private Sub BindEvents(Byval Objectname_ As String)
  6486.      Static Source As BUTTON
  6487.      Set Source = Bind(Objectname_)
  6488.      On Event Click From Source Call Click
  6489. End Sub
  6490. '++LotusScript Development Environment:2:2:Click:1:12
  6491. Sub Click(Source As Button)
  6492.      
  6493.      Dim docLocal As NotesDocument
  6494.      Dim docCollection As NotesDocumentCollection     
  6495.      Set docCollection = db.UnprocessedDocuments
  6496.      If (docCollection.Count = 0) Then
  6497.           Msgbox "Sie m
  6498. ssen ein Dokument w
  6499. hlen.",16,"Fehler"
  6500.           Exit Sub
  6501.      End If
  6502.      Set docLocal = docCollection.GetFirstDocument
  6503.      OpenSearchSite docLocal
  6504. End Sub
  6505. $IndexY
  6506.     0S0E
  6507. _Weiterleiten)
  6508. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  6509. '++LotusScript Development Environment:2:5:(Forward):0:1
  6510. Declare Sub Click(Source As Button)
  6511. Declare Function GetInternetProfile
  6512. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6513. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6514. Private Sub BindEvents(Byval Objectname_ As String)
  6515.      Static Source As BUTTON
  6516.      Set Source = Bind(Objectname_)
  6517.      On Event Click From Source Call Click
  6518. End Sub
  6519. '++LotusScript Development Environment:2:2:Click:1:12
  6520. Sub Click(Source As Button)
  6521.      
  6522.      Dim docLocal As NotesDocument
  6523.      Dim webdoc As notesdocument
  6524.      Dim docCollection As NotesDocumentCollection     
  6525.      Set docCollection = db.UnprocessedDocuments
  6526.      If (docCollection.Count = 0) Then
  6527.           Msgbox "Sie m
  6528. ssen ein Dokument w
  6529. hlen.",16,"Fehler"
  6530.           Exit Sub
  6531.      End If
  6532.      Set docLocal = docCollection.GetFirstDocument
  6533.      If docLocal.hasitem("URL") Then
  6534.           docLocal.tmpWebServer  = docProfile.WebServer
  6535.           docLocal.tmpWebDb = docProfile.WebDatabase
  6536.           docLocal.Save True, True
  6537.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  6538. r gemeinsame Nutzung", doclocal)) Then
  6539.                docLocal.Save True, True
  6540.                Select Case docLocal.SharedOptions(0)
  6541.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  6542.                Case "2" : 'user wants to copy this to the shared web database
  6543.                     If docLocal.Form(0) = "WebBrowserForm" Then
  6544.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  6545.                     Else
  6546.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  6547.                     End If
  6548.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  6549.                     If docLocal.Form(0) = "WebBrowserForm" Then
  6550.                          CreateRatingDocument docLocal, browserobject.locationurl,browserobject.locationname
  6551.                     Else
  6552.                          CreateRatingDocument docLocal,docLocal.url(0),docLocal.title(0)
  6553.                     End If
  6554.                End Select
  6555.           'remove any remaining fields that don't need to be carried around
  6556.                docLocal.removeItem "ForwardTo"
  6557.                docLocal.RemoveItem "SharedOptions" 
  6558.                docLocal.RemoveItem "Rating"
  6559.                docLocal.removeItem "Content"
  6560.                docLocal.removeItem "Comments"
  6561.           End If     
  6562.           docLocal.RemoveItem "tmpWebServer"
  6563.           docLocal.RemoveItem "tmpWebDb"
  6564.           docLocal.Save True, True
  6565.      Else
  6566.           Msgbox "Dieses Dokument enth
  6567. lt keine URLs."
  6568.      End If
  6569. End Sub
  6570. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  6571. Function GetInternetProfile
  6572.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  6573.      Set view = db.getView("(Internet Profile)")
  6574.      Set GetInternetProfile = view.GetFirstDocument
  6575. End Function
  6576. Internet Profiles
  6577. Internet Options
  6578. WebServer
  6579.     0S0E
  6580. _Kategorisierene
  6581. Dokument _bearbeiten
  6582. Dokument _senden
  6583. In Ordner _verschieben...
  6584. Seiten in Ordner verschieben...
  6585.     0S0E
  6586. Aus Ordner _entfernen... i
  6587. _Zu Lesezeichen reduzieren'++LotusScript Development Environment:2:5:(Options):0:66
  6588. '++LotusScript Development Environment:2:5:(Forward):0:1
  6589. Declare Sub Click(Source As Button)
  6590. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6591. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6592. Private Sub BindEvents(Byval Objectname_ As String)
  6593.      Static Source As BUTTON
  6594.      Set Source = Bind(Objectname_)
  6595.      On Event Click From Source Call Click
  6596. End Sub
  6597. '++LotusScript Development Environment:2:2:Click:1:12
  6598. Sub Click(Source As Button)
  6599.      
  6600.      Dim docCollection As NotesDocumentCollection
  6601.      Dim docLocal As NotesDocument
  6602.      
  6603.      Set docCollection = db.UnprocessedDocuments
  6604.      If (docCollection.Count = 0) Then
  6605.           Msgbox "Sie m
  6606. ssen ein Dokument w
  6607. hlen.",16,"Fehler"
  6608.           Exit Sub
  6609.      End If
  6610.      Set docLocal = docCollection.GetFirstDocument
  6611.      While Not (docLocal Is Nothing)
  6612.           RemoveObjects docLocal
  6613.           ReduceToLink docLocal
  6614.           Set docLocal = docCollection.GetNextDocument(docLocal)
  6615.      Wend
  6616. End Sub
  6617. Microsoft Favoriten importieren...'++LotusScript Development Environment:2:5:(Options):0:66
  6618. '++LotusScript Development Environment:2:5:(Forward):0:1
  6619. Declare Sub Click(Source As Button)
  6620. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6621. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6622. Private Sub BindEvents(Byval Objectname_ As String)
  6623.      Static Source As BUTTON
  6624.      Set Source = Bind(Objectname_)
  6625.      On Event Click From Source Call Click
  6626. End Sub
  6627. '++LotusScript Development Environment:2:2:Click:1:12
  6628. Sub Click(Source As Button)
  6629.      
  6630.      ImportFavorites
  6631. End Sub
  6632. Netscape Lesezeichen importieren....'++LotusScript Development Environment:2:5:(Options):0:66
  6633. '++LotusScript Development Environment:2:5:(Forward):0:1
  6634. Declare Sub Click(Source As Button)
  6635. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6636. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6637. Private Sub BindEvents(Byval Objectname_ As String)
  6638.      Static Source As BUTTON
  6639.      Set Source = Bind(Objectname_)
  6640.      On Event Click From Source Call Click
  6641. End Sub
  6642. '++LotusScript Development Environment:2:2:Click:1:12
  6643. Sub Click(Source As Button)
  6644.      
  6645.      ImportBookmarks
  6646. End Sub
  6647. Weiterleiten...
  6648. '++LotusScript Development Environment:2:5:(Options):0:66
  6649. '++LotusScript Development Environment:2:5:(Forward):0:1
  6650. Declare Sub Click(Source As Button)
  6651. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6652. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6653. Private Sub BindEvents(Byval Objectname_ As String)
  6654.      Static Source As BUTTON
  6655.      Set Source = Bind(Objectname_)
  6656.      On Event Click From Source Call Click
  6657. End Sub
  6658. '++LotusScript Development Environment:2:2:Click:1:12
  6659. Sub Click(Source As Button)
  6660.      
  6661.      Dim docLocal As NotesDocument
  6662.      Dim docCollection As NotesDocumentCollection     
  6663.      Set docCollection = db.UnprocessedDocuments
  6664.      If (docCollection.Count = 0) Then
  6665.           Msgbox "Sie m
  6666. ssen ein Dokument w
  6667. hlen.",16,"Fehler"
  6668.           Exit Sub
  6669.      Else
  6670.           For j = 1 To docCollection.Count
  6671.                Set docLocal = docCollection.getnthdocument(j)               
  6672.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  6673.                     Select Case docLocal.ForwardOptions(0)
  6674.                     Case "1" : 'user wants to forward the URL only
  6675.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  6676.                     Case "2" : 'user wants to send entire page
  6677.                          Call  ViewForward(docLocal)
  6678.                     End Select
  6679.           'remove any remaining fields that don't need to be carried around
  6680.                     docLocal.RemoveItem "ForwardOptions" 
  6681.                     docLocal.save True, False
  6682.                     
  6683.                End If
  6684.                Exit Sub
  6685.           Next
  6686.      End If
  6687.      Exit Sub
  6688. End Sub
  6689. Lotus Product
  6690. Lotus Product
  6691. Lotus Product
  6692. Lotus Product
  6693. Lotus Product
  6694. Lotus Product
  6695. Lotus Product
  6696. Lotus Product
  6697. '++LotusScript Development Environment:2:5:(Options):0:74
  6698. Option Public
  6699. Use "InternetFunctions"
  6700. '++LotusScript Development Environment:2:5:(Forward):0:1
  6701. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6702. Lotus Product
  6703. '++LotusScript Development Environment:2:5:(Options):0:66
  6704. '++LotusScript Development Environment:2:5:(Forward):0:1
  6705. Declare Sub Postopen(Source As Notesuiview)
  6706. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  6707. '++LotusScript Development Environment:2:5:(Declarations):0:2
  6708. '++LotusScript Development Environment:2:2:BindEvents:1:129
  6709. Private Sub BindEvents(Byval Objectname_ As String)
  6710.      Static Source As NOTESUIVIEW
  6711.      Set Source = Bind(Objectname_)
  6712.      On Event Postopen From Source Call Postopen
  6713.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  6714. End Sub
  6715. '++LotusScript Development Environment:2:2:Postopen:1:12
  6716. Sub Postopen(Source As Notesuiview)
  6717.      InstantiateObjects
  6718. End Sub
  6719. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  6720. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  6721.      Call MoveToFolder(source,target,continue)
  6722. End Sub
  6723. Lotus Product
  6724. O=Lotus
  6725. O=Lotus
  6726. PURSAFO
  6727. O=Lotus
  6728. OU=DUB/O=Lotus
  6729. PURSAFO
  6730. }NFib
  6731. OU=DUB/O=Lotus
  6732. CN=Shaun McGale/OU=DUB/O=Lotus
  6733. PURSAFO
  6734. $Language
  6735. $LastBuildTime
  6736. $BabelInfo
  6737. $TITLE
  6738. $Index
  6739. $Formula
  6740. $FormulaClass
  6741. $ViewFormat
  6742. $FormFormula
  6743. $Comment
  6744. $V5ACTIONS
  6745. $ACTIONS
  6746. $SCRIPTOBJ_0
  6747. $SCRIPTOBJ_1
  6748. $SCRIPTOBJ_2
  6749. $SCRIPTOBJ_4
  6750. $SCRIPTOBJ_11
  6751. $SCRIPTOBJ_12
  6752. $SCRIPTOBJ_13
  6753. $SCRIPTOBJ_14
  6754. $ViewGlobalScript
  6755. $ViewGlobalScript_O
  6756. $ViewScript
  6757. $ViewScript_O
  6758. '++LotusScript Development Environment:2:5:(Options):0:74
  6759. Use "AgentFunctions"
  6760. '++LotusScript Development Environment:2:5:(Forward):0:1
  6761. Declare Sub Initialize
  6762. Declare Function NeedToRun(Frequency As Variant) As Integer
  6763. Declare Sub MindURLs(Options As Variant)
  6764. Declare Function DocumentHasBeenRefreshed(CurrentUrl As Variant) As Integer
  6765. Declare Function AppendTitle(Title As String) As String
  6766. '++LotusScript Development Environment:2:5:(Declarations):0:10
  6767. Dim PageMinderFolder As notesview
  6768. Dim EmailAddress As Variant
  6769. Dim CurrentWebDocument As notesdocument
  6770. Dim PreviousWebdocument As notesdocument
  6771. Dim Memo As NotesDocument
  6772. Dim AgentDoc As notesdocument
  6773. Dim Frequency As Variant
  6774. Dim ResultOptions As Variant
  6775. Dim LastRun As Variant
  6776. Dim PageMinderAgent As NotesAgent
  6777. Dim NewWebDocument As notesdocument
  6778. Dim LoadURLLinks As Integer
  6779. '++LotusScript Development Environment:2:2:Initialize:1:10
  6780. Sub Initialize
  6781.      
  6782.      '*
  6783.      '*  The purpose of this agent is to monitor specific pages within the page minder folder and e-mail
  6784.      '*  either changed pages or a newsletter summary to the current user or whoever is listed
  6785.      '*  in the Internet Profile as the email address.
  6786.      '*  This agent makes extensive use of Agent Logging functions.  Please check your local copy of agentlog.nsf 
  6787.      '*  for status and error messages.
  6788.      '*
  6789.      
  6790.      '*
  6791.      '*  Initialize Variables
  6792.      '*
  6793.      On Error Goto ProcessError
  6794.      
  6795.      InstantiateAgentObjects
  6796.      Set dataDoc = Session.SavedData
  6797.      Set WebDatabase = Session.CurrentDatabase
  6798.      Set PageMinderAgent = Session.CurrentAgent
  6799.      Set dt = New NotesDateTime ("1/1/90")
  6800.      
  6801.      LoadURLLinks = False
  6802.      
  6803.      '*
  6804.      '*  Open/Create the Agent Error Log on the client.
  6805.      '*
  6806.      
  6807.      Set AgentLog = OpenLog(PageMinderAgent.name)
  6808.      
  6809.      If LogLocation = "Agent Log" Then
  6810.           agentLog.LogErrors = True     
  6811.      End If
  6812.      
  6813.      Call logaction( "Agent 'Page Minder' wird gestartet...")
  6814.      
  6815.      If (datadoc Is Nothing) Then
  6816.           Set datadoc = New Notesdocument (WebDatabase) 
  6817.      End If
  6818.      '*
  6819.      '*  Make sure that the location settings are correct for local retrievals
  6820.      '*
  6821.      
  6822.      If WebLocationOK Then
  6823.           
  6824.      '*
  6825.      '*  Make sure that the database variable was initialized.
  6826.      '*
  6827.           
  6828.           If  (WebDatabase Is Nothing) Then
  6829.                
  6830.                Call logerror( 1, "Die Web-Datenbank konnte nicht initialisiert werden. Das Programm wird beendet, ohne da
  6831.  URLs 
  6832. berpr
  6833. ft werden.")
  6834.                Goto Cleanup
  6835.           End If
  6836.           
  6837.      '*
  6838.      '*  Verify that the Page Minder Folder exists in the database.
  6839.      '*  If not, exit the program.
  6840.      '*
  6841.           
  6842.           Set PageMinderFolder = WebDatabase.getview("Web Bots\Page Minder")
  6843.           
  6844.           If (PageMinderFolder Is Nothing) Then
  6845.                Call logerror(2, "Der Ordner 'Page Minder' wurde nicht gefunden. 
  6846. berpr
  6847. fen Sie die Datenbankgestaltung, und starten Sie erneut.")
  6848.                Goto Cleanup
  6849.           End If
  6850.           
  6851.      '*
  6852.      '*  Now that the Page Minder Folder exists, check to see if there are any documents
  6853.      '*  in it.  If not, exit the program.
  6854.      '*
  6855.           Set CurrentWebDocument = PageMinderFolder.GetFirstDocument
  6856.           
  6857.           If (CurrentWebDocument Is Nothing) Then
  6858.                Call logaction( "Keine zu 
  6859. berwachende Dokumente im Ordner 'Page Minder' gefunden." )
  6860.                Goto Cleanup
  6861.           End If
  6862.           
  6863.      '*
  6864.      '*  Now that we have verified that there are documents to be checked,
  6865.      '*  we need to retrieve the pertinent fields from the Internet Profile.
  6866.      '*
  6867.           
  6868.           
  6869.           If  ( View Is Nothing ) Then
  6870.                Call logerror(3, "Die Ansicht 'Internet-Profil' wurde nicht gefunden. 
  6871. berpr
  6872. fen Sie die Datenbankgestaltung, und starten Sie den Agenten erneut.")
  6873.                Goto Cleanup
  6874.           End If
  6875.           
  6876.      '*
  6877.      '*  Make sure that an Internet profile document exists in the database.
  6878.      '*  If not, exit the program.
  6879.      '*
  6880.           
  6881.           If (docProfile Is Nothing) Then
  6882.                Call logerror(4, "Das Dokument 'Internet-Optionen' wurde nicht gefunden.  W
  6883. hlen Sie 'Aktionen - Internet-Optionen', und speichern Sie das Dokument.")
  6884.                Goto Cleanup
  6885.           End If
  6886.           
  6887.      '*
  6888.      '*  Retrieve the frequency with which we should run the agent.
  6889.      '*  If this is blank, assume daily.
  6890.      '*
  6891.           
  6892.           Frequency = docProfile.SearchFrequency
  6893.           If Frequency(0) = "" Then
  6894.                Call logaction( "Kein Intervall angegeben, es wird daraufhin von einer t
  6895. glichen 
  6896. berwachung ausgegangen.")
  6897.                Call docProfile.Replaceitemvalue("SearchFrequency", "2")
  6898.                Call docProfile.Save(True,False)
  6899.                Frequency = docProfile.SearchFrequency
  6900.           End If
  6901.           
  6902.      '*
  6903.      '*  Retrieve the SendMailTo field to determine where we send
  6904.      '*  results to.  If this is blank, sub in the current username.
  6905.      '*
  6906.           EmailAddress = docProfile.SendMailto
  6907.           If EmailAddress(0) = "" Then
  6908.                Call logaction( "Es wurde keine Adresse angegeben, an die die Ergebnisse gesendet werden. Angenommen wird folgende Adresse: " + session.username)
  6909.                Call docProfile.Replaceitemvalue("SendMailto", Session.Username)
  6910.                Call docProfile.Save(True,False)
  6911.                EmailAddress = docProfile.SendMailto
  6912.           End If
  6913.           
  6914.      '*
  6915.      '*  Retrieve the value of the UpdatesFoundOptions field
  6916.      '*  to determine what it is that we should do with the results 
  6917.      '*  of the Pages that have changed.  If it's blank, assume 
  6918.      '*  newsletter summary.
  6919.      '*
  6920.           ResultOptions = docProfile.UpdatesFoundOptions
  6921.           If ResultOptions(0) = "" Then
  6922.                Call logaction( "Es wurde kein Format f
  6923. r die Ergebnisse angegeben. Angenommen wird das Infobrief-
  6924. bersichtsformat." )
  6925.                Call docProfile.Replaceitemvalue("UpdatesFoundOptions", "1")
  6926.                Call docProfile.Save(True,False)
  6927.                ResultOptions = docProfile.UpdatesFoundOptions
  6928.           End If
  6929.           
  6930.      '*
  6931.      '*  Now determine if we have to check the pages based on the last time this
  6932.      '*  agent is run.  
  6933.      '*
  6934.           
  6935.           If PageMinderAgent.LastRun <> "" Then
  6936.                If (NeedToRun (Frequency)) Then
  6937.                     Call logaction( "Gem
  6938.  dem angegebenen Intervall werden die URLs jetzt 
  6939. berpr
  6940. ft.")
  6941.                     MindURLs(ResultOptions(0))
  6942.                End If
  6943.           Else
  6944.                'This must be the first time we've run this so we don't need to check when it was last run.
  6945.                MindURLs(ResultOptions(0))
  6946.           End If
  6947.           
  6948.      End If
  6949.      Goto cleanup  
  6950. ProcessError:
  6951.      Call logerror(Err, Error$)
  6952.      Call logaction("Der vorherige Fehler ist in der Initialisierungsroutine des Bereinigungsagenten aufgetreten.")
  6953.      Resume Next     
  6954. Cleanup:  'Cleanup all the old memo forms created by the agent
  6955.      Set documents = db.search("form = ""Memo""", dt, 0)
  6956.      If documents.count<>0 Then
  6957.           For j = 1 To documents.count
  6958.                Set memo = documents.getnthdocument(j)
  6959.                memo.remove True
  6960.           Next
  6961.      End If
  6962.      Call logaction("Der Agent 'Page Minder' wurde beendet."     )
  6963.      If LogLocation = "Agent Log" Then
  6964.           Call agentlog.close
  6965.      End If
  6966. End Sub
  6967. '++LotusScript Development Environment:2:1:NeedToRun:1:8
  6968. Function NeedToRun(Frequency As Variant) As Integer
  6969.      
  6970.      '*
  6971.      '*  This function determines if we need to run the agent
  6972.      '*  based on the frequency selection in the Internet Profile
  6973.      '*  The function returns a value of true or false depending on when the agent
  6974.      '*  was last run.
  6975.      '*
  6976.      
  6977.      On Error Goto ProcessError     
  6978.      Dim CurrentTime As New  NotesDatetime ("Jetzt")
  6979.      Dim LastRunDate As New NotesDateTime(datadoc.LastRunTime(0))
  6980.      Dim Starttime As New NotesDateTime("1/1/70")
  6981.      NeedToRun = False
  6982.      Call CurrentTime.Setnow
  6983.      If LastRunDate.lslocaltime < Starttime.lslocaltime Then
  6984.           NeedToRun = True
  6985.           Exit Function
  6986.      End If
  6987.      
  6988.      Select Case Frequency(0) 
  6989.           
  6990.      Case  "0"
  6991.           
  6992.           If CurrentTime.timedifference(LastRunDate) > 3600  Or  Isempty(LastRunDate.LocalTime) Then
  6993.                Call logaction( "
  6994. ber eine Stunde ist vergangen. Es ist Zeit, die URLs zu 
  6995. berpr
  6996. fen.")
  6997.                NeedToRun = True
  6998.           End If
  6999.      Case "1"
  7000.           If CurrentTime.timedifference(LastRunDate) >14400 Or  Isempty(LastRunDate.LocalTime)  Then
  7001.                Call logaction( "Mehr als 4 Stunden sind vergangen. Es ist Zeit, die URLs zu 
  7002. berpr
  7003. fen.")
  7004.                NeedToRun = True
  7005.           End If
  7006.      Case "2"
  7007.           If CurrentTime.timedifference(LastRunDate) >86400 Or  Isempty(LastRunDate.LocalTime)   Then
  7008.                Call logaction( "Mehr als ein Tag ist vergangen. Es ist Zeit, die URLs zu 
  7009. berpr
  7010. fen.")
  7011.                NeedToRun = True
  7012.           End If
  7013.      Case  "3"
  7014.           If CurrentTime.timedifference(LastRunDate) > 604800 Or  Isempty(LastRunDate.LocalTime)  Then
  7015.                Call logaction( "
  7016. ber eine Woche ist vergangen. Es ist Zeit, die URLs zu 
  7017. berpr
  7018. fen.")
  7019.                NeedToRun = True
  7020.           End If
  7021.      End Select
  7022.      Exit Function
  7023.      
  7024. ProcessError:
  7025.      Call logerror(Err, Error$)
  7026.      Call logaction("Der vorherige Fehler ist in der Routine 'NeedToRun' des Agenten 'Page Minder' aufgetreten.")
  7027.      Resume Next 
  7028.      
  7029. End Function
  7030. '++LotusScript Development Environment:2:2:MindURLs:1:8
  7031. Sub MindURLs(Options As Variant)
  7032.      
  7033.      '*
  7034.      '*  This subroutine performs the test on each document in the page minder
  7035.      '*  folder to see if the document has changed.  If it has, it sends the requested form
  7036.      '*  of e-mail to the user specified in the Internet options.
  7037.      '*
  7038.      On Error Goto ProcessError
  7039.      
  7040.      Dim url As Variant
  7041.      Dim Memo As NotesDocument
  7042.      Dim Memo1 As NotesDocument
  7043.      Dim Body As NotesrichTextItem
  7044.      Dim Body1 As NotesrichTextItem
  7045.      Dim Body2 As NotesrichTextItem
  7046.      Dim background As notesitem
  7047.      Dim papercolor As notesitem
  7048.      Dim SendMail As Integer
  7049.      Dim FirstTime As Integer
  7050.      Dim Successful As Integer
  7051.      
  7052.      If Options = "1" Then
  7053.           Set Memo = New NotesDocument(WebDatabase)
  7054.           Set Body = New NotesRichTextItem(Memo, "Body")
  7055.           Set Body1 = New NotesRichTextItem(Memo, "Body1")
  7056.           Set Body2 = New NotesRichTextItem(Memo, "Body2")
  7057.           Call Memo.ReplaceItemValue( "Subject", "Ergebnisse des Agenten 'Page Minder' f
  7058. r "+ WebDatabase.Filename )
  7059.           Call Memo.ReplaceItemValue( "Form", "Memo" )
  7060.           Call Memo.Save(True,False)
  7061.           SendMail = False
  7062.           FirstTime = True
  7063.           Successful = True
  7064.      Elseif Options = "0" Then
  7065.           Sendmail = False
  7066.           FirstTime = True
  7067.      End If
  7068.      
  7069.      While Not (CurrentWebDocument Is Nothing) 
  7070.           If CurrentWebdocument.form(0) = "HelpForm"  Then Goto nextdocument
  7071.           If CurrentWebDocument.hasitem("url") Then
  7072.                url = CurrentWebDocument.url(0)
  7073.                
  7074.                If url = "" Then
  7075.                     Call logerror(7,  "Das URL-Feld ist leer. Entfernen Sie die Seite aus dem Ordner 'Page Minder'.")
  7076.                     Call CurrentWebDocument.ReplaceItemValue("PageMinderStatus", "2")
  7077.                     Call CurrentWebDocument.Save(True, False)
  7078.                     Goto NextDocument
  7079.                End If
  7080.                
  7081.                If (CurrentWebDocument.HTTPStatus(0) <> "200") Or (CurrentWebDocument.HTTPStatus(0) <> "304") Then
  7082.                     Goto Continue  
  7083.                End If
  7084.                
  7085.                If CurrentWebDocument.HTTPLast_Modified(0) = "" Then
  7086. NoLastModified:
  7087.                     If Options = "1"  And FirstTime Then
  7088.                          Call Body1.AddNewLine(1)
  7089.                          Call Body1.AppendText("Die folgenden Seiten befinden sich auf HTTP-Servern, die den Befehl 'Last-Modified' nicht unterst
  7090. tzen:")
  7091.                          Call Body1.AddNewLine(2)
  7092.                          Call Body1.AppendText(AppendTitle(CurrentWebDocument.Title(0)))
  7093.                          Call Body1.AddTab(2)
  7094.                          Call Body1.AppendText(CurrentWebdocument.url(0))
  7095.                          Call Body1.AddNewLine(1)
  7096.                          Call Memo.Save(True, False)
  7097.                          FirstTime = False
  7098.                          SendMail = True
  7099.                     Elseif Options = "1" Then
  7100.                          Call Body1.AppendText(AppendTitle(CurrentWebDocument.Title(0)))
  7101.                          Call Body1.AddTab(2)
  7102.                          Call Body1.AppendText(CurrentWebdocument.url(0))
  7103.                          Call Body1.AddNewLine(1)
  7104.                          Call Memo.Save(True, False)
  7105.                          SendMail = True
  7106.                     Elseif Options = "0" And FirstTime Then
  7107.                          Set Memo1 = New NotesDocument(WebDatabase)
  7108.                          Set Body1 = New NotesRichTextItem(Memo1, "Body")  
  7109.                          Call Memo1.ReplaceItemValue( "Subject", "Ergebnisse des Agenten 'Page Minder' f
  7110. r "+WebDatabase.Filename  )
  7111.                          Call Memo1.ReplaceItemValue( "Form", "Memo" )
  7112.                          Call Body1.AppendText("Die folgenden Seiten befinden sich auf HTTP-Servern, die den Befehl 'Last-Modified' nicht unterst
  7113. tzen:")
  7114.                          Call Body1.AddNewLine(2)
  7115.                          Call Body1.AppendText(AppendTitle(CurrentWebDocument.Title(0)))
  7116.                          Call Body1.AddTab(2)
  7117.                          Call Body1.AppendText(CurrentWebdocument.url(0))
  7118.                          Call Body1.AddNewLine(1)
  7119.                          Call Memo1.Save(True, False)
  7120.                          FirstTime = False
  7121.                          SendMail = True
  7122.                     Elseif Options = "0" Then
  7123.                          Call Body1.AppendText(AppendTitle(CurrentWebDocument.Title(0)))
  7124.                          Call Body1.AddTab(2)
  7125.                          Call Body1.AppendText(CurrentWebdocument.url(0))
  7126.                          Call Body1.AddNewLine(1)
  7127.                          Call Memo1.Save(True, False)
  7128.                          SendMail = True
  7129.                     End If
  7130.                     Call CurrentWebDocument.ReplaceItemValue("PageMinderStatus", "1")
  7131.                     Call CurrentWebDocument.Save(True, False)
  7132.                     Goto NextDocument
  7133.                End If
  7134.                
  7135. Continue:
  7136.                Set NewWebDocument = RetrieveOverInternet(url,CurrentWebDocument,LoadURLLinks) 
  7137.                If NewWebDocument.HTTPStatus(0) = "401" Then Goto AuthenticationFailed
  7138.                If NewWebDocument.HTTPLast_Modified(0) = "" Then  Goto NoLastModified    
  7139.                If  DocumentHasBeenRefreshed(url) Then
  7140.                     If (NewWebDocument.HTTPStatus(0) = "200") Or (NewWebdocument.HTTPStatus(0) = "304")  Then
  7141.                          Call agentlog.logaction( "Erfolgreich abgerufen wurde(n) " +NewWebDocument.URL(0)+" Seite")
  7142.                          Call NewWebDocument.ReplaceItemValue("PageMinderStatus", "0")
  7143.                          Call NewWebdocument.Save(True,False)
  7144.                          Call NewWebdocument.PutInFolder("Web Bots\Page Minder")
  7145.                          
  7146.                          If Options = "0" Then
  7147.                               Set Memo = New NotesDocument(WebDatabase)
  7148.                               Call Memo.ReplaceItemValue( "Subject", "Ergebnisse des Agenten 'Page Minder' f
  7149. r " + NewWebDocument.url(0)+ " in der Datei "+WebDatabase.Filename)
  7150.                               Call Memo.Replaceitemvalue("Form", "Memo")
  7151.                               If NewWebdocument.hasitem("$Background") Then
  7152.                                    Set background = NewWebdocument.getfirstitem("$Background")
  7153.                                    Call memo.copyitem(background, "$Background")
  7154.                               End If
  7155.                               If NewWebdocument.hasitem("$PaperColor") Then
  7156.                                    Set papercolor = NewWebdocument.getfirstitem("$PaperColor")
  7157.                                    Call memo.copyitem(papercolor, "$PaperColor")
  7158.                               End If
  7159.                               Set Body = New NotesRichTextItem(Memo, "Body")  
  7160.                               Call NewWebDocument.Rendertortitem(Body)
  7161.                               Call Memo.save(True,False)
  7162.                               Call Memo.send(False, EMailAddress)
  7163.                          Elseif Options ="1" And Successful Then
  7164.                               Call Body2.AddNewLine(1)
  7165.                               Call Body2.AppendText("Die folgenden Seiten haben sich ge
  7166. ndert am "+Cstr(Today)+":")   
  7167.                               Call Body2.AddNewLine(2)
  7168.                               Call Body2.AppendText(AppendTitle(NewWebDocument.Title(0)))
  7169.                               Call Body2.AddTab(2)
  7170.                               Call Body2.AppendText(NewWebDocument.url(0))
  7171.                               Call Body2.AddNewLine(1)
  7172.                               Call Memo.Save(True, False)
  7173.                               Successful = False
  7174.                               SendMail = True
  7175.                          Elseif Options = "1" Then
  7176.                               Call Body2.AppendText(AppendTitle(NewWebDocument.Title(0)))
  7177.                               Call Body2.AddTab(2)
  7178.                               Call Body2.AppendText(NewWebDocument.url(0))
  7179.                               Call Body2.AddNewLine(1)
  7180.                               Call Memo.Save (True, False)
  7181.                               SendMail = True
  7182.                          End If
  7183.                     Elseif NewWebDocument.HTTPStatus(0) = "401" Then
  7184. AuthenticationFailed:
  7185.                          Call logerror(8,"Der Agent 'Page Minder' verf
  7186. gt nicht 
  7187. ber die erforderlichen Authentifizierungsinformationen f
  7188. r "+NewWebDocument.url(0)+".  Seite wurde nicht korrekt abgerufen.")
  7189.                          Call NewWebDocument.ReplaceItemValue("PageMinderStatus", "2")
  7190.                          Call NewWebDocument.Save(True, False)
  7191.                          Call NewWebdocument.removefromfolder("Web Bots\Page Minder")
  7192.                          If GetLocationItem("WebRetriever")(0) <> "3" Then
  7193.                               Dim AuthenticationMemo As New Notesdocument(WebDatabase)
  7194.                               Set Body = New NotesRichTextItem(AuthenticationMemo, "Body")
  7195.                               Call AuthenticationMemo.ReplaceItemValue( "Subject", "Agent 'Page Minder' ben
  7196. tigt Authentifizierungsinformationen ")
  7197.                               Call AuthenticationMemo.ReplaceItemValue( "Form", "Memo" )
  7198.                               Call Body.AddNewLine(1)
  7199.                               Call Body.Appendtext("Die folgende Seite ben
  7200. tigt Angaben zur Authentifizierung. Bitte rufen Sie die Seite manuell ab, und verschieben Sie sie erneut in den Ordner 'Page Minder'.")
  7201.                               Call Body.AddNewLine(2)
  7202.                               Call Body.AppendDocLink(NewWebDocument, NewWebDocument.url(0))
  7203.                               Call Body.AddTab(2)
  7204.                               Call Body.AppendText(NewWebDocument.Title(0))
  7205.                               Call Body.AddNewLine(1)
  7206.                               Call AuthenticationMemo.Save (True, False)
  7207.                               Call AuthenticationMemo.send(False, EMailAddress)
  7208.                          Else
  7209.                               Call agentlog.Logaction("'Page Minder' unterst
  7210. tzt bei der Einstellung 'Notes mit Internet Explorer' keine authentifizierten Seiten.")
  7211.                          End If
  7212.                     Else
  7213.                          Call logerror(9, "'Page Minder' erhielt einen ung
  7214. ltigen Statuscode: " + Cstr(NewWebDocument.HttpStatus(0)) +".  Seite " + Cstr(NewWebDocument.url(0))+" wurde nicht korrekt abgerufen.")
  7215.                          Call NewWebDocument.ReplaceItemValue("PageMinderStatus", "2")
  7216.                          Call NewWebDocument.Save(True, False)
  7217.                     End If
  7218.                Else
  7219.                     Call CurrentWebDocument.ReplaceItemValue("PageMinderStatus", "3")
  7220.                     Call CurrentWebDocument.Save(True, False)
  7221.                End If
  7222.           Else
  7223.                Call logerror(7, "Das Dokument enth
  7224. lt kein URL-Feld. Entfernen Sie es aus dem Ordner 'Page Minder'.")
  7225.                Call CurrentWebDocument.ReplaceItemValue("PageMinderStatus", "2")
  7226.                Call CurrentWebDocument.Save(True, False)
  7227.           End If      
  7228. NextDocument:
  7229.           
  7230.           Set CurrentWebDocument=PageMinderFolder.GetNextDocument(CurrentWebDocument)
  7231.           
  7232.      Wend
  7233.      
  7234.      If SendMail Then
  7235.      '*
  7236.      '* Now that we're done checking the pages, if the user
  7237.      '* requested a newsletter summary of the results, let's mail it.
  7238.      '*
  7239.           If Options = "1" Then
  7240.                Set Body = New NotesRichTextItem(Memo, "Body")  
  7241.                If Body2.Type = RICHTEXT Then
  7242.                     Call Body.Appendrtitem(Body2)
  7243.                End If
  7244.                If Not (Body1 Is Nothing) Then
  7245.                     If Body1.Type = RICHTEXT Then
  7246.                          Call Body.Appendrtitem( Body1)
  7247.                     End If
  7248.                End If
  7249.                Call Memo.Save(True, False)
  7250.                Call Memo.Send(False, EMailAddress)
  7251.           Elseif Options = "0" And Not (Memo1 Is Nothing) Then
  7252.                If Body1.Type  =  RICHTEXT Then
  7253.                     Call Memo1.send(False,EMailAddress)
  7254.                End If
  7255.           End If
  7256.      End If
  7257.      Goto EndSub
  7258.      
  7259. ProcessError:
  7260.      Call logerror(Err, Error$)
  7261.      Call logaction("Der vorherige Fehler ist in der Routine 'MindURLs' des Agenten 'Page Minder' aufgetreten.")
  7262.      Resume Next     
  7263. EndSub:
  7264.      Call datadoc.Replaceitemvalue("LastRunTime", Now)
  7265.      Call datadoc.Save(True,False)
  7266. End Sub
  7267. '++LotusScript Development Environment:2:1:DocumentHasBeenRefreshed:1:8
  7268. Function DocumentHasBeenRefreshed(CurrentUrl As Variant) As Integer
  7269.      
  7270.      '*
  7271.      '*  The purpose of this function is to determine if the web page
  7272.      '*  that we are monitoring has changed.  If it has, the function
  7273.      '*  returns true.
  7274.      '*
  7275.      Dim LastRunDate As New NotesDateTime(datadoc.LastRunTime(0))
  7276.      DocumentHasBeenRefreshed = False     
  7277.      
  7278.      '*
  7279.      '*  Get the date that the document was last refreshed and
  7280.      '*  save it for future comparisons.
  7281.      '*
  7282.      
  7283.      
  7284.      Dim DateLastModified As New NotesDateTime(NewWebDocument.HTTPLast_modified(0))
  7285.      If (DebugFlag = "1") Then
  7286.           Call logaction( "Zuletzt ge
  7287. ndert (GMT): " + Cdat(DateLastModified.LSGMTTime))
  7288.      End If
  7289.      
  7290.      
  7291.      
  7292.      If Cdat(DateLastModified.LSGMTTime) > Cdat(LastRunDate.LSGMTTime) Or Isempty(LastRunDate.LocalTime) Then
  7293.           DocumentHasBeenRefreshed = True
  7294.      End If
  7295.      
  7296.      
  7297. End Function
  7298. '++LotusScript Development Environment:2:1:AppendTitle:1:8
  7299. Function AppendTitle(Title As String) As String
  7300.      Dim titlelength As Integer
  7301.      titlelength = Len(title)
  7302.      If titlelength<40 Then
  7303.           NewTitle = "                                        "
  7304.           Lset NewTitle = title
  7305.           AppendTitle = NewTitle
  7306.      Elseif titlelength >40 Then
  7307.           AppendTitle = Left$(title, 40)
  7308.      End If
  7309. End Function
  7310. Lotus Product
  7311.           0    0    
  7312. }L Kl
  7313. O=Lotus Notes
  7314. O=Lotus Notes
  7315. PURSAFO
  7316. |.:#U
  7317. O=Lotus Notes
  7318. CN=Lotus Notes Template Development/O=Lotus Notes
  7319. PURSAFO
  7320. >%h#-
  7321. $AssistType
  7322. $AssistLastRun
  7323. $AssistDocCount
  7324. $AssistFlags
  7325. $AssistTrigger
  7326. $AssistInfo
  7327. $AssistAction
  7328. $AssistQuery
  7329. $AssistAction_Ex
  7330. $Language
  7331. $LastBuildTime
  7332. $BabelInfo
  7333. www.G
  7334. www.`
  7335.     15S18S36S39S
  7336. $44Title$36$Conflict$C1$
  7337. HTMLForm
  7338. $Title
  7339. HTMLFormDoc
  7340. Guided Tour
  7341. DeferredObject
  7342. Title
  7343. BLANK.HTM
  7344. bookmark
  7345.     L1S21S
  7346. Lotus Product
  7347. _Kategorisieren
  7348. Dokument _bearbeiten
  7349. Dokument _senden
  7350. _Weiterleiteno
  7351. In Ordner _verschieben...i
  7352. Aus Ordner _entfernen... 
  7353. schen
  7354. '++LotusScript Development Environment:2:5:(Options):0:66
  7355. '++LotusScript Development Environment:2:5:(Forward):0:1
  7356. Declare Sub Click(Source As Button)
  7357. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7358. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7359. Private Sub BindEvents(Byval Objectname_ As String)
  7360.      Static Source As BUTTON
  7361.      Set Source = Bind(Objectname_)
  7362.      On Event Click From Source Call Click
  7363. End Sub
  7364. '++LotusScript Development Environment:2:2:Click:1:12
  7365. Sub Click(Source As Button)
  7366.      
  7367.      ViewDelete
  7368. End Sub
  7369. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  7370. '++LotusScript Development Environment:2:5:(Forward):0:1
  7371. Declare Sub Click(Source As Button)
  7372. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7373. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7374. Private Sub BindEvents(Byval Objectname_ As String)
  7375.      Static Source As BUTTON
  7376.      Set Source = Bind(Objectname_)
  7377.      On Event Click From Source Call Click
  7378. End Sub
  7379. '++LotusScript Development Environment:2:2:Click:1:12
  7380. Sub Click(Source As Button)
  7381.      
  7382.      PrintWebDocument
  7383. End Sub
  7384. Weiterleiten...
  7385. '++LotusScript Development Environment:2:5:(Options):0:66
  7386. '++LotusScript Development Environment:2:5:(Forward):0:1
  7387. Declare Sub Click(Source As Button)
  7388. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7389. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7390. Private Sub BindEvents(Byval Objectname_ As String)
  7391.      Static Source As BUTTON
  7392.      Set Source = Bind(Objectname_)
  7393.      On Event Click From Source Call Click
  7394. End Sub
  7395. '++LotusScript Development Environment:2:2:Click:1:12
  7396. Sub Click(Source As Button)
  7397.      
  7398.      Dim docLocal As NotesDocument
  7399.      Dim docCollection As NotesDocumentCollection     
  7400.      Set docCollection = db.UnprocessedDocuments
  7401.      If (docCollection.Count = 0) Then
  7402.           Msgbox "Sie m
  7403. ssen ein Dokument w
  7404. hlen.",16,"Fehler"
  7405.           Exit Sub
  7406.      Else
  7407.           For j = 1 To docCollection.Count
  7408.                Set docLocal = docCollection.getnthdocument(j)               
  7409.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  7410.                     Select Case docLocal.ForwardOptions(0)
  7411.                     Case "1" : 'user wants to forward the URL only
  7412.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  7413.                     Case "2" : 'user wants to send entire page
  7414.                          Call  ViewForward(docLocal)
  7415.                     End Select
  7416.           'remove any remaining fields that don't need to be carried around
  7417.                     docLocal.RemoveItem "ForwardOptions" 
  7418.                     docLocal.save True, False
  7419.                     
  7420.                End If
  7421.                Exit Sub
  7422.           Next
  7423.      End If
  7424.      Exit Sub
  7425. End Sub
  7426. _Kategorisieren
  7427. Dokument _bearbeiten
  7428. Dokument _senden
  7429. _Weiterleiten
  7430. In Ordner _verschieben...t
  7431. Aus Ordner _entfernen... t
  7432. schen
  7433. '++LotusScript Development Environment:2:5:(Options):0:66
  7434. '++LotusScript Development Environment:2:5:(Forward):0:1
  7435. Declare Sub Click(Source As Button)
  7436. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7437. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7438. Private Sub BindEvents(Byval Objectname_ As String)
  7439.      Static Source As BUTTON
  7440.      Set Source = Bind(Objectname_)
  7441.      On Event Click From Source Call Click
  7442. End Sub
  7443. '++LotusScript Development Environment:2:2:Click:1:12
  7444. Sub Click(Source As Button)
  7445.      
  7446.      ViewDelete
  7447. End Sub
  7448. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  7449. '++LotusScript Development Environment:2:5:(Forward):0:1
  7450. Declare Sub Click(Source As Button)
  7451. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7452. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7453. Private Sub BindEvents(Byval Objectname_ As String)
  7454.      Static Source As BUTTON
  7455.      Set Source = Bind(Objectname_)
  7456.      On Event Click From Source Call Click
  7457. End Sub
  7458. '++LotusScript Development Environment:2:2:Click:1:12
  7459. Sub Click(Source As Button)
  7460.      
  7461.      PrintWebDocument
  7462. End Sub
  7463. Weiterleiten...
  7464. '++LotusScript Development Environment:2:5:(Options):0:66
  7465. '++LotusScript Development Environment:2:5:(Forward):0:1
  7466. Declare Sub Click(Source As Button)
  7467. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7468. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7469. Private Sub BindEvents(Byval Objectname_ As String)
  7470.      Static Source As BUTTON
  7471.      Set Source = Bind(Objectname_)
  7472.      On Event Click From Source Call Click
  7473. End Sub
  7474. '++LotusScript Development Environment:2:2:Click:1:12
  7475. Sub Click(Source As Button)
  7476.      
  7477.      Dim docLocal As NotesDocument
  7478.      Dim docCollection As NotesDocumentCollection     
  7479.      Set docCollection = db.UnprocessedDocuments
  7480.      If (docCollection.Count = 0) Then
  7481.           Msgbox "Sie m
  7482. ssen ein Dokument w
  7483. hlen.",16,"Fehler"
  7484.           Exit Sub
  7485.      Else
  7486.           For j = 1 To docCollection.Count
  7487.                Set docLocal = docCollection.getnthdocument(j)               
  7488.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  7489.                     Select Case docLocal.ForwardOptions(0)
  7490.                     Case "1" : 'user wants to forward the URL only
  7491.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  7492.                     Case "2" : 'user wants to send entire page
  7493.                          Call  ViewForward(docLocal)
  7494.                     End Select
  7495.           'remove any remaining fields that don't need to be carried around
  7496.                     docLocal.RemoveItem "ForwardOptions" 
  7497.                     docLocal.save True, False
  7498.                     
  7499.                End If
  7500.                Exit Sub
  7501.           Next
  7502.      End If
  7503.      Exit Sub
  7504. End Sub
  7505. Lotus Product
  7506. Lotus Product
  7507. Lotus Product
  7508. '++LotusScript Development Environment:2:5:(Options):0:74
  7509. Option Public
  7510. Use "InternetFunctions"
  7511. '++LotusScript Development Environment:2:5:(Forward):0:1
  7512. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7513. Lotus Product
  7514. '++LotusScript Development Environment:2:5:(Options):0:66
  7515. '++LotusScript Development Environment:2:5:(Forward):0:1
  7516. Declare Sub Postopen(Source As Notesuiview)
  7517. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  7518. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7519. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7520. Private Sub BindEvents(Byval Objectname_ As String)
  7521.      Static Source As NOTESUIVIEW
  7522.      Set Source = Bind(Objectname_)
  7523.      On Event Postopen From Source Call Postopen
  7524.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  7525. End Sub
  7526. '++LotusScript Development Environment:2:2:Postopen:1:12
  7527. Sub Postopen(Source As Notesuiview)
  7528.      InstantiateObjects
  7529. End Sub
  7530. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  7531. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  7532.      Call MoveToFolder(source,target,continue)
  7533. End Sub
  7534. Lotus Product
  7535. O=Lotus
  7536. O=Lotus
  7537. PURSAFO
  7538. O=Lotus
  7539. OU=DUB/O=Lotus
  7540. PURSAFO
  7541. }NFib
  7542. OU=DUB/O=Lotus
  7543. CN=Shaun McGale/OU=DUB/O=Lotus
  7544. PURSAFO
  7545. 1P^P5
  7546. $SCRIPTOBJ_10
  7547. $SCRIPTOBJ_9
  7548. (Globals) Andere\Dateiarchiv|File Archi
  7549. $Language
  7550. $LastBuildTime
  7551. $BabelInfo
  7552. $TITLE
  7553. $Index
  7554. $Formula
  7555. $FormulaClass
  7556. $Totals
  7557. $ViewFormat
  7558. $Comment
  7559. $V5ACTIONS
  7560. $ACTIONS
  7561. $SCRIPTOBJ_6
  7562. $SCRIPTOBJ_7
  7563. $SCRIPTOBJ_8
  7564. $ViewGlobalScript
  7565. $ViewGlobalScript_O
  7566. $ViewScript
  7567. $ViewScript_O
  7568. Verwenden der Funktion 'Page Minder' 
  7569. Verwenden der Funktion 'Page Minder' 
  7570. Verwenden der Funktion 'Page Minder' 
  7571. Verwenden der Funktion 'Page Minder' 
  7572. Verwenden der Funktion 'Page Minder' 
  7573. Verwenden der Funktion 'Page Minder' 
  7574. Verwenden der Funktion 'Page Minder' 
  7575. schen
  7576. '++LotusScript Development Environment:2:5:(Options):0:66
  7577. '++LotusScript Development Environment:2:5:(Forward):0:1
  7578. Declare Sub Click(Source As Button)
  7579. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7580. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7581. Private Sub BindEvents(Byval Objectname_ As String)
  7582.      Static Source As BUTTON
  7583.      Set Source = Bind(Objectname_)
  7584.      On Event Click From Source Call Click
  7585. End Sub
  7586. '++LotusScript Development Environment:2:2:Click:1:12
  7587. Sub Click(Source As Button)
  7588.      ViewDelete
  7589. End Sub
  7590. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  7591. '++LotusScript Development Environment:2:5:(Forward):0:1
  7592. Declare Sub Click(Source As Button)
  7593. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7594. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7595. Private Sub BindEvents(Byval Objectname_ As String)
  7596.      Static Source As BUTTON
  7597.      Set Source = Bind(Objectname_)
  7598.      On Event Click From Source Call Click
  7599. End Sub
  7600. '++LotusScript Development Environment:2:2:Click:1:12
  7601. Sub Click(Source As Button)
  7602.      PrintWebDocument
  7603. End Sub
  7604. _Weiterleiten
  7605. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  7606. '++LotusScript Development Environment:2:5:(Forward):0:1
  7607. Declare Sub Click(Source As Button)
  7608. Declare Function GetInternetProfile
  7609. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7610. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7611. Private Sub BindEvents(Byval Objectname_ As String)
  7612.      Static Source As BUTTON
  7613.      Set Source = Bind(Objectname_)
  7614.      On Event Click From Source Call Click
  7615. End Sub
  7616. '++LotusScript Development Environment:2:2:Click:1:12
  7617. Sub Click(Source As Button)
  7618.      
  7619.      Dim docLocal As NotesDocument
  7620.      Dim webdoc As notesdocument
  7621.      Dim docCollection As NotesDocumentCollection   
  7622.      
  7623.      Set docCollection = db.UnprocessedDocuments
  7624.      If (docCollection.Count = 0) Then
  7625.           Msgbox "Sie m
  7626. ssen ein Dokument w
  7627. hlen.",16,"Fehler"
  7628.           Exit Sub
  7629.      End If
  7630.      Set docLocal = docCollection.GetFirstDocument
  7631.      If docLocal.hasitem("URL") Then 
  7632.           docLocal.tmpWebServer  = docProfile.WebServer
  7633.           docLocal.tmpWebDb = docProfile.WebDatabase
  7634.           docLocal.Save True, True
  7635.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  7636. r gemeinsame Nutzung", doclocal)) Then
  7637.                docLocal.Save True, True
  7638.                Select Case docLocal.SharedOptions(0)
  7639.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  7640.                Case "2" : 'user wants to copy this to the shared web database
  7641.                     If docLocal.Form(0) = "WebBrowserForm" Then
  7642.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  7643.                     Else
  7644.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  7645.                     End If
  7646.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  7647.                     If docLocal.Form(0) = "WebBrowserForm" Then
  7648.                          CreateRatingDocument docLocal, browserobject.locationurl, browserobject.locationname
  7649.                     Else
  7650.                          CreateRatingDocument docLocal,docLocal.url(0), docLocal.title(0)
  7651.                     End If
  7652.                End Select
  7653.           'remove any remaining fields that don't need to be carried around
  7654.                docLocal.removeItem "ForwardTo"
  7655.                docLocal.RemoveItem "SharedOptions" 
  7656.                docLocal.RemoveItem "Rating"
  7657.                docLocal.removeItem "Content"
  7658.                docLocal.removeItem "Comments"
  7659.           End If     
  7660.           docLocal.RemoveItem "tmpWebServer"
  7661.           docLocal.RemoveItem "tmpWebDb"
  7662.           docLocal.Save True, True
  7663.      Else
  7664.           Msgbox "Dieses Dokument enth
  7665. lt keine URLs."
  7666.      End If
  7667. End Sub
  7668. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  7669. Function GetInternetProfile
  7670.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  7671.      Set view = db.getView("(Internet Profile)")
  7672.      Set GetInternetProfile = view.GetFirstDocument
  7673. End Function
  7674. Internet Profiles
  7675. Internet Options
  7676. WebServer
  7677.     0S0E
  7678. _Kategorisieren?
  7679. Dokument _bearbeiten
  7680. Dokument _senden
  7681. In Ordner _verschieben...:
  7682. Seiten in Ordner verschieben...
  7683.     0S0E
  7684. Aus Ordner _entfernen... D
  7685. Weiterleiten...t'++LotusScript Development Environment:2:5:(Options):0:66
  7686. '++LotusScript Development Environment:2:5:(Forward):0:1
  7687. Declare Sub Click(Source As Button)
  7688. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7689. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7690. Private Sub BindEvents(Byval Objectname_ As String)
  7691.      Static Source As BUTTON
  7692.      Set Source = Bind(Objectname_)
  7693.      On Event Click From Source Call Click
  7694. End Sub
  7695. '++LotusScript Development Environment:2:2:Click:1:12
  7696. Sub Click(Source As Button)
  7697.      
  7698.      Dim docLocal As NotesDocument
  7699.      Dim docCollection As NotesDocumentCollection     
  7700.      Set docCollection = db.UnprocessedDocuments
  7701.      If (docCollection.Count = 0) Then
  7702.           Msgbox "Sie m
  7703. ssen ein Dokument w
  7704. hlen.",16,"Fehler"
  7705.           Exit Sub
  7706.      Else
  7707.           For j = 1 To docCollection.Count
  7708.                Set docLocal = docCollection.getnthdocument(j)               
  7709.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  7710.                     Select Case docLocal.ForwardOptions(0)
  7711.                     Case "1" : 'user wants to forward the URL only
  7712.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  7713.                     Case "2" : 'user wants to send entire page
  7714.                          Call  ViewForward(docLocal)
  7715.                     End Select
  7716.           'remove any remaining fields that don't need to be carried around
  7717.                     docLocal.RemoveItem "ForwardOptions" 
  7718.                     docLocal.save True, False
  7719.                     
  7720.                End If
  7721.                Exit Sub
  7722.           Next
  7723.      End If
  7724.      Exit Sub
  7725. End Sub
  7726. schenL'++LotusScript Development Environment:2:5:(Options):0:66
  7727. '++LotusScript Development Environment:2:5:(Forward):0:1
  7728. Declare Sub Click(Source As Button)
  7729. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7730. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7731. Private Sub BindEvents(Byval Objectname_ As String)
  7732.      Static Source As BUTTON
  7733.      Set Source = Bind(Objectname_)
  7734.      On Event Click From Source Call Click
  7735. End Sub
  7736. '++LotusScript Development Environment:2:2:Click:1:12
  7737. Sub Click(Source As Button)
  7738.      ViewDelete
  7739. End Sub
  7740. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  7741. '++LotusScript Development Environment:2:5:(Forward):0:1
  7742. Declare Sub Click(Source As Button)
  7743. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7744. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7745. Private Sub BindEvents(Byval Objectname_ As String)
  7746.      Static Source As BUTTON
  7747.      Set Source = Bind(Objectname_)
  7748.      On Event Click From Source Call Click
  7749. End Sub
  7750. '++LotusScript Development Environment:2:2:Click:1:12
  7751. Sub Click(Source As Button)
  7752.      PrintWebDocument
  7753. End Sub
  7754. _Weiterleitenu
  7755. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  7756. '++LotusScript Development Environment:2:5:(Forward):0:1
  7757. Declare Sub Click(Source As Button)
  7758. Declare Function GetInternetProfile
  7759. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7760. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7761. Private Sub BindEvents(Byval Objectname_ As String)
  7762.      Static Source As BUTTON
  7763.      Set Source = Bind(Objectname_)
  7764.      On Event Click From Source Call Click
  7765. End Sub
  7766. '++LotusScript Development Environment:2:2:Click:1:12
  7767. Sub Click(Source As Button)
  7768.      
  7769.      Dim docLocal As NotesDocument
  7770.      Dim webdoc As notesdocument
  7771.      Dim docCollection As NotesDocumentCollection   
  7772.      
  7773.      Set docCollection = db.UnprocessedDocuments
  7774.      If (docCollection.Count = 0) Then
  7775.           Msgbox "Sie m
  7776. ssen ein Dokument w
  7777. hlen.",16,"Fehler"
  7778.           Exit Sub
  7779.      End If
  7780.      Set docLocal = docCollection.GetFirstDocument
  7781.      If docLocal.hasitem("URL") Then 
  7782.           docLocal.tmpWebServer  = docProfile.WebServer
  7783.           docLocal.tmpWebDb = docProfile.WebDatabase
  7784.           docLocal.Save True, True
  7785.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  7786. r gemeinsame Nutzung", doclocal)) Then
  7787.                docLocal.Save True, True
  7788.                Select Case docLocal.SharedOptions(0)
  7789.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  7790.                Case "2" : 'user wants to copy this to the shared web database
  7791.                     If docLocal.Form(0) = "WebBrowserForm" Then
  7792.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  7793.                     Else
  7794.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  7795.                     End If
  7796.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  7797.                     If docLocal.Form(0) = "WebBrowserForm" Then
  7798.                          CreateRatingDocument docLocal, browserobject.locationurl, browserobject.locationname
  7799.                     Else
  7800.                          CreateRatingDocument docLocal,docLocal.url(0), docLocal.title(0)
  7801.                     End If
  7802.                End Select
  7803.           'remove any remaining fields that don't need to be carried around
  7804.                docLocal.removeItem "ForwardTo"
  7805.                docLocal.RemoveItem "SharedOptions" 
  7806.                docLocal.RemoveItem "Rating"
  7807.                docLocal.removeItem "Content"
  7808.                docLocal.removeItem "Comments"
  7809.           End If     
  7810.           docLocal.RemoveItem "tmpWebServer"
  7811.           docLocal.RemoveItem "tmpWebDb"
  7812.           docLocal.Save True, True
  7813.      Else
  7814.           Msgbox "Dieses Dokument enth
  7815. lt keine URLs."
  7816.      End If
  7817. End Sub
  7818. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  7819. Function GetInternetProfile
  7820.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  7821.      Set view = db.getView("(Internet Profile)")
  7822.      Set GetInternetProfile = view.GetFirstDocument
  7823. End Function
  7824. Internet Profiles
  7825. Internet Options
  7826. WebServer
  7827.     0S0E
  7828. _Kategorisierenc
  7829. Dokument _bearbeiten
  7830. Dokument _senden
  7831. In Ordner _verschieben...n
  7832. Seiten in Ordner verschieben...
  7833.     0S0E
  7834. Aus Ordner _entfernen... c
  7835. Weiterleiten...A'++LotusScript Development Environment:2:5:(Options):0:66
  7836. '++LotusScript Development Environment:2:5:(Forward):0:1
  7837. Declare Sub Click(Source As Button)
  7838. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7839. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7840. Private Sub BindEvents(Byval Objectname_ As String)
  7841.      Static Source As BUTTON
  7842.      Set Source = Bind(Objectname_)
  7843.      On Event Click From Source Call Click
  7844. End Sub
  7845. '++LotusScript Development Environment:2:2:Click:1:12
  7846. Sub Click(Source As Button)
  7847.      
  7848.      Dim docLocal As NotesDocument
  7849.      Dim docCollection As NotesDocumentCollection     
  7850.      Set docCollection = db.UnprocessedDocuments
  7851.      If (docCollection.Count = 0) Then
  7852.           Msgbox "Sie m
  7853. ssen ein Dokument w
  7854. hlen.",16,"Fehler"
  7855.           Exit Sub
  7856.      Else
  7857.           For j = 1 To docCollection.Count
  7858.                Set docLocal = docCollection.getnthdocument(j)               
  7859.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  7860.                     Select Case docLocal.ForwardOptions(0)
  7861.                     Case "1" : 'user wants to forward the URL only
  7862.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  7863.                     Case "2" : 'user wants to send entire page
  7864.                          Call  ViewForward(docLocal)
  7865.                     End Select
  7866.           'remove any remaining fields that don't need to be carried around
  7867.                     docLocal.RemoveItem "ForwardOptions" 
  7868.                     docLocal.save True, False
  7869.                     
  7870.                End If
  7871.                Exit Sub
  7872.           Next
  7873.      End If
  7874.      Exit Sub
  7875. End Sub
  7876. Lotus Product
  7877. Lotus Product
  7878. Lotus Product
  7879. Lotus Product
  7880. '++LotusScript Development Environment:2:5:(Options):0:74
  7881. Option Public
  7882. Use "InternetFunctions"
  7883. '++LotusScript Development Environment:2:5:(Forward):0:1
  7884. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7885. Lotus Product
  7886. '++LotusScript Development Environment:2:5:(Options):0:66
  7887. '++LotusScript Development Environment:2:5:(Forward):0:1
  7888. Declare Sub Postopen(Source As Notesuiview)
  7889. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  7890. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7891. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7892. Private Sub BindEvents(Byval Objectname_ As String)
  7893.      Static Source As NOTESUIVIEW
  7894.      Set Source = Bind(Objectname_)
  7895.      On Event Postopen From Source Call Postopen
  7896.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  7897. End Sub
  7898. '++LotusScript Development Environment:2:2:Postopen:1:12
  7899. Sub Postopen(Source As Notesuiview)
  7900.      InstantiateObjects
  7901. End Sub
  7902. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  7903. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  7904.      Call MoveToFolder(source,target,continue)
  7905. End Sub
  7906. Lotus Product
  7907. O=Lotus
  7908. O=Lotus
  7909. PURSAFO
  7910. O=Lotus
  7911. OU=DUB/O=Lotus
  7912. PURSAFO
  7913. }NFib
  7914. OU=DUB/O=Lotus
  7915. CN=Shaun McGale/OU=DUB/O=Lotus
  7916. PURSAFO
  7917. ]J\Wo
  7918. Ne(~A
  7919. $SCRIPTOBJ_14
  7920. $SCRIPTOBJ_12
  7921. $SCRIPTOBJ_13
  7922. $SCRIPTOBJ_11
  7923. $Language
  7924. $LastBuildTime
  7925. $BabelInfo
  7926. $TITLE
  7927. $Name
  7928. $Index
  7929. $Formula
  7930. $FormulaClass
  7931. $ViewFormat
  7932. $FormFormula
  7933. $Comment
  7934. $V5ACTIONS
  7935. $ACTIONS
  7936. $SCRIPTOBJ_0
  7937. $SCRIPTOBJ_1
  7938. $SCRIPTOBJ_3
  7939. $SCRIPTOBJ_10
  7940. $ViewGlobalScript
  7941. $ViewGlobalScript_O
  7942. $ViewScript
  7943. $ViewScript_O
  7944. Verwenden der Funktion 'Web Ahead'
  7945. Verwenden der Funktion 'Web Ahead'
  7946. >%!-eWv
  7947. Verwenden der Funktion 'Web Ahead'
  7948. >%!-eWv
  7949. Verwenden der Funktion 'Web Ahead'(
  7950. >%!-eWv
  7951. Verwenden der Funktion 'Web Ahead'
  7952. >%!-eWv
  7953. Verwenden der Funktion 'Web Ahead'
  7954. >%!-eWv
  7955. Verwenden der Funktion 'Web Ahead'
  7956. >%!-eWv
  7957. Lotus Product
  7958. schen
  7959. '++LotusScript Development Environment:2:5:(Options):0:66
  7960. '++LotusScript Development Environment:2:5:(Forward):0:1
  7961. Declare Sub Click(Source As Button)
  7962. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7963. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7964. Private Sub BindEvents(Byval Objectname_ As String)
  7965.      Static Source As BUTTON
  7966.      Set Source = Bind(Objectname_)
  7967.      On Event Click From Source Call Click
  7968. End Sub
  7969. '++LotusScript Development Environment:2:2:Click:1:12
  7970. Sub Click(Source As Button)
  7971.      ViewDelete     
  7972.      
  7973. End Sub
  7974. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  7975. '++LotusScript Development Environment:2:5:(Forward):0:1
  7976. Declare Sub Click(Source As Button)
  7977. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7978. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7979. Private Sub BindEvents(Byval Objectname_ As String)
  7980.      Static Source As BUTTON
  7981.      Set Source = Bind(Objectname_)
  7982.      On Event Click From Source Call Click
  7983. End Sub
  7984. '++LotusScript Development Environment:2:2:Click:1:12
  7985. Sub Click(Source As Button)
  7986.      PrintWebDocument
  7987.      
  7988. End Sub
  7989. _Weiterleiten
  7990. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  7991. '++LotusScript Development Environment:2:5:(Forward):0:1
  7992. Declare Sub Click(Source As Button)
  7993. Declare Function GetInternetProfile
  7994. '++LotusScript Development Environment:2:5:(Declarations):0:2
  7995. '++LotusScript Development Environment:2:2:BindEvents:1:129
  7996. Private Sub BindEvents(Byval Objectname_ As String)
  7997.      Static Source As BUTTON
  7998.      Set Source = Bind(Objectname_)
  7999.      On Event Click From Source Call Click
  8000. End Sub
  8001. '++LotusScript Development Environment:2:2:Click:1:12
  8002. Sub Click(Source As Button)
  8003.      
  8004.      Dim docLocal As NotesDocument
  8005.      Dim webdoc As notesdocument
  8006.      Dim docCollection As NotesDocumentCollection     
  8007.      Set docCollection = db.UnprocessedDocuments
  8008.      If (docCollection.Count = 0) Then
  8009.           Msgbox "Sie m
  8010. ssen ein Dokument w
  8011. hlen.",16,"Fehler"
  8012.           Exit Sub
  8013.      End If
  8014.      Set docLocal = docCollection.GetFirstDocument
  8015.      If docLocal.hasitem("URL") Then
  8016.           docLocal.tmpWebServer  = docProfile.WebServer
  8017.           docLocal.tmpWebDb = docProfile.WebDatabase
  8018.           docLocal.Save True, True
  8019.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  8020. r gemeinsame Nutzung", doclocal)) Then
  8021.                docLocal.Save True, True
  8022.                Select Case docLocal.SharedOptions(0)
  8023.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  8024.                Case "2" : 'user wants to copy this to the shared web database
  8025.                     If docLocal.Form(0) = "WebBrowserForm" Then
  8026.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  8027.                     Else
  8028.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  8029.                     End If
  8030.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  8031.                     If docLocal.Form(0) = "WebBrowserForm" Then
  8032.                          CreateRatingDocument docLocal, browserobject.locationurl,browserobject.locationname
  8033.                     Else
  8034.                          CreateRatingDocument docLocal,docLocal.url(0),docLocal.title(0)
  8035.                     End If
  8036.                End Select
  8037.           'remove any remaining fields that don't need to be carried around
  8038.                docLocal.removeItem "ForwardTo"
  8039.                docLocal.RemoveItem "SharedOptions" 
  8040.                docLocal.RemoveItem "Rating"
  8041.                docLocal.removeItem "Content"
  8042.                docLocal.removeItem "Comments"
  8043.           End If     
  8044.           docLocal.RemoveItem "tmpWebServer"
  8045.           docLocal.RemoveItem "tmpWebDb"
  8046.           docLocal.Save True, True
  8047.      Else
  8048.           Msgbox "Dieses Dokument enth
  8049. lt keine URLs."
  8050.      End If
  8051. End Sub
  8052. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  8053. Function GetInternetProfile
  8054.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  8055.      Set view = db.getView("(Internet Profile)")
  8056.      Set GetInternetProfile = view.GetFirstDocument
  8057. End Function
  8058. Internet Profiles
  8059. Internet Options
  8060. WebServer
  8061.     0S0E
  8062. _Kategorisieren
  8063. Dokument _bearbeiten
  8064. Dokument _senden
  8065. In Ordner _verschieben...
  8066. Seiten in Ordner verschieben...
  8067.     0S0E
  8068. Aus Ordner _entfernen... e
  8069. Zu Lesezeichen reduzieren
  8070. title
  8071. Favorites
  8072.     0S0E
  8073. (RemoveObjects)
  8074. Weiterleiten...v'++LotusScript Development Environment:2:5:(Options):0:66
  8075. '++LotusScript Development Environment:2:5:(Forward):0:1
  8076. Declare Sub Click(Source As Button)
  8077. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8078. '++LotusScript Development Environment:2:2:BindEvents:1:129
  8079. Private Sub BindEvents(Byval Objectname_ As String)
  8080.     Static Source As BUTTON
  8081.     Set Source = Bind(Objectname_)
  8082.     On Event Click From Source Call Click
  8083. End Sub
  8084. '++LotusScript Development Environment:2:2:Click:1:12
  8085. Sub Click(Source As Button)
  8086.     Dim docLocal As NotesDocument
  8087.     Dim docCollection As NotesDocumentCollection     
  8088.     Set docCollection = db.UnprocessedDocuments
  8089.     If (docCollection.Count = 0) Then
  8090.         Msgbox "Sie m
  8091. ssen ein Dokument w
  8092. hlen.",16,"Fehler"
  8093.         Exit Sub
  8094.     Else
  8095.         For j = 1 To docCollection.Count
  8096.             Set docLocal = docCollection.getnthdocument(j)               
  8097.             If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  8098.                 Select Case docLocal.ForwardOptions(0)
  8099.                 Case "1" : 'user wants to forward the URL only
  8100.                     Call CreateIELink(doclocal.url(0), doclocal.title(0))
  8101.                 Case "2" : 'user wants to send entire page
  8102.                     Call  ViewForward(docLocal)
  8103.                 End Select
  8104.           'remove any remaining fields that don't need to be carried around
  8105.                 docLocal.RemoveItem "ForwardOptions" 
  8106.                 docLocal.save True, False
  8107.             End If
  8108.             Exit Sub
  8109.         Next
  8110.     End If
  8111.     Exit Sub
  8112. End Sub
  8113. schen
  8114. '++LotusScript Development Environment:2:5:(Options):0:66
  8115. '++LotusScript Development Environment:2:5:(Forward):0:1
  8116. Declare Sub Click(Source As Button)
  8117. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8118. '++LotusScript Development Environment:2:2:BindEvents:1:129
  8119. Private Sub BindEvents(Byval Objectname_ As String)
  8120.      Static Source As BUTTON
  8121.      Set Source = Bind(Objectname_)
  8122.      On Event Click From Source Call Click
  8123. End Sub
  8124. '++LotusScript Development Environment:2:2:Click:1:12
  8125. Sub Click(Source As Button)
  8126.      ViewDelete     
  8127.      
  8128. End Sub
  8129. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  8130. '++LotusScript Development Environment:2:5:(Forward):0:1
  8131. Declare Sub Click(Source As Button)
  8132. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8133. '++LotusScript Development Environment:2:2:BindEvents:1:129
  8134. Private Sub BindEvents(Byval Objectname_ As String)
  8135.      Static Source As BUTTON
  8136.      Set Source = Bind(Objectname_)
  8137.      On Event Click From Source Call Click
  8138. End Sub
  8139. '++LotusScript Development Environment:2:2:Click:1:12
  8140. Sub Click(Source As Button)
  8141.      PrintWebDocument
  8142.      
  8143. End Sub
  8144. _Weiterleiteno
  8145. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  8146. '++LotusScript Development Environment:2:5:(Forward):0:1
  8147. Declare Sub Click(Source As Button)
  8148. Declare Function GetInternetProfile
  8149. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8150. '++LotusScript Development Environment:2:2:BindEvents:1:129
  8151. Private Sub BindEvents(Byval Objectname_ As String)
  8152.      Static Source As BUTTON
  8153.      Set Source = Bind(Objectname_)
  8154.      On Event Click From Source Call Click
  8155. End Sub
  8156. '++LotusScript Development Environment:2:2:Click:1:12
  8157. Sub Click(Source As Button)
  8158.      
  8159.      Dim docLocal As NotesDocument
  8160.      Dim webdoc As notesdocument
  8161.      Dim docCollection As NotesDocumentCollection     
  8162.      Set docCollection = db.UnprocessedDocuments
  8163.      If (docCollection.Count = 0) Then
  8164.           Msgbox "Sie m
  8165. ssen ein Dokument w
  8166. hlen.",16,"Fehler"
  8167.           Exit Sub
  8168.      End If
  8169.      Set docLocal = docCollection.GetFirstDocument
  8170.      If docLocal.hasitem("URL") Then
  8171.           docLocal.tmpWebServer  = docProfile.WebServer
  8172.           docLocal.tmpWebDb = docProfile.WebDatabase
  8173.           docLocal.Save True, True
  8174.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  8175. r gemeinsame Nutzung", doclocal)) Then
  8176.                docLocal.Save True, True
  8177.                Select Case docLocal.SharedOptions(0)
  8178.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  8179.                Case "2" : 'user wants to copy this to the shared web database
  8180.                     If docLocal.Form(0) = "WebBrowserForm" Then
  8181.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  8182.                     Else
  8183.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  8184.                     End If
  8185.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  8186.                     If docLocal.Form(0) = "WebBrowserForm" Then
  8187.                          CreateRatingDocument docLocal, browserobject.locationurl,browserobject.locationname
  8188.                     Else
  8189.                          CreateRatingDocument docLocal,docLocal.url(0),docLocal.title(0)
  8190.                     End If
  8191.                End Select
  8192.           'remove any remaining fields that don't need to be carried around
  8193.                docLocal.removeItem "ForwardTo"
  8194.                docLocal.RemoveItem "SharedOptions" 
  8195.                docLocal.RemoveItem "Rating"
  8196.                docLocal.removeItem "Content"
  8197.                docLocal.removeItem "Comments"
  8198.           End If     
  8199.           docLocal.RemoveItem "tmpWebServer"
  8200.           docLocal.RemoveItem "tmpWebDb"
  8201.           docLocal.Save True, True
  8202.      Else
  8203.           Msgbox "Dieses Dokument enth
  8204. lt keine URLs."
  8205.      End If
  8206. End Sub
  8207. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  8208. Function GetInternetProfile
  8209.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  8210.      Set view = db.getView("(Internet Profile)")
  8211.      Set GetInternetProfile = view.GetFirstDocument
  8212. End Function
  8213. Internet Profiles
  8214. Internet Options
  8215. WebServer
  8216.     0S0E
  8217. _Kategorisierenn
  8218. Dokument _bearbeiten
  8219. Dokument _senden
  8220. In Ordner _verschieben...n
  8221. Seiten in Ordner verschieben...
  8222.     0S0E
  8223. Aus Ordner _entfernen... 
  8224. Zu Lesezeichen reduzieren
  8225. title
  8226. Favorites
  8227.     0S0E
  8228. (RemoveObjects)
  8229. Weiterleiten...o'++LotusScript Development Environment:2:5:(Options):0:66
  8230. '++LotusScript Development Environment:2:5:(Forward):0:1
  8231. Declare Sub Click(Source As Button)
  8232. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8233. '++LotusScript Development Environment:2:2:BindEvents:1:129
  8234. Private Sub BindEvents(Byval Objectname_ As String)
  8235.     Static Source As BUTTON
  8236.     Set Source = Bind(Objectname_)
  8237.     On Event Click From Source Call Click
  8238. End Sub
  8239. '++LotusScript Development Environment:2:2:Click:1:12
  8240. Sub Click(Source As Button)
  8241.     Dim docLocal As NotesDocument
  8242.     Dim docCollection As NotesDocumentCollection     
  8243.     Set docCollection = db.UnprocessedDocuments
  8244.     If (docCollection.Count = 0) Then
  8245.         Msgbox "Sie m
  8246. ssen ein Dokument w
  8247. hlen.",16,"Fehler"
  8248.         Exit Sub
  8249.     Else
  8250.         For j = 1 To docCollection.Count
  8251.             Set docLocal = docCollection.getnthdocument(j)               
  8252.             If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  8253.                 Select Case docLocal.ForwardOptions(0)
  8254.                 Case "1" : 'user wants to forward the URL only
  8255.                     Call CreateIELink(doclocal.url(0), doclocal.title(0))
  8256.                 Case "2" : 'user wants to send entire page
  8257.                     Call  ViewForward(docLocal)
  8258.                 End Select
  8259.           'remove any remaining fields that don't need to be carried around
  8260.                 docLocal.RemoveItem "ForwardOptions" 
  8261.                 docLocal.save True, False
  8262.             End If
  8263.             Exit Sub
  8264.         Next
  8265.     End If
  8266.     Exit Sub
  8267. End Sub
  8268. Lotus Product
  8269. Lotus Product
  8270. Lotus Product
  8271. Lotus Product
  8272. '++LotusScript Development Environment:2:5:(Options):0:74
  8273. Option Public
  8274. Use "InternetFunctions"
  8275. '++LotusScript Development Environment:2:5:(Forward):0:1
  8276. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8277. Lotus Product
  8278. '++LotusScript Development Environment:2:5:(Options):0:66
  8279. '++LotusScript Development Environment:2:5:(Forward):0:1
  8280. Declare Sub Postopen(Source As Notesuiview)
  8281. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  8282. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8283. '++LotusScript Development Environment:2:2:BindEvents:1:129
  8284. Private Sub BindEvents(Byval Objectname_ As String)
  8285.      Static Source As NOTESUIVIEW
  8286.      Set Source = Bind(Objectname_)
  8287.      On Event Postopen From Source Call Postopen
  8288.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  8289. End Sub
  8290. '++LotusScript Development Environment:2:2:Postopen:1:12
  8291. Sub Postopen(Source As Notesuiview)
  8292.      InstantiateObjects
  8293. End Sub
  8294. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  8295. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  8296.      Call MoveToFolder(source,target,continue)
  8297. End Sub
  8298. Lotus Product
  8299. O=Lotus
  8300. O=Lotus
  8301. PURSAFO
  8302. O=Lotus
  8303. OU=DUB/O=Lotus
  8304. PURSAFO
  8305. }NFib
  8306. OU=DUB/O=Lotus
  8307. CN=Shaun McGale/OU=DUB/O=Lotus
  8308. PURSAFO
  8309. {@&/2
  8310. $SCRIPTOBJ_20
  8311. $SCRIPTOBJ_19
  8312. $SCRIPTOBJ_17
  8313. $SCRIPTOBJ_18
  8314. $SCRIPTOBJ_16
  8315. $SCRIPTOBJ_14
  8316. $SCRIPTOBJ_15
  8317. $SCRIPTOBJ_13
  8318. (Globals) Favoriten und Lesezeichen|Boo
  8319. $Language
  8320. $LastBuildTime
  8321. $BabelInfo
  8322. $TITLE
  8323. $Name
  8324. $Index
  8325. $Formula
  8326. $FormulaClass
  8327. $ViewFormat
  8328. $FormFormula
  8329. $Comment
  8330. $V5ACTIONS
  8331. $ACTIONS
  8332. $SCRIPTOBJ_0
  8333. $SCRIPTOBJ_1
  8334. $SCRIPTOBJ_3
  8335. $SCRIPTOBJ_11
  8336. $ViewGlobalScript
  8337. $ViewGlobalScript_O
  8338. $ViewScript
  8339. $ViewScript_O
  8340. $ViewGlobalScript
  8341. $ViewGlobalScript_O
  8342. '++LotusScript Development Environment:2:5:(Options):0:74
  8343. Option Base 1
  8344. Use "AgentFunctions"
  8345. '++LotusScript Development Environment:2:5:(Forward):0:1
  8346. Declare Sub Initialize
  8347. Declare Sub WormThePage(URLToWorm As Variant)
  8348. Declare Sub ProcessURLField
  8349. Declare Sub RetrievePages(y As Integer)
  8350. Declare Sub CheckPage(urltocheck As String, y As Integer)
  8351. Declare Function OKToRetrieve(checkurl As String, ArraySizeOK As Integer) As Integer
  8352. Declare Function OKToGetPerRobots( url As Variant ) As Integer
  8353. Declare Sub FetchRobotsFile(url As Variant, currentdomain As String)
  8354. '++LotusScript Development Environment:2:5:(Declarations):0:10
  8355. Dim LevelsToWorm As Variant
  8356. Dim WebAheadAuthentication As Variant
  8357. Dim PageToCrawl As notesdocument
  8358. Dim NextPageToCrawl As notesdocument
  8359. Dim URLTextList() As String
  8360. Dim URLListIndex As Integer
  8361. Dim pages_to_worm () As String          'list of pages that links need to be retrieved from
  8362. Dim ptw As Integer  
  8363. Dim next_pages_to_worm () As String    'list of pages to retrieve in the next level pass
  8364. Dim nptw As Integer                              
  8365. Dim pages_retrieved ()As String            'list of pages that have already been retrieved for this session
  8366. Dim pr As Integer                                  
  8367. Dim pages_wormed () As String            'list of pages that have already been processed in this session
  8368. Dim pw As Integer  
  8369. Dim CurrentPageRetrieved As notesdocument
  8370. Dim ArraySizeOK As Integer
  8371. Dim WebAheadAgent As notesagent
  8372. '++LotusScript Development Environment:2:2:Initialize:1:10
  8373. Sub Initialize
  8374.      
  8375.      '*
  8376.      '*  Initialize  Variables and declare local variables
  8377.      '*
  8378.      
  8379.      Dim InterNetProfile As Notesdocument
  8380.      Dim ProfileView As notesview
  8381.      Dim WebAheadFolder As notesview
  8382.      Dim URL As Variant
  8383.      
  8384.      '*
  8385.      '*  Initialize Variables
  8386.      '*
  8387.      ArraySizeOK = True
  8388.      pw=1
  8389.      nptw=1
  8390.      pr=1
  8391.      ptw=1
  8392.      Redim pages_to_worm(ptw)
  8393.      Redim Next_Pages_to_worm(nptw)
  8394.      Redim pages_retrieved(pr)
  8395.      Redim pages_wormed(pw)
  8396.      InstantiateAgentObjects 
  8397.      Set WebDatabase = Session.CurrentDatabase
  8398.      Set WebAheadAgent = Session.currentagent
  8399.      
  8400.       '*
  8401.      '*  Open/Create the Agent Error Log on the client.
  8402.      '*
  8403.      
  8404.      Set AgentLog = OpenLog(WebAheadAgent.name)
  8405.      
  8406.      If LogLocation = "Agent Log" Then agentLog.LogErrors = True
  8407.      
  8408.      Call logaction( "Agent 'Web Ahead' wird gestartet...")
  8409.      
  8410.      
  8411.      '*
  8412.      '*  First check to see if the current location settings are set for local retrievals.
  8413.      '*
  8414.      
  8415.      If WebLocationOK Then
  8416.           
  8417.           If Not ( WebDatabase Is Nothing) Then
  8418.                Set datadoc = Session.SavedData
  8419.                
  8420.                If (DataDoc Is Nothing) Then
  8421.                     Set DataDoc = New Notesdocument (WebDatabase) 
  8422.                End If
  8423.           Else
  8424.                Call  logerror(1, "Die Web-Datenbank konnte nicht ge
  8425. ffnet werden.")
  8426.                Goto cleanup
  8427.           End If
  8428.           
  8429.           If View Is Nothing Then
  8430.                Call logerror(4, "Die Profilansicht ist nicht vorhanden. Bitte ersetzen Sie die Gestaltung von " +WebDatabase.Title+" mit der Schablone 'Pers
  8431. nlicher Web Navigator 4.6'.")
  8432.                Goto cleanup
  8433.           End If
  8434.           
  8435.           
  8436.           If docProfile Is Nothing Then
  8437.                Call logerror(4, "Kein Profildokument: W
  8438. hlen Sie 'Aktionen - Internet-Optionen', und speichern Sie das Dokument. ")
  8439.                Goto cleanup
  8440.           End If
  8441.           
  8442.      '*
  8443.      '*  Retrieving pertinent values from the
  8444.      '*  Internet Profile.
  8445.      '*
  8446.           
  8447.           LevelsToWorm = docProfile.ScanAhead
  8448.           If LevelsToWorm(0) = "" Then
  8449.                'Number of levels to Web Ahead not specified, assuming 1.
  8450.                LevelsToWorm(0) = "1"
  8451.           End If
  8452.           
  8453.      '*
  8454.      '*  The following lines instantiate the WebAhead folder and 
  8455.      '*  perform the worming of the pages.
  8456.      '*
  8457.           
  8458.           Set WebAheadFolder = WebDatabase.GetView("Web Bots\Web Ahead")
  8459.           
  8460.           If (WebAheadFolder Is Nothing) Then
  8461.                Call logerror(2, "Der Ordner 'Web Ahead' wurde nicht gefunden. Bitte ersetzen Sie die Gestaltung von " +WebDatabase.Title+" mit der Schablone 'Pers
  8462. nlicher Web Navigator 4.5', und starten Sie den Agenten 'Web Ahead' erneut.")
  8463.                Goto cleanup
  8464.           End If
  8465.           
  8466.           Set PageToCrawl = WebAheadFolder.GetfirstDocument
  8467.           
  8468.           If (PageToCrawl Is Nothing) Then
  8469.                logaction( "Es wurden keinen Dokumente gefunden, von denen Verkn
  8470. pfungen abzurufen sind. Die Ausf
  8471. hrung des Agenten 'Web Ahead' wurde erfolgreich beendet.")
  8472.                Goto cleanup
  8473.           Else
  8474.                
  8475.           '*
  8476.           '*  The while loop retrieves all links off  the pages in the Web Ahead folder for every level specified.
  8477.           '*
  8478.                
  8479.                While Not (PageToCrawl Is Nothing)
  8480.                     If PageToCrawl.form(0) = "HelpForm"  Goto Nextdocument
  8481.                     If PageToCrawl.hasitem("URL") Then
  8482.                          URL = PageToCrawl.URL
  8483.                          Call PageToCrawl.ReplaceItemValue("WebAheadStatus", "1")          
  8484.                          Call PageToCrawl.Save(True, False)
  8485.                          WormThePage(URL(0))
  8486.                     Else
  8487.                          Call PageToCrawl.ReplaceItemValue("WebAheadStatus", "2") 
  8488.                          Call PageToCrawl.Save(True, False)
  8489.                          Goto NextDocument
  8490.                     End If
  8491. NextDocument:
  8492.                     If PageToCrawl.WebAheadStatus(0) <> "2" Then
  8493.                          Set NextPageToCrawl = WebAheadFolder.Getnextdocument(PageToCrawl)
  8494.                          Call PageToCrawl.Removefromfolder("Web Bots\Web Ahead")
  8495.                          Set PageToCrawl = NextPageToCrawl
  8496.                     Else
  8497.                          Set PageToCrawl = WebAheadFolder.Getnextdocument(PageToCrawl)
  8498.                     End If
  8499.                Wend
  8500.                
  8501.           End If
  8502.      End If
  8503. Cleanup:
  8504.      logaction( "Der Agent 'Web Ahead' wird beendet.")
  8505. End Sub
  8506. '++LotusScript Development Environment:2:2:WormThePage:1:8
  8507. Sub WormThePage(URLToWorm As Variant)
  8508.      
  8509.      '*
  8510.      '*  This routine retrieves all links on the current page for the number of levels
  8511.      '*  specified in the internet options form.
  8512.      '*
  8513.      
  8514.      Pages_To_Worm(1) = URLToWorm
  8515.      
  8516.      '*  
  8517.      '* Check to see if there is a page to retrieve links from in the array pages_to_worm
  8518.      '*
  8519.      
  8520.      For y = 1 To Cint(LevelsToWorm(0))
  8521.           If ( DebugFlag = "1" ) Then logaction( "Abgerufen wird Ebene " + Cstr(y))
  8522.           If pages_to_worm(1) <> "" Then
  8523.                Forall J  In pages_to_worm
  8524.                     
  8525.                     If ( DebugFlag = "1" ) Then logaction( "Verkn
  8526. pfungen werden jetzt abgerufen von  " + j  )     
  8527.                     
  8528.                     '*
  8529.                     '* Before we retrieve it, make sure that it hasn't already been retrieved for this session
  8530.                     '*
  8531.                     
  8532.                     If OKToRetrieve(j, ArraySizeOK) Then
  8533.                          
  8534.                          '*
  8535.                          '*  Make sure it's okay to retrieve pages from the site per the sites robots.txt
  8536.                          '*
  8537.                          
  8538.                          If OKToGetPerRobots(j) Then
  8539.                               Set CurrentPageRetrieved = RetrieveOverInternet(j,PageToCrawl,1)
  8540.                          Else
  8541.                               If ( DebugFlag = "1" ) Then  Call logerror(10, "Gem
  8542.  robots.txt d
  8543. rfen keine Verkn
  8544. pfungen von der Site abgerufen werden.")
  8545.                               If ( DebugFlag = "1" ) Then Call logerror(10, "Von folgender Seite konnten Verkn
  8546. pfungen nicht abgerufen werden:"+j+".")
  8547.                               Call PageToCrawl.ReplaceItemValue("WebAheadStatus", "2") 
  8548.                               Call PageToCrawl.Save(True,False)
  8549.                               Exit Sub
  8550.                          End If
  8551.                          
  8552.                     Else
  8553.                          Set CurrentPageRetrieved = WebDatabase.Getdocumentbyurl(j,0,0)
  8554.                          
  8555.                          '*
  8556.                          '*  Make sure that the page which is already in the database is not an error page.
  8557.                          '*
  8558.                          
  8559.                          If (CurrentPageRetrieved.HTTPStatus(0) = "200") Or (CurrentPageRetrieved.HTTPStatus(0) = "304" ) Then
  8560.                               Goto already_retrieved
  8561.                          Else
  8562.                               Set CurrentPageRetrieved = RetrieveOverInternet(j, CurrentPageRetrieved,1)
  8563.                          End If
  8564.                     End If
  8565.                     
  8566.                     
  8567.                     
  8568.                     If (CurrentPageRetrieved.HTTPStatus(0) = "200") Or (CurrentPageRetrieved.HTTPStatus(0) = "304") Then
  8569.                          If ( DebugFlag = "1" ) Then Call logerror(10, "Erfolgreich abgerufen wurde(n) " + j)
  8570.                          
  8571.                               '*
  8572.                               '* Add the page to the page retrieval array         
  8573.                               '*
  8574.                          If pr < 10000 Then
  8575.                               pages_retrieved ( pr) = j
  8576.                               pr=pr+1
  8577.                               Redim Preserve pages_retrieved(pr)
  8578.                          Else
  8579.                               ArraySizeOK = False
  8580.                          End If
  8581.                          
  8582.                              '* 
  8583.                              '* Make sure that the returned document has a URLLinks# field
  8584.                              '* since that is where all of the URLs on the page are stored.
  8585.                              '*
  8586.                          
  8587. already_retrieved:
  8588.                          
  8589.                          If CurrentPageRetrieved.hasitem("URLLinks1") Then
  8590.                               
  8591.                                '*
  8592.                                '*  Process the URLLinks# fields into one concise, singular text list of URL's
  8593.                                '*
  8594.                               
  8595.                               ProcessURLField
  8596.                               
  8597.                                '*
  8598.                                '*  Go ahead and retrieve the pages in the URLTextList
  8599.                                '*
  8600.                               
  8601.                               RetrievePages(y)     
  8602.                               If ( DebugFlag = "1" ) Then logaction "Abgerufen wurden "+Cstr(URLListIndex) + " von folgender Site: "+Cstr(urltoworm)+"."
  8603.                               If ( DebugFlag = "1" ) Then logaction( "Alle Verkn
  8604. pfungen wurden soeben abgerufen von "+PageToCrawl.getitemvalue("URL")(0))
  8605.                          Else
  8606.                               If ( DebugFlag = "1" ) Then logaction( "Keine Verkn
  8607. pfungen zum Abrufen auf " + PageToCrawl.getitemvalue("URL")(0))
  8608.                          End If            
  8609.                          
  8610.                               '*
  8611.                               '*  Now that the links have been retrieved, add the page to the list of pages that have already been processed.
  8612.                               '*  
  8613.                          
  8614.                          pages_wormed(pw) =CurrentPageRetrieved.getitemvalue("URL")(0)
  8615.                          pw=pw+1
  8616.                          Redim Preserve pages_wormed(pw)
  8617.                          
  8618.                     Else
  8619.                          If ( DebugFlag = "1" ) Then Call logerror(9, "Fehlerseite zur
  8620. ckgegeben f
  8621. r " + j)
  8622.                          If ( DebugFlag = "1" ) Then Call logerror(9, "Von folgender Seite konnten Verkn
  8623. pfungen nicht abgerufen werden:"+j+".")
  8624.                     End If
  8625.                     
  8626.                     
  8627.                End Forall     
  8628.                If ( DebugFlag = "1" ) Then logaction "Verkn
  8629. pfungen wurden abgerufen f
  8630. r Ebene "+Cstr(y)
  8631.                
  8632.                
  8633.                '*
  8634.                '*  Now move to the next level of pages to retrieve links from in the pages_to_worm array
  8635.                '*  Reset the pages to worm array to clear out the previous pages to worm
  8636.                '*  Note:  we only need to do this is we are retrieving links for more than one level.
  8637.                '*
  8638.                
  8639.                If LevelsToWorm(0) <> "1" Then 
  8640.                     If nptw = 1 Then Goto Done
  8641.                     Redim pages_to_worm(nptw-1) As String
  8642.                     For z = 1 To (nptw-1)
  8643.                          pages_to_worm(z) = next_pages_to_worm(z)
  8644.                     Next Z
  8645.                     ptw = nptw
  8646.                     
  8647.                     '*
  8648.                     '*  Reinitialize the next pages to worm array
  8649.                     '*
  8650.                     nptw=1
  8651.                     Redim next_pages_to_worm(nptw) As String
  8652.                Else
  8653.                '*
  8654.                '* We are done.  There are no more pages to retrieve off the page.  The page needs to be removed from the folder.
  8655.                '*
  8656. done: 
  8657.                     
  8658.                     Exit For
  8659.                End If
  8660.           End If
  8661.           If ( DebugFlag = "1" ) Then logaction( "Abgerufen wurden " + LevelsToWorm(0) +" f
  8662. r die Seite" +Cstr(URLToWorm)+". ")
  8663.           If ( DebugFlag = "1" ) Then logaction( "Abgerufen wurden " + Cstr(pw)+"Seiten.")
  8664.           
  8665.      Next Y
  8666. End Sub
  8667. '++LotusScript Development Environment:2:2:ProcessURLField:1:8
  8668. Sub ProcessURLField
  8669.      
  8670.      '*
  8671.      '*  The purpose of this subroutine is to process all of the URLLinks#
  8672.      '*  fields into one concise, non-duplicated list of URL's that only
  8673.      '*  refer to http pages.  The result is the global array URLTextList.
  8674.      '*
  8675.      
  8676.      Dim URLField As String            'the current URLLinks# field
  8677.      Dim URLNum As Integer
  8678.      Dim URLFieldNum As Integer
  8679.      Dim RawURLList As Variant
  8680.      Dim DuplicatedURLList() As String
  8681.      
  8682.      
  8683.      URLNum =1
  8684.      URLField = "URLLinks1"
  8685.      URLFieldNum = 1
  8686.      
  8687.      '*
  8688.      '*  Put all the URL's in one text array -- URLTextList
  8689.      '*
  8690.      While CurrentPageRetrieved.HasItem(URLField)
  8691.           
  8692.           RawURLList = CurrentPageRetrieved.GetItemValue(URLField)
  8693.           Redim DuplicatedURLList (Ubound(RawURLList)+1)
  8694.           Forall j In RawURLList     
  8695.                
  8696.                '*
  8697.                '*   While we are putting all of the urls into one text array we will remove 
  8698.                '*  any urls other than those that use the http protocol.
  8699.                '*
  8700.                
  8701.                If Instr(1, j, "http",1) <> 0 Then
  8702.                     DuplicatedURLList(URLNum) = j
  8703.                     URLNum = URLNum + 1
  8704.                End If
  8705.           End Forall
  8706.           
  8707.           URLFieldNum = URLFieldNum + 1
  8708.           Mid$(URLField, 5) = Cstr(URLFieldNum)
  8709.      Wend
  8710.      
  8711.      Redim Preserve DuplicatedURLList(URLNum)
  8712.      
  8713.      '*
  8714.      '*  Now all URL's to fetch are in the DuplicatedURLList array
  8715.      '*  Now duplicates need to be removed from the array to save time
  8716.      '*
  8717.      
  8718.      Redim URLTextList(URLNum) As String
  8719.      
  8720.      URLListIndex = 1
  8721.      URLTextList(1) = DuplicatedURLList(1)
  8722.      If URLNum <>1 Then
  8723.           For y = 2 To (URLNum -1)
  8724.                URLListIndex = URLListIndex + 1              
  8725.                URLTextList(URLListIndex) = DuplicatedURLList(y)
  8726.                
  8727.                For x = 1 To (URLListIndex-1) 
  8728.                     If URLTextList(x) = DuplicatedURLList(y) Then
  8729.                          URLListIndex = URLListIndex - 1
  8730.                     End If
  8731.                Next  X             
  8732.           Next Y
  8733.      Else
  8734.           URLListIndex = URLListIndex + 1
  8735.      End If
  8736.      Redim Preserve URLTextList(URLListIndex)
  8737. End Sub
  8738. '++LotusScript Development Environment:2:2:RetrievePages:1:8
  8739. Sub RetrievePages(y As Integer)
  8740.      
  8741.      '*
  8742.      '*  This routine retrieves all of the pages in the URLTextList array.
  8743.      '*
  8744.      
  8745.      Forall j In URLTextList
  8746.           CheckPage j, y
  8747.      End Forall
  8748. End Sub
  8749. '++LotusScript Development Environment:2:2:CheckPage:1:8
  8750. Sub CheckPage(urltocheck As String, y As Integer)
  8751.      
  8752.      '*
  8753.      '*  This subroutine checks the page we are about to retrieve.
  8754.      '*  It first makes sure we have not already retrieved the page in this session.
  8755.      '*  Next it makes sure that the page retrieved is valid per the status code returned.
  8756.      '*
  8757.      
  8758.      Dim webdoc As notesdocument    
  8759.      Dim dummydoc As notesdocument
  8760.      
  8761.      '*
  8762.      '*  Check to make sure we have not already retrieved the page                              
  8763.      '*
  8764.      
  8765.      
  8766.      If OKToRetrieve(urltocheck,ArraySizeOK) Then 
  8767.           If OKToGetPerRobots(urltocheck) Then
  8768.                If Cint(LevelsToWorm(0)) - y  <> 0 Then
  8769.                     Set WebDoc = RetrieveOverInternet(urltocheck,dummydoc,1)
  8770.                Else
  8771.                     Set WebDoc = RetrieveOverInternet(urltocheck,dummydoc,0) 
  8772.                End If
  8773.                
  8774.                If (webdoc.HTTPstatus(0) = "200") Or (webdoc.HTTPStatus(0) = "304") Then
  8775.                     
  8776.                          '*
  8777.                          '* Add the page to the page retrieval array         
  8778.                          '*
  8779.                     If pr < 10000 Then
  8780.                          pages_retrieved ( pr) = (urltocheck)
  8781.                          pr=pr+1
  8782.                          Redim Preserve pages_retrieved(pr)
  8783.                     Else
  8784.                          ArraySizeOK = False
  8785.                     End If
  8786.                     
  8787.                     '*
  8788.                     '*  Add the page to the list of pages to be retreived
  8789.                     '*
  8790.                     If Cint(LevelsToWorm(0)) - y  <> 0 Then    
  8791.                          next_pages_to_worm(nptw) = (urltocheck)
  8792.                          nptw = nptw+1
  8793.                          Redim Preserve next_pages_to_worm(nptw)
  8794.                     End If
  8795.                Elseif (webdoc.HTTPStatus(0) = "401") Then
  8796.                     '*  
  8797.                     '*  The page needs to be authenticated, notify the user in the error log
  8798.                     '*
  8799.                     Call logerror(8,  "Der Agent 'Web Ahead' konnte "+urltocheck+" nicht abrufen, da eine Authentifizierung erforderlich ist.")
  8800.                     Call logerror(8, "Rufen Sie die Seite manuell ab, und verschieben Sie sie in den Ordner 'Web Ahead'.")
  8801.                     
  8802.                Else
  8803.                     Call logerror(9, "Seite " + urltocheck +" hat einen ung
  8804. ltigen Statuscode zur
  8805. ckgeliefert:  "+webdoc.status(0)+".")
  8806.                End If
  8807.           Else
  8808.                Call logerror(10, "Seite " + urltocheck + " darf aufgrund der Angaben in der Datei robots.txt des Servers nicht abgerufen werden.")
  8809.           End If
  8810.      Else
  8811.           next_pages_to_worm(nptw) = (urltocheck)
  8812.           nptw = nptw+1
  8813.           Redim Preserve next_pages_to_worm(nptw)
  8814.      End If
  8815.      
  8816.      
  8817. End Sub
  8818. '++LotusScript Development Environment:2:1:OKToRetrieve:1:8
  8819. Function OKToRetrieve(checkurl As String, ArraySizeOK As Integer) As Integer
  8820.      
  8821.      '*
  8822.      '*  This function goes throught the current list of URLs which have already
  8823.      '*  been retrieved for this session.  If the page has already been retrieved,
  8824.      '*  it sets the function equal to false.
  8825.      '*
  8826.      If ArraySizeOK Then
  8827.           OKToRetrieve = True
  8828.           Forall j In pages_retrieved
  8829.                If checkurl= j Then 
  8830.                     OKToRetrieve = False
  8831.                     Exit Function
  8832.                End If
  8833.           End Forall
  8834.      End If
  8835. End Function
  8836. '++LotusScript Development Environment:2:1:OKToGetPerRobots:1:8
  8837. Function OKToGetPerRobots( url As Variant ) As Integer
  8838.      '*
  8839.      '*  The purpose of this function is to check the host robots.txt file
  8840.      '*   for the site to make sure that it is okay to retrieve pages from the site.
  8841.      '*   It returns true if the page has not been excluded from robots.txt.
  8842.      '*
  8843.      
  8844.      Dim Currentdomain As String
  8845.      
  8846.      CurrentDomain = (Left(url, (Instr(8, url, "/", 1))))
  8847.      
  8848.      
  8849.      OKToGetPerRobots = True
  8850.      
  8851.      '*
  8852.      '* Check the complete list of "Disallow:" paths to see whether we match any of them
  8853.      '*
  8854.      
  8855.      If datadoc.HasItem( currentdomain ) Then
  8856.           exclist = datadoc.GetItemValue( currentdomain )
  8857.           If exclist(0) = "None" Then
  8858.                OKToGetPerRobots = True
  8859.                Exit Function
  8860.           End If
  8861.      Else
  8862.           Call   FetchRobotsFile(url, currentdomain)
  8863.           exclist = datadoc.GetItemValue( currentdomain )
  8864.           If exclist(0) = "None" Then
  8865.                OKToGetPerRobots = True
  8866.                Exit Function
  8867.           End If
  8868.      End If
  8869.      
  8870.           '*
  8871.           '*  Check whether any in that list match the path we want
  8872.           '*
  8873.      
  8874.      
  8875.      Forall testpath In exclist
  8876.           
  8877.                '*
  8878.                '*  Note:  testpath always begins with a forward-slash.  Wildcards have been removed at this stage,
  8879.                '* so "/" means disallow all paths;  "/tmp" means "/tmp*".  Testpath is also always stored in lowercase.
  8880.                '*
  8881.           
  8882.           Dim l As Integer
  8883.           l  = Len( testpath )
  8884.           If l > 0 Then
  8885.                If Left$( path, l )=testpath Then
  8886.                     
  8887.                          '*
  8888.                          '* Hit an exclusion!  
  8889.                          '*
  8890.                     
  8891.                     OKToGetPerRobots = False
  8892.                     Exit Function
  8893.                End If
  8894.           End If
  8895.      End Forall
  8896.      
  8897. End Function
  8898. '++LotusScript Development Environment:2:2:FetchRobotsFile:1:8
  8899. Sub FetchRobotsFile(url As Variant, currentdomain As String)
  8900.      Dim exclusionpage As NotesDocument
  8901.      Dim dummypage As notesdocument
  8902.           '*
  8903.           '*  Retrieve the site's ROBOTS.TXT. 
  8904.           '*
  8905.      
  8906.      Set exclusionpage = RetrieveOverInternet(CurrentDomain+"robots.txt" , dummypage,0)     
  8907.      
  8908.           '*
  8909.           '* If that failed, we have free access to the site.
  8910.           '*
  8911.      
  8912.      If (exclusionpage.HTTPStatus(0) ="200") Or (exclusionpage.HTTPStatus(0) = "304") Then
  8913.           
  8914.                '*
  8915.                '* Got the robots.txt file - we have to parse the file now!
  8916.                '*
  8917.           
  8918.           Dim robtext As String
  8919.           Dim item As Variant
  8920.           Set item = exclusionpage.GetFirstItem("Body")
  8921.           robtext = Lcase$(item.text)
  8922.           
  8923.                '*
  8924.                '* Parse until we get a User-Agent line which matches "*" or "InterNotes" somewhere (or Mozilla)
  8925.                '* Then look thru the "Disallow" lines to see whether they match our URL path
  8926.                '*
  8927.           
  8928.           Dim begin As Integer
  8929.           Dim dbegin As Integer
  8930.           Dim uapos As Integer
  8931.           Dim dapos As Integer
  8932.           Dim danum As Integer
  8933.           Dim t As String
  8934.           Dim  tt As String
  8935.           Dim darray (0 To 50 ) As String
  8936.           begin = 1
  8937.           uapos = 1
  8938.           danum = 0
  8939.           
  8940.           While uapos>0
  8941.                uapos = Instr( begin, robtext, "user-agent:")
  8942.                If uapos>0 Then
  8943.                     uapos=uapos+11  ' skip the "user-agent:" text
  8944.                     t = Ltrim$( Mid$( robtext, uapos ) )
  8945.                     If Left$( t, 1 )="*" Or Left$( t, 7 )="mozilla" Or Left$( t, 5 )="lotus" Then
  8946.                          
  8947.                               '*
  8948.                               '*  This applies to us!!! Better respect the Disallow flags.
  8949.                               '* First, chop any further User-Agent pieces so we know what to use.
  8950.                               '*
  8951.                          
  8952.                          Dim t1 As Integer
  8953.                          t1 = Instr( t, "user-agent:" )
  8954.                          If t1>0 Then
  8955.                               tt = Rtrim$( Left$( t, t1-1 ) )
  8956.                          Else
  8957.                               tt = Rtrim$( t )
  8958.                          End If
  8959.                          
  8960.                               '*
  8961.                               '* Now parse tt for *all*  the Disallow: paths - don't check them just yet
  8962.                               '*
  8963.                          
  8964.                          dbegin = 1
  8965.                          dapos = 1
  8966.                          While dapos>0
  8967.                               dapos = Instr( dbegin, tt, "disallow:" )
  8968.                               If dapos>0 Then
  8969.                                    Dim ban As String
  8970.                                    dapos = dapos+10   ' skip the "disallow:" text
  8971.                                    dendpos = Instr( dapos, tt, "#" )
  8972.                                    If dendpos=0 Then dendpos = Instr( dapos, tt, Chr$(10) )
  8973.                                    If dendpos=0 Then dendpos = Len( tt )-1
  8974.                                    ban = Trim$( Mid$( tt, dapos, dendpos-dapos ) )
  8975.                                    If Len(ban)>0 Then
  8976.                                         If Right$(ban, 1)="/" Then ban =Left$(ban, Len(ban)-1)
  8977.                                         darray( danum ) = ban
  8978.                                         danum = danum+1                                           
  8979.                                    End If                                 
  8980.                               End If
  8981.                               dbegin = dapos
  8982.                          Wend
  8983.                          
  8984.                               '*
  8985.                               '*  Done that user-agent list.  We should keep going, in case there are more!
  8986.                               '*
  8987.                          
  8988.                     End If
  8989.                     
  8990.                          '*
  8991.                          '* Find the next User-Agent which might apply to us
  8992.                          '*
  8993.                     
  8994.                     begin = uapos
  8995.                End If
  8996.           Wend
  8997.           
  8998.                '*
  8999.                '* Store cleaned-up list of Disallow paths in the SavedData document in the field "banthisserver"
  9000.                '*
  9001.           
  9002.           If danum>0 Then
  9003.                Call datadoc.ReplaceItemValue( currentdomain, darray )
  9004.                Call datadoc.Save( True, False )
  9005.           Else
  9006.                Call datadoc.Replaceitemvalue(currentdomain, "None")
  9007.                Call datadoc.Save( True, False )
  9008.           End If
  9009.      Else
  9010.           If ( DebugFlag = "1" ) Then logaction( "Robots.txt-Seite hat einen Fehler zur
  9011. ckgeliefert. M
  9012. glicherweise ist sie nicht vorhanden.")
  9013.           Call datadoc.Replaceitemvalue(currentdomain, "None")
  9014.           Call datadoc.Save( True, False )
  9015.      End If
  9016.      
  9017.      
  9018. End Sub
  9019. Lotus Product
  9020.     |    |    
  9021. O=Lotus Notes
  9022. O=Lotus Notes
  9023. PURSAFO
  9024. |.:#U
  9025. O=Lotus Notes
  9026. CN=Lotus Notes Template Development/O=Lotus Notes
  9027. PURSAFO
  9028. $AssistType
  9029. $AssistLastRun
  9030. $AssistDocCount
  9031. $AssistFlags
  9032. $AssistTrigger
  9033. $AssistInfo
  9034. $AssistAction
  9035. $AssistQuery
  9036. $AssistAction_Ex
  9037. $Language
  9038. $LastBuildTime
  9039. $BabelInfo
  9040. HelpForm72Verwenden der Funktion 'Page Minder' de-DE
  9041. 000001FE
  9042. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  9043. #####################################
  9044. >%!-eWv
  9045. HelpForm72Verwenden der Funktion 'Web Ahead'de-DE[
  9046. 00000202
  9047. CN=Teresa Deane/O=IrisCN=Marina Bodik/O=IrisCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  9048. ########################################
  9049. http://www.ibm.com/IBM Home Page1de-DE
  9050. 0000020A
  9051. CN=Teresa Deane/O=IrisCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  9052. ###################
  9053. http://www.notes.net/1Notes Netde-DE
  9054. 0000020E
  9055. CN=Teresa Deane/O=IrisCN=Paul Kerr/OU=DUB/O=LotusCN=Shaun McGale/OU=DUB/O=Lotus
  9056. #####################
  9057. de-DE
  9058. 000001BAWeb Bots\Web AheadWeb Bots\Web Ahead
  9059. CN=Shaun McGale/OU=DUB/O=Lotus
  9060. Bookmark
  9061. HelpForm
  9062. PageMinderStatus
  9063. PageMinderStatus
  9064. PageMinderStatus
  9065. PageMinderStatus
  9066. PageMinderStatus
  9067.     6S9S10S
  9068. $39Title$36URL$Conflict
  9069.     L1S1
  9070. $39Title
  9071. Title
  9072. Bookmark
  9073. HelpForm
  9074. PageMinderStatus
  9075. PageMinderStatus
  9076. PageMinderStatus
  9077. PageMinderStatus
  9078. PageMinderStatus
  9079.     6S9S10STitleSeitentitel$36Datum
  9080. URLURL&
  9081. IEVersion
  9082. IEVersionMinor|
  9083.     1S2S
  9084. Admin
  9085. Admin
  9086. forward
  9087. HTMLForm
  9088. HelpForm
  9089. HelpForm
  9090. IEVersion
  9091. Admin
  9092. Admin
  9093. forward
  9094. HTMLForm
  9095. HelpForm
  9096. HelpForm
  9097. WebBrowserForm
  9098. IEVersion
  9099. Admin
  9100. Admin
  9101. forward
  9102. HTMLForm
  9103. HelpForm
  9104. HelpForm
  9105. WebBrowser4Form
  9106.     0R9RT12S13S23S27S29RTT35RTTT38S39S49S2E53S58RTT62RTTT65S66S76S2E80S84RTT87RT88R3FY
  9107. ##########################################################
  9108. ##########################################################
  9109. ##########################################################
  9110. ##########################################################
  9111. ##########################################################
  9112. ##########################################################
  9113. ##########################################################
  9114. ##########################################################
  9115. ##########################################################
  9116. ##########################################################
  9117. ##########################################################
  9118. ##########################################################
  9119. ##########################################################
  9120. ##########################################################
  9121. ##########################################################
  9122. ##########################################################
  9123. ##########################################################
  9124. ##########################################################
  9125. ##########################################################
  9126. ##########################################################
  9127. ##########################################################
  9128. ##########################################################
  9129. ##########################################################
  9130. ##########################################################
  9131. ##########################################################
  9132. ##########################################################
  9133. de-DE
  9134. 000001B6Web Bots\Page MinderWeb Bots\Page Minder
  9135. CN=Shaun McGale/OU=DUB/O=Lotus
  9136. Bookmark
  9137. HelpForm
  9138. PageMinderStatus
  9139. PageMinderStatus
  9140. PageMinderStatus
  9141. PageMinderStatus
  9142. PageMinderStatus
  9143.     6S9S10S
  9144. $39Title$36URL$Conflict
  9145.     L1S1
  9146. $39Title
  9147. Title
  9148. Bookmark
  9149. HelpForm
  9150. PageMinderStatus
  9151. PageMinderStatus
  9152. PageMinderStatus
  9153. PageMinderStatus
  9154. PageMinderStatus
  9155.     6S9S10STitleSeitentitel$36Datum
  9156. URLURL&
  9157. IEVersion
  9158. IEVersionMinor|
  9159.     1S2S
  9160. Admin
  9161. Admin
  9162. forward
  9163. HTMLForm
  9164. HelpForm
  9165. HelpForm
  9166. IEVersion
  9167. Admin
  9168. Admin
  9169. forward
  9170. HTMLForm
  9171. HelpForm
  9172. HelpForm
  9173. WebBrowserForm
  9174. IEVersion
  9175. Admin
  9176. Admin
  9177. forward
  9178. HTMLForm
  9179. HelpForm
  9180. HelpForm
  9181. WebBrowser4Form
  9182.     0R9RT12S13S23S27S29RTT35RTTT38S39S49S2E53S58RTT62RTTT65S66S76S2E80S84RTT87RT88R3FY
  9183. ##########################################################
  9184. ##########################################################
  9185. ##########################################################
  9186. ##########################################################
  9187. ##########################################################
  9188. ##########################################################
  9189. ##########################################################
  9190. ##########################################################
  9191. ##########################################################
  9192. ##########################################################
  9193. ##########################################################
  9194. ##########################################################
  9195. ##########################################################
  9196. ##########################################################
  9197. ##########################################################
  9198. ##########################################################
  9199. ##########################################################
  9200. ##########################################################
  9201. ##########################################################
  9202. ##########################################################
  9203. ##########################################################
  9204. ##########################################################
  9205. ##########################################################
  9206. ##########################################################
  9207. ##########################################################
  9208. ##########################################################
  9209. ##########################################################
  9210. ##########################################################
  9211. ##########################################################
  9212. ##########################################################
  9213. ##########################################################
  9214. ##########################################################
  9215. ##########################################################
  9216. ##########################################################
  9217. ##########################################################
  9218. ##########################################################
  9219. ##########################################################
  9220. ##########################################################
  9221. ##########################################################
  9222. ##########################################################
  9223. ##########################################################
  9224. ##########################################################
  9225. ##########################################################
  9226. ##########################################################
  9227. ##########################################################
  9228. ##########################################################
  9229. ##########################################################
  9230. ##########################################################
  9231. ##########################################################
  9232. ##########################################################
  9233. ##########################################################
  9234. ##########################################################
  9235. ##########################################################
  9236. ##########################################################
  9237. ##########################################################
  9238. ##########################################################
  9239. ##########################################################
  9240. ##########################################################
  9241. ##########################################################
  9242. ##########################################################
  9243. ##########################################################
  9244. ##########################################################
  9245. ##########################################################
  9246. ##########################################################
  9247. ##########################################################
  9248. ##########################################################
  9249. ##########################################################
  9250. ##########################################################
  9251. ##########################################################
  9252. ##########################################################
  9253. ##########################################################
  9254. ##########################################################
  9255. ##########################################################
  9256. ##########################################################
  9257. ##########################################################
  9258. ##########################################################
  9259. ##########################################################
  9260. ##########################################################
  9261. ##########################################################
  9262. ##########################################################
  9263. ##########################################################
  9264. ##########################################################
  9265. ##########################################################
  9266. ##########################################################
  9267. ##########################################################
  9268. ##########################################################
  9269. ##########################################################
  9270. ##########################################################
  9271. ##########################################################
  9272. ##########################################################
  9273. ##########################################################
  9274. ##########################################################
  9275. ##########################################################
  9276. ##########################################################
  9277. ##########################################################
  9278. ##########################################################
  9279. ##########################################################
  9280. ##########################################################
  9281. ##########################################################
  9282. ##########################################################
  9283. ##########################################################
  9284. ##########################################################
  9285. ##########################################################
  9286. ##########################################################
  9287. ##########################################################
  9288. ##########################################################
  9289. ##########################################################
  9290. ##########################################################
  9291. ##########################################################
  9292. ##########################################################
  9293. ##########################################################
  9294. ##########################################################
  9295. ##########################################################
  9296. ##########################################################
  9297. ##########################################################
  9298. ##########################################################
  9299. ##########################################################
  9300. ##########################################################
  9301. ##########################################################
  9302. ##########################################################
  9303. ##########################################################
  9304. ##########################################################
  9305. ##########################################################
  9306.  Forward
  9307. ForwardOptions
  9308. Lesezeichen der Seite weiterleiten|1Kopie der Seite weiterleiten|2
  9309. ForwardOptions
  9310.     0S0E
  9311.     0S0E
  9312. ?_?__
  9313. `!b`1
  9314. 7`^///?
  9315. ?b___
  9316. `bOOO
  9317. `<b!R
  9318.                                 
  9319.     0S0E
  9320.     0S0E
  9321. ForwardOptions
  9322.     0S0E
  9323.     0S0E
  9324. ;&565'
  9325. 5&E5E5
  9326. &64&6&646'
  9327. ?_?__
  9328. `!b`1
  9329. 7`^///?
  9330. ?b___
  9331. `bOOO
  9332. `<b!R
  9333.                                 4
  9334. tFlags$UpdatedBy
  9335. Create Authorize--------apikoff/O=Iris$$;;;;;;;;WR1
  9336. off/O=Iris$$
  9337. O=Lotus Notes
  9338. O=Lotus Notes
  9339. PURSAFO
  9340. |.:#U
  9341. O=Lotus Notes
  9342. CN=Lotus Notes Template Development/O=Lotus Notes
  9343. PURSAFO
  9344. $Language
  9345. $LastBuildTime
  9346. $BabelInfo
  9347. $INFO
  9348. $$ScriptName
  9349. $BODY
  9350. Times New Roman
  9351. &Arial
  9352. ber die Datenbank
  9353. nlicher Web Navigator 5.0
  9354.     Willkommen zur Datenbank 'Pers
  9355. nlicher Web Navigator'. Mit dieser Datenbank k
  9356. nnen Sie von Ihrer Notes Workstation aus direkt auf das Internet zugreifen. Die Datenbank dient als Speicher f
  9357. r heruntergelade Web-Seiten und -Dateien. Somit k
  9358. nnen Sie Ihre Seiten auch unabh
  9359. ngig vom Netzwerk organisieren und durchsuchen. Dar
  9360. ber hinaus k
  9361. nnen Sie 
  9362. ber die Datenbank leicht ins Internet gelangen. Mit dieser Version der Datenbank 'Pers
  9363. nlicher Web Navigator' verf
  9364. gen Sie 
  9365. ber die Option, Web-Seiten mit dem Internet Explorer anzuzeigen. Sie arbeiten mit dem Internet Explorer und verf
  9366. gen gleichzeitig 
  9367. ber alle leistungsstarken Notes Funktionen.
  9368. hlen Sie 'Benutzen dieser Datenbank' im Hilfemen
  9369. , um Informationen 
  9370. ber den Einsatz der Datenbank zu erhalten.
  9371. -------------------
  9372.     (Schlie
  9373. en Sie dieses Fenster, um zur Datenbank zur
  9374. ckzukehren.)
  9375. O=Lotus Notes
  9376. O=Lotus Notes
  9377. PURSAFO
  9378. |.:#U
  9379. O=Lotus Notes
  9380. CN=Lotus Notes Template Development/O=Lotus Notes
  9381. PURSAFO
  9382. $Language
  9383. $LastBuildTime
  9384. $BabelInfo
  9385. $INFO
  9386. $BODY
  9387. RSAFO
  9388. Times New Roman
  9389. &Arial
  9390. Verwenden der Datenbanking 
  9391. nlicher Web Navigator 5.0
  9392. IsRichText
  9393.     1S2S
  9394.     Mit Hilfe dieser Datenbank k
  9395. nnen Sie direkt auf das Internet von Ihrer Notes Workstation aus zugreifen und Web-Seiten in Ihrer eigenen Datenbank 'Pers
  9396. nlicher Web Navigator' speichern.
  9397. Schneller Einstieg beim Anzeigen und Suchen von Seiten
  9398.     Wenn Sie in den gespeicherten Seiten der Datenbank 'Pers
  9399. nlicher Web Navigator' nach Informationen suchen m
  9400. chten, k
  9401. nnen Sie die Volltextsuche einsetzen - 
  9402. hnlich wie bei anderen Notes Datenbanken auch. Informationen 
  9403. ber das Verwenden der Volltextsuche finden Sie in der Online-Hilfe.
  9404. IsRichText
  9405. IsObject
  9406.     1S2S3S4S
  9407. Ansichten der Datenbank 'Pers
  9408. nlicher Web Navigator' verwenden
  9409.     Die Datenbank 'Pers
  9410. nlicher Web Navigator' verf
  9411. ber folgende Ansichten:
  9412.     Web Bots
  9413.         Web Ahead
  9414.     Notes startet einen von Ihnen aktivierten Hintergrund-Agenten namens 'Web Ahead', der auf     jeder in diesem Ordner gespeicherten Seite ausgef
  9415. hrt wird. Der Agent ruft alle Web-Seiten ab, deren         URLs auf der Web-Seite angegeben sind, und speichert diese Web-Seiten in Ihrer Datenbank, damit Sie         sie sp
  9416. ter lesen k
  9417. nnen. Sie k
  9418. nnen festlegen, da
  9419.  der Agent auch Web-Seiten abruft, deren URLs 
  9420. ber         mehrere Verschachtelungsebenen gefunden werden.
  9421.         Page Minder 
  9422.     Notes startet den von Ihnen aktivierten Hintergrund-Agenten 'Page Minder', der alle in         diesem Ordner gespeicherten Web-Seiten 
  9423. berpr
  9424. ft und Sie informiert, wenn der Seiteninhalt ge
  9425. ndert         wurde.
  9426.     Alle Seiten
  9427.      Zeigt alle in der Datenbank 'Pers
  9428. nlicher Web Navigator' gespeicherten Seiten an. Sie k
  9429. nnen diese Seiten auch dann lesen, wenn Sie nicht mit dem Netzwerk verbunden sind.
  9430.     Andere
  9431.     Dateiarchiv
  9432.      Zeigt eine Liste von Dateien an, die von Web-Seiten heruntergeladenen wurden. Diese sind alphabetisch und nach Dateigr
  9433. e sortiert.
  9434.     Aufr
  9435.      Zeigt eine Liste der Dokumente an, in aufsteigender Reihenfolge und nach Dokumentgr
  9436. e sortiert.
  9437.         Verwenden Sie diese Ansichten, um die Anzahl der Dokumente anhand der Dokument- oder Dateigr
  9438. e         zu verringern.
  9439.         Cookies. 
  9440.     Zeigt eine Liste aller angenommenen Cookies an.
  9441. O=Lotus Notes
  9442. O=Lotus Notes
  9443. PURSAFO
  9444. |.:#U
  9445. O=Lotus Notes
  9446. CN=Lotus Notes Template Development/O=Lotus Notes
  9447. PURSAFO
  9448. $Language
  9449. $LastBuildTime
  9450. $BabelInfo
  9451. $INFO
  9452. $BODY
  9453. RSAFO
  9454. ,D    } 
  9455. ^t    K,
  9456. Nt    PD
  9457. Lotus Product
  9458. _Weiterleiten
  9459. Categori_ze
  9460. Dokument _bearbeiten
  9461. Dokument _senden
  9462. In Ordner _verschieben...
  9463. Aus Ordner _entfernen... 
  9464. _Weiterleiten
  9465. Categori_ze
  9466. Dokument _bearbeiten
  9467. Dokument _senden
  9468. In Ordner _verschieben...
  9469. Aus Ordner _entfernen... 
  9470. >|'++LotusScript Development Environment:2:5:(Options):0:74
  9471. Option Public
  9472. Use "InternetFunctions"
  9473. '++LotusScript Development Environment:2:5:(Forward):0:1
  9474. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9475. Lotus Product
  9476. '++LotusScript Development Environment:2:5:(Options):0:66
  9477. '++LotusScript Development Environment:2:5:(Forward):0:1
  9478. Declare Sub Postopen(Source As Notesuiview)
  9479. Declare Sub Initialize
  9480. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9481. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9482. Private Sub BindEvents(Byval Objectname_ As String)
  9483.      Static Source As NOTESUIVIEW
  9484.      Set Source = Bind(Objectname_)
  9485.      On Event Postopen From Source Call Postopen
  9486. End Sub
  9487. '++LotusScript Development Environment:2:2:Postopen:1:12
  9488. Sub Postopen(Source As Notesuiview)
  9489.      InstantiateObjects
  9490. End Sub
  9491. '++LotusScript Development Environment:2:2:Initialize:1:10
  9492. Sub Initialize
  9493.      ' Create a Browser form
  9494.      
  9495.      
  9496.      
  9497. End Sub
  9498. Lotus Product
  9499. O=Lotus
  9500. O=Lotus
  9501. PURSAFO
  9502. O=Lotus
  9503. OU=DUB/O=Lotus
  9504. PURSAFO
  9505. }NFib
  9506. OU=DUB/O=Lotus
  9507. CN=Shaun McGale/OU=DUB/O=Lotus
  9508. PURSAFO
  9509. $SCRIPTOBJ_19
  9510. $SCRIPTOBJ_20
  9511. $SCRIPTOBJ_7
  9512. $SCRIPTOBJ_9
  9513. $SCRIPTOBJ_10
  9514. $SCRIPTOBJ_18
  9515. (Globals) (WebBrowserView)|WebBrowserVi
  9516. $Language
  9517. $LastBuildTime
  9518. $BabelInfo
  9519. $TITLE
  9520. $Index
  9521. $Formula
  9522. $FormulaClass
  9523. $ViewFormat
  9524. $Comment
  9525. $V5ACTIONS
  9526. $ACTIONS
  9527. $ViewGlobalScript
  9528. $ViewGlobalScript_O
  9529. $ViewScript
  9530. $ViewScript_O
  9531. schen
  9532. '++LotusScript Development Environment:2:5:(Options):0:66
  9533. '++LotusScript Development Environment:2:5:(Forward):0:1
  9534. Declare Sub Click(Source As Button)
  9535. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9536. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9537. Private Sub BindEvents(Byval Objectname_ As String)
  9538.      Static Source As BUTTON
  9539.      Set Source = Bind(Objectname_)
  9540.      On Event Click From Source Call Click
  9541. End Sub
  9542. '++LotusScript Development Environment:2:2:Click:1:12
  9543. Sub Click(Source As Button)
  9544.      
  9545.      ViewDelete     
  9546. End Sub
  9547. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  9548. '++LotusScript Development Environment:2:5:(Forward):0:1
  9549. Declare Sub Click(Source As Button)
  9550. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9551. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9552. Private Sub BindEvents(Byval Objectname_ As String)
  9553.      Static Source As BUTTON
  9554.      Set Source = Bind(Objectname_)
  9555.      On Event Click From Source Call Click
  9556. End Sub
  9557. '++LotusScript Development Environment:2:2:Click:1:12
  9558. Sub Click(Source As Button)
  9559.      
  9560.      PrintWebDocument
  9561. End Sub
  9562. _Weiterleiten
  9563. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  9564. '++LotusScript Development Environment:2:5:(Forward):0:1
  9565. Declare Sub Click(Source As Button)
  9566. Declare Function GetInternetProfile
  9567. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9568. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9569. Private Sub BindEvents(Byval Objectname_ As String)
  9570.      Static Source As BUTTON
  9571.      Set Source = Bind(Objectname_)
  9572.      On Event Click From Source Call Click
  9573. End Sub
  9574. '++LotusScript Development Environment:2:2:Click:1:12
  9575. Sub Click(Source As Button)
  9576.      
  9577.      Dim docLocal As NotesDocument
  9578.      Dim webdoc As notesdocument
  9579.      Dim docCollection As NotesDocumentCollection     
  9580.      Set docCollection = db.UnprocessedDocuments
  9581.      If (docCollection.Count = 0) Then
  9582.           Msgbox "Sie m
  9583. ssen ein Dokument w
  9584. hlen.",16,"Fehler"
  9585.           Exit Sub
  9586.      End If
  9587.      Set docLocal = docCollection.GetFirstDocument
  9588.      If docLocal.hasitem("URL") Then
  9589.           docLocal.tmpWebServer  = docProfile.WebServer
  9590.           docLocal.tmpWebDb = docProfile.WebDatabase
  9591.           docLocal.Save True, True
  9592.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  9593. r gemeinsame Nutzung", doclocal)) Then
  9594.                docLocal.Save True, True
  9595.                Select Case docLocal.SharedOptions(0)
  9596.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  9597.                Case "2" : 'user wants to copy this to the shared web database
  9598.                     If docLocal.Form(0) = "WebBrowserForm" Then
  9599.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  9600.                     Else
  9601.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  9602.                     End If
  9603.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  9604.                     If docLocal.Form(0) = "WebBrowserForm" Then
  9605.                          CreateRatingDocument docLocal, browserobject.locationurl,browserobject.locationname
  9606.                     Else
  9607.                          CreateRatingDocument docLocal,docLocal.url(0),docLocal.title(0)
  9608.                     End If
  9609.                End Select
  9610.           'remove any remaining fields that don't need to be carried around
  9611.                docLocal.removeItem "ForwardTo"
  9612.                docLocal.RemoveItem "SharedOptions" 
  9613.                docLocal.RemoveItem "Rating"
  9614.                docLocal.removeItem "Content"
  9615.                docLocal.removeItem "Comments"
  9616.           End If     
  9617.           docLocal.RemoveItem "tmpWebServer"
  9618.           docLocal.RemoveItem "tmpWebDb"
  9619.           docLocal.Save True, True
  9620.      Else
  9621.           Msgbox "Dieses Dokument enth
  9622. lt keine URLs."
  9623.      End If
  9624. End Sub
  9625. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  9626. Function GetInternetProfile
  9627.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  9628.      Set view = db.getView("(Internet Profile)")
  9629.      Set GetInternetProfile = view.GetFirstDocument
  9630. End Function
  9631. Internet Profiles
  9632. Internet Options
  9633. WebServer
  9634.     0S0E
  9635. _Kategorisieren
  9636. Dokument _bearbeiten
  9637. Dokument _senden
  9638. In Ordner _verschieben...:
  9639. Seiten in Ordner verschieben...
  9640.     0S0E
  9641. Aus Ordner _entfernen... D
  9642. Weiterleiten...
  9643. '++LotusScript Development Environment:2:5:(Options):0:66
  9644. '++LotusScript Development Environment:2:5:(Forward):0:1
  9645. Declare Sub Click(Source As Button)
  9646. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9647. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9648. Private Sub BindEvents(Byval Objectname_ As String)
  9649.      Static Source As BUTTON
  9650.      Set Source = Bind(Objectname_)
  9651.      On Event Click From Source Call Click
  9652. End Sub
  9653. '++LotusScript Development Environment:2:2:Click:1:12
  9654. Sub Click(Source As Button)
  9655.      
  9656.      Dim docLocal As NotesDocument
  9657.      Dim docCollection As NotesDocumentCollection     
  9658.      Set docCollection = db.UnprocessedDocuments
  9659.      If (docCollection.Count = 0) Then
  9660.           Msgbox "Sie m
  9661. ssen ein Dokument w
  9662. hlen.",16,"Fehler"
  9663.           Exit Sub
  9664.      Else
  9665.           For j = 1 To docCollection.Count
  9666.                Set docLocal = docCollection.getnthdocument(j)               
  9667.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  9668.                     Select Case docLocal.ForwardOptions(0)
  9669.                     Case "1" : 'user wants to forward the URL only
  9670.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  9671.                     Case "2" : 'user wants to send entire page
  9672.                          Call  ViewForward(docLocal)
  9673.                     End Select
  9674.           'remove any remaining fields that don't need to be carried around
  9675.                     docLocal.RemoveItem "ForwardOptions" 
  9676.                     docLocal.save True, False
  9677.                     
  9678.                End If
  9679.                Exit Sub
  9680.           Next
  9681.      End If
  9682.      Exit Sub
  9683. End Sub
  9684. schenm'++LotusScript Development Environment:2:5:(Options):0:66
  9685. '++LotusScript Development Environment:2:5:(Forward):0:1
  9686. Declare Sub Click(Source As Button)
  9687. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9688. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9689. Private Sub BindEvents(Byval Objectname_ As String)
  9690.      Static Source As BUTTON
  9691.      Set Source = Bind(Objectname_)
  9692.      On Event Click From Source Call Click
  9693. End Sub
  9694. '++LotusScript Development Environment:2:2:Click:1:12
  9695. Sub Click(Source As Button)
  9696.      
  9697.      ViewDelete     
  9698. End Sub
  9699. Drucken...'++LotusScript Development Environment:2:5:(Options):0:66
  9700. '++LotusScript Development Environment:2:5:(Forward):0:1
  9701. Declare Sub Click(Source As Button)
  9702. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9703. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9704. Private Sub BindEvents(Byval Objectname_ As String)
  9705.      Static Source As BUTTON
  9706.      Set Source = Bind(Objectname_)
  9707.      On Event Click From Source Call Click
  9708. End Sub
  9709. '++LotusScript Development Environment:2:2:Click:1:12
  9710. Sub Click(Source As Button)
  9711.      
  9712.      PrintWebDocument
  9713. End Sub
  9714. _Weiterleiteno
  9715. Ge_meinsam nutzen...'++LotusScript Development Environment:2:5:(Options):0:66
  9716. '++LotusScript Development Environment:2:5:(Forward):0:1
  9717. Declare Sub Click(Source As Button)
  9718. Declare Function GetInternetProfile
  9719. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9720. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9721. Private Sub BindEvents(Byval Objectname_ As String)
  9722.      Static Source As BUTTON
  9723.      Set Source = Bind(Objectname_)
  9724.      On Event Click From Source Call Click
  9725. End Sub
  9726. '++LotusScript Development Environment:2:2:Click:1:12
  9727. Sub Click(Source As Button)
  9728.      
  9729.      Dim docLocal As NotesDocument
  9730.      Dim webdoc As notesdocument
  9731.      Dim docCollection As NotesDocumentCollection     
  9732.      Set docCollection = db.UnprocessedDocuments
  9733.      If (docCollection.Count = 0) Then
  9734.           Msgbox "Sie m
  9735. ssen ein Dokument w
  9736. hlen.",16,"Fehler"
  9737.           Exit Sub
  9738.      End If
  9739.      Set docLocal = docCollection.GetFirstDocument
  9740.      If docLocal.hasitem("URL") Then
  9741.           docLocal.tmpWebServer  = docProfile.WebServer
  9742.           docLocal.tmpWebDb = docProfile.WebDatabase
  9743.           docLocal.Save True, True
  9744.           If (w.DialogBox("ShareWebPage", True, True, False, False, False, False, "Optionen f
  9745. r gemeinsame Nutzung", doclocal)) Then
  9746.                docLocal.Save True, True
  9747.                Select Case docLocal.SharedOptions(0)
  9748.                'case 1 was previously forward bookmark.  That's now done off of the forward option
  9749.                Case "2" : 'user wants to copy this to the shared web database
  9750.                     If docLocal.Form(0) = "WebBrowserForm" Then
  9751.                          CopyDocumentToSharedDatabase docLocal, browserobject.locationurl
  9752.                     Else
  9753.                          CopyDocumentToSharedDatabase docLocal, docLocal.url(0)
  9754.                     End If
  9755.                Case "3" : 'user wants to rate this and copy the rating to the shared database
  9756.                     If docLocal.Form(0) = "WebBrowserForm" Then
  9757.                          CreateRatingDocument docLocal, browserobject.locationurl,browserobject.locationname
  9758.                     Else
  9759.                          CreateRatingDocument docLocal,docLocal.url(0),docLocal.title(0)
  9760.                     End If
  9761.                End Select
  9762.           'remove any remaining fields that don't need to be carried around
  9763.                docLocal.removeItem "ForwardTo"
  9764.                docLocal.RemoveItem "SharedOptions" 
  9765.                docLocal.RemoveItem "Rating"
  9766.                docLocal.removeItem "Content"
  9767.                docLocal.removeItem "Comments"
  9768.           End If     
  9769.           docLocal.RemoveItem "tmpWebServer"
  9770.           docLocal.RemoveItem "tmpWebDb"
  9771.           docLocal.Save True, True
  9772.      Else
  9773.           Msgbox "Dieses Dokument enth
  9774. lt keine URLs."
  9775.      End If
  9776. End Sub
  9777. '++LotusScript Development Environment:2:1:GetInternetProfile:1:8
  9778. Function GetInternetProfile
  9779.          'we need to get the profile document to make sure this is feasible and to get the location of the shared db
  9780.      Set view = db.getView("(Internet Profile)")
  9781.      Set GetInternetProfile = view.GetFirstDocument
  9782. End Function
  9783. Internet Profiles
  9784. Internet Options
  9785. WebServer
  9786.     0S0E
  9787. _Kategorisierenu
  9788. Dokument _bearbeiten
  9789. Dokument _senden
  9790. In Ordner _verschieben...h
  9791. Seiten in Ordner verschieben...
  9792.     0S0E
  9793. Aus Ordner _entfernen... O
  9794. Weiterleiten...
  9795. '++LotusScript Development Environment:2:5:(Options):0:66
  9796. '++LotusScript Development Environment:2:5:(Forward):0:1
  9797. Declare Sub Click(Source As Button)
  9798. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9799. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9800. Private Sub BindEvents(Byval Objectname_ As String)
  9801.      Static Source As BUTTON
  9802.      Set Source = Bind(Objectname_)
  9803.      On Event Click From Source Call Click
  9804. End Sub
  9805. '++LotusScript Development Environment:2:2:Click:1:12
  9806. Sub Click(Source As Button)
  9807.      
  9808.      Dim docLocal As NotesDocument
  9809.      Dim docCollection As NotesDocumentCollection     
  9810.      Set docCollection = db.UnprocessedDocuments
  9811.      If (docCollection.Count = 0) Then
  9812.           Msgbox "Sie m
  9813. ssen ein Dokument w
  9814. hlen.",16,"Fehler"
  9815.           Exit Sub
  9816.      Else
  9817.           For j = 1 To docCollection.Count
  9818.                Set docLocal = docCollection.getnthdocument(j)               
  9819.                If (w.dialogbox ("Forward", True, True, False, False, False, False, " Weiterleitungsoptionen", docLocal)) Then   
  9820.                     Select Case docLocal.ForwardOptions(0)
  9821.                     Case "1" : 'user wants to forward the URL only
  9822.                          Call CreateIELink(doclocal.url(0), doclocal.title(0))
  9823.                     Case "2" : 'user wants to send entire page
  9824.                          Call  ViewForward(docLocal)
  9825.                     End Select
  9826.           'remove any remaining fields that don't need to be carried around
  9827.                     docLocal.RemoveItem "ForwardOptions" 
  9828.                     docLocal.save True, False
  9829.                     
  9830.                End If
  9831.                Exit Sub
  9832.           Next
  9833.      End If
  9834.      Exit Sub
  9835. End Sub
  9836. Lotus Product
  9837. Lotus Product
  9838. Lotus Product
  9839. Lotus Product
  9840. '++LotusScript Development Environment:2:5:(Options):0:74
  9841. Option Public
  9842. Use "InternetFunctions"
  9843. '++LotusScript Development Environment:2:5:(Forward):0:1
  9844. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9845. Lotus Product
  9846. '++LotusScript Development Environment:2:5:(Options):0:66
  9847. '++LotusScript Development Environment:2:5:(Forward):0:1
  9848. Declare Sub Postopen(Source As Notesuiview)
  9849. Declare Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  9850. '++LotusScript Development Environment:2:5:(Declarations):0:2
  9851. '++LotusScript Development Environment:2:2:BindEvents:1:129
  9852. Private Sub BindEvents(Byval Objectname_ As String)
  9853.      Static Source As NOTESUIVIEW
  9854.      Set Source = Bind(Objectname_)
  9855.      On Event Postopen From Source Call Postopen
  9856.      On Event Queryaddtofolder From Source Call Queryaddtofolder
  9857. End Sub
  9858. '++LotusScript Development Environment:2:2:Postopen:1:12
  9859. Sub Postopen(Source As Notesuiview)
  9860.      InstantiateObjects
  9861. End Sub
  9862. '++LotusScript Development Environment:2:2:Queryaddtofolder:1:12
  9863. Sub Queryaddtofolder(Source As Notesuiview, Target As Variant, Continue As Variant)
  9864.      Call MoveToFolder(source,target,continue)
  9865. End Sub
  9866. Lotus Product
  9867. O=Lotus
  9868. O=Lotus
  9869. PURSAFO
  9870. O=Lotus
  9871. OU=DUB/O=Lotus
  9872. PURSAFO
  9873. }NFib
  9874. OU=DUB/O=Lotus
  9875. CN=Shaun McGale/OU=DUB/O=Lotus
  9876. PURSAFO
  9877. ,<CrI
  9878. "+i[F-q
  9879. $SCRIPTOBJ_14
  9880. $SCRIPTOBJ_12
  9881. $SCRIPTOBJ_13
  9882. $SCRIPTOBJ_11
  9883. $Language
  9884. $LastBuildTime
  9885. $BabelInfo
  9886. $TITLE
  9887. $Name
  9888. $Index
  9889. $Formula
  9890. $FormulaClass
  9891. $ViewFormat
  9892. $FormFormula
  9893. $Comment
  9894. $V5ACTIONS
  9895. $ACTIONS
  9896. $SCRIPTOBJ_0
  9897. $SCRIPTOBJ_1
  9898. $SCRIPTOBJ_3
  9899. $SCRIPTOBJ_10
  9900. $ViewGlobalScript
  9901. $ViewGlobalScript_O
  9902. $ViewScript
  9903. $ViewScript_O
  9904.