home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / tink4v3.zip / readmeos.TXT < prev    next >
Text File  |  1997-04-09  |  19KB  |  266 lines

  1. Revision 3
  2. Released April 8, 1997
  3.  
  4. **It is suggested that you not alter the bar, changing .bmps, scripts or design.  The bar works very well but wants to become unstable if you do this.  Additionally, OS/2 & LWP want you to click in the right place on the icon...this is somewhere just near the center of the icon.  If you de-stabilize the bar, just reinstall it again.  Additionally, the scripting for the icons was a bit trickier than I knew how to do without glitches.  The icons are meant to insert characters as you type.  If you wish to go back in a document and enter a Curly Quote or other character etc, you must place a space before the word you want to insert it near, enter the character with the space in between, then delete the space out.**
  5.  
  6. Tested with FaxWorks Lite for OS/2 Warp 4 and OS/2 Warp 4, should work with Warp 3 and other versions of Faxworks.
  7.  
  8. Requires  UNZIP program to install.  NOT SUPPORTED BY LOTUS.
  9. Contributed by Tink Long.
  10.  
  11. The Tink4OS2.zip file supplies a number of SmartIcons and scripts folks have 
  12. asked about over time.  Some I created thinking they would be useful to you. 
  13. The bar should work fine for you and I have no reason to believe it should
  14. cause you any problems, however, I can take no responsibility for it.
  15.  
  16. Icons included will: (refer to bubble help text on icon)
  17.  
  18. 1) Send a file to FaxWorks Lite (tested) and probably pro versions. 
  19. (Script can probably be slightly altered for other fax drivers.)  For some reason, 
  20. OS/2 & LWP don't want to work for a fax print on the first click of this icon or a File|Print to the fax driver.  Simply print a blank page to the regular printer using the "Immediate Print Job" icon on this bar, before using the Faxprint icon in a session.  It should then  work for you.  Also note, there must be at least one line of text in the fax document for it to print.
  21.  
  22. 2) Print a file immediately, without stopping at the print dialog box.
  23.  
  24. 3) Print only certain pages of a file quickly, those you choose.
  25.  
  26. 4) Insert left or right curly quotes or the curly apostrophe.
  27.  
  28. 5) Change the page color to an easy view vanilla color.
  29.  
  30. 6) Change the page color back to white for printing (if doc was created in the "default page style") OR if the original "page" style of the page was a color (this discludes anything OTHER than the "default page style" of LWP), back to the color of that page style.
  31.  
  32. 7) Insert the Copyrite, Trademark, or Registered Symbols
  33.     
  34. 8) Insert an empty checkbox or an "x'd" checkbox
  35.  
  36. 9) Hop through a document from beginning to end, seeking (one at a time) and deleting frames.  This icon will find the next frame after your cursor, on the same page.  If it doesn't find one after the cursor, it will go to the top of the page, and begin working down the document a frame at a time, each time you click the icon. I use this in variation to remove frames from an HTML document (with many repeats, the script could be altered for big jobs). 
  37.  
  38. [By the way, this seek and destroy icon doesn't give you much time to think, so you need to know that you want to delete frames before you start.  If you accidentally delete a frame you want to keep, use the Edit|Undo command immediately.  When it runs out of frames to delete, it will either just not respond, or it will give you a script error code (click OK).  You might want to play with this one before using it.  ie. make a number of nothing frames on a number or pages, then click home and try it to see how it functions.]
  39.  
  40. 10) Switch between two different Envelope SmartMasters.  You MUST set these up per the envelope instructions below before they will work for you.  These icons are useful for those who want a generic envelope and then another more designed one they wish to use.  Instead of having to go through headstands to do this, you can click the alternate envelopes, then Create an envelope from it using the Create Envelope icon.
  41.  
  42. [You can expand the functionality of this concept if you have more than two envelope SmartMasters you want to use.  Simply change a few letters of the envchang.lss script to refer to the new envelope SmartMaster, give the new script a new name and make a new icon for the bar connecting it to the new script, placing it on the bar for the future.]
  43.  
  44. 11) Open the Envelope Division (Create|Envelope)
  45.  
  46. 12) Insert the Endash, Emdash, or Lawyers S Symbols
  47.  
  48. **********
  49. INSTALLATION:
  50.  
  51. To install this package:  Have Word Pro closed, then...
  52.  
  53. 1) Unzip the Tink4OS2.zip file in a dummy directory.
  54.  
  55. 2) Place all .bmp's and .smi's in the WordPro\Icons directory (22 files)
  56.  
  57. 3) Place all .smm's and .lss's in the Word Pro\Scripts directory (19 files)
  58.  
  59. 4) The above will work if you have continued to use the generic Icons and Scripts directory that Lotus gave you by default (File|User Setup|Word Pro Preferences|Locations).  Most of you will not have to worry about this.  If you have changed these paths for some reason, then you will need to adjust them in the scripts or in the SmartIcon setup (attached script path will need to be altered for the correct path), otherwise you should have no problems just installing per the above.
  60.  
  61. 5) When you open Word Pro, the Tinks.smi should be on screen somewhere,
  62. probably running horizontally and about the 2nd or 3rd row down on the left.
  63. Hunt it up and drag it where you want it.  It is set to show Always, 
  64. so should be on the SmartIcon menu that pops up when you click the down
  65. arrow, just above the tab (bar button) to the left of most SmartIcon
  66. bars.  The bar may install over a bar you currently have showing, 
  67. simply drag and drop it elsewhere.
  68.  
  69. 6)  For those of you who wish to use the Envelope icons (E1 and E2) the setup is below.  Once they are setup, they work like a charm.
  70.  
  71. 7)  Once you have finished installation, you can delete any additional files in the dummy directory.  Please keep the zip file on hand incase you choose to use the delete.bat files noted at the end of this document.  Use them with caution.
  72.  
  73. ******************
  74. That's it!  The first time you click an icon on this bar it will
  75. probably take a little longer to run the attached script than it will
  76. the next time you click it. Once LWP digests it's new bar, it's fast.  The bar is not perfect in it's scripting.  You will find the anomalies as you go, if and when you find them, simply adjust accordingly or do what you would normally do to accomplish your task, bypassing the use of the SmartIcons.
  77.  
  78. **Complaints or corrections:  This bar was designed to help make your life easier, it is not perfect by any means, but quite useful.  If you find anything that is particularly irritating to you about the use of the bar, let me know and I will see if I can do a new version of it correcting for the problems, no guarantees however, as creating this type of thing is very time intensive.  However, your feedback is welcome.  If you do have difficulties, please let me know.  If you like it please let me know Tink@compuserve.com
  79.  
  80. **************************************************************
  81. SETTING UP YOUR ENVELOPE ICONS IF YOU WISH TO USE THEM:
  82.  
  83. The E1 AND E2 SmartIcons WILL NOT be functional until you do the following:
  84.  
  85. Explanation:
  86. The Envelope 1 (E1) and Envelope 2 (E2) SmartIcons are for the purpose of switching between 2 envelopes which will be available to you when you select Create|Envelope.  If you sometimes want a plain envelope and sometimes want a specially designed envelope, this will give you the ability to change the Envelope SmartMaster on the fly.  These SmartIcons WILL NOT be functional until you do a touch of setup work and there are a few gotchas*.   However, they really are no big deal and these icons once setup are exceedingly useful.  Do your best with the instructions and let me know if you need extra help.
  87.  
  88. *********
  89. If you are unfamiliar with the Envelope used by Word Pro, here is a brief explanation from Lotus technote 130339.txt just for your information if you have not read it.
  90.  
  91. >>The name of the Word Pro SmartMaster is _LWPENV.MWP.  This SmartMaster is
  92. not initially present. When this SmartMaster is not present, Word Pro takes
  93. its cues for envelope styles from the current division, or from the "Body"
  94. division in a multipart document.<<
  95.  
  96. **********
  97. The scripts behind the SmartIcons that you will be using will change the following created .LWP'S to the _LWPENV.MWP and prepare it for your use *before* you select Create|Envelope.  In other words, you will be using your own particular Envelope SmartMasters.
  98.  
  99. BEFORE BEGINNING:  Please look at the File|User Setup|Word Pro Preferences|Location panel to view the path to where your SmartMasters are kept, you will need to be aware of it.
  100.  
  101. What you will be doing to set this up, once set up, there is no need for further work to use the icons:
  102. First you will make what you consider a plain envelope or what you will call your "normal" envelope, ENVNORM.LWP (this is what you will get when you click the E1 SmartIcon).  Next you will make your special envelope ENVCHANG.LWP (this is what you will get when you click the E2 SmartIcon).
  103.  
  104.  
  105. STEPS
  106.  
  107. Step 1
  108. (Do this Step if you have *already* created an  _lwpenv.mwp per the 130339.txt file, otherwise go to Step 2):
  109.  
  110. Step 1, A.  If you have already created an  _lwpenv.mwp that you want to use for your normal (plain) envelope (E1), then select File|New and open it.  Select File|Save As and give it the filename "ENVNORM.LWP" using the "Lotus Word Pro (*.lwp)" File of Type and save it to your SmartMasters directory.  Go to Step 3.
  111.  
  112. Step 1, B.  If you wish to use the current _lwpenv.mwp as your special envelope (E2), then select File|New and open it.  Select File|Save As and give it the filename "ENVCHANG.LWP" using the "Lotus Word Pro (*.lwp)" File of Type and save it to your SmartMaster directory. Go to Step 2.
  113.  
  114. Step 2 
  115. (This step is for those who *do not* have the _lwpenv.mwp in their SmartMasters directory *AND* for those who do, but want to use it for their plain envelope.  This will be Envelope E1)
  116.  
  117. 1) Open a plain document (default.mwp) using File|New.
  118. 2) Click Create|Envelope.
  119. 3) Placing your mouse pointer over the "Body" division tab, right click to see the drop down menu and select "Delete Division" (this will leave *only* the Envelope division)
  120. 4) Modify the appearance and content of the envelope as desired.  
  121.  
  122. GOTCHA* - If you will normally be using the File|User Setup|Word Pro Preferences|Disable option to have the "Return address" placed automatically in your envelopes then *don't* place a return address in the envelope now.  If you do, then you will have double return addresses upon selecting Create|Envelope later.  If you want to stylize the return address for your plain envelope, do that now, but deselect the "Return address" option before using the Create|Envelope selection.
  123.  
  124. If you want a graphic in your return address, it is probably best to not use the Return address feature, and instead place it in now, formatting it to look how you want with the graphic.
  125.  
  126. 5) When the envelope is how you want, choose File|Save As.
  127. 6) Select "Lotus Word Pro (*.lwp)" in the List files of type list box.
  128. 7) Specify the path of your SmartMaster directory and specify the file name as ENVNORM.LWP
  129. 8) Choose OK.
  130.  
  131. Step 3: 
  132. (Create the special envelope or what you will use as Envelope E2)
  133.  
  134. 1) With the ENVNORM.LWP document still open
  135. 2) Choose File|Save As
  136. 3) Select "Lotus Word Pro (*.lwp)" in the List files of type list box.
  137. 4) Specify the path of your SmartMaster directory and specify the file name as ENVCHANG.LWP
  138. 5) Design your special envelope as you wish it to be.
  139. 6) Save your file again as in numbers 2-4 just above of this Step 3 section.
  140.  
  141. Step 4: 
  142. Prior to completing this setup, you must change the path statements for your Envelope Scripts.  Parts of the two path statement lines for your Envelope .lss files are reflected below.  Open the Envnorm.lss and the Envchang.lss files in Notepad or a text editor and change the denoted (>>>  <<<) path statements in order to reflect the path statement to *your* Smasters directory.  The script files must then be saved **AS A TEXT FILE** and they will be ready for use.
  143.  
  144. Envnorm.lss
  145.  
  146. .OpenDocument "c:\lotus\SMASTERS\WORDPRO\Envnorm.lwp"
  147. .SaveAs "c:\lotus\SMASTERS\WORDPRO\_lwpenv.mwp
  148.  
  149. Change these parts:
  150. .OpenDocument "  >>>c:\lotus\SMASTERS\WORDPRO<<<  \Envnorm.lwp"
  151. .SaveAs "  >>>c:\lotus\SMASTERS\WORDPRO<<<  \_lwpenv.mwp
  152.  
  153.  
  154. Envchang.lss
  155.  
  156. .OpenDocument "c:\lotus\SMASTERS\WORDPRO\Envchang.lwp"
  157. .SaveAs "c:\lotus\SMASTERS\WORDPRO\_lwpenv.mwp"
  158.  
  159. Change these parts:
  160. .OpenDocument "  >>>c:\lotus\SMASTERS\WORDPRO<<<  \Envchang.lwp"
  161. .SaveAs "  >>>c:\lotus\SMASTERS\WORDPRO<<<  \_lwpenv.mwp
  162.  
  163. YOU MUST ALSO REMOVE THE FOLLOWING "STOP" LINE FROM EACH OF THE ENVCHANG.LSS 
  164. AND ENVNORM.LSS, or you will get an error code in the script.  This has 
  165. purposely been set up to keep you from losing documents you are working on 
  166. and have not saved in the event you try to use the envelope icons before 
  167. setting them up.  If you do set up the E1 and E2 icons before use, 
  168. THEY WILL NOT WORK.
  169.  
  170. >>>Stop - remove this "stop" line after setting up your Envelope Icons only.<<<
  171.  
  172. When the stop line is removed, the envnorm.lss and envchang.lss files will then
  173. look similar to this (only the paths and file names will be different in each):
  174.  
  175. Sub Main
  176.     .ApplicationWindow.Filter.SetLastUsedFilter $LwpFilterTypeText, "Lotus Word Pro"
  177.     .OpenDocument "c:\lotus\SMASTERS\WORDPRO\Envchang.lwp", "", "Lotus Word Pro"
  178.     .SaveAs "c:\lotus\SMASTERS\WORDPRO\_lwpenv.mwp", "", "Lotus Word Pro", False, True, False
  179.     .Close
  180. End Sub
  181.  
  182. ****
  183. SmartIcons E1 and E2 are now usable.  Before selecting Create|Envelope, press the SmartIcon of the Envelope you want to use.  Then you are ready to select Create|Envelope.  This envelope SmartMaster will be used until you click the other Envelope SmartIcon.  
  184.  
  185. Here is another easy GOTCHA* just for your information.  When you click on E1 or E2 after and/or during the first uses (depending on if you have already created the _lwpenv.mwp) you will see two dialog boxes as the script works.  The first will tell you that the _lwpenv.mwp already exists, and ask if you want to overwrite it.  Click "yes" or hit <enter>.  The second will ask you about the anonymity of the SmartMasters editor.  I click "yes" or hit <enter>, you can click no if you want, however the "Yes" is the default so a quick <enter> <enter> gets the job done right away.  ie, to get the job done quickly and get on with creating your envelope, just hit <enter> <enter> and you are on your way without a hitch.
  186.  
  187. **************
  188. Credit:
  189.  
  190. Huge thanks to Paul Blais and Jim Beard without whom I could not have brought this bar to the state it is.  They are responsible for helping me get this bar, which was originally created in Windows, working for OS/2.  I will take credit for the anomalies of this bar, but Paul and Jim get credit for the parts that work! <G>
  191.  
  192. The .bmps, .smms and .lss's come from a number of sources:
  193.  
  194. Thanks to RichZ and Tom Geldner for the roots of the fxprint.lss.
  195.  
  196. The following icons/scripts/macros were put together by converting AmiPro
  197. files, and then reshaping them a bit:
  198.  
  199. COPYRITE.BMP, PRINTNOW.SMM, PDAM2.BMP, PRNPAGES.SMM. PRNPAGES.BMP, REGMARK.LSS, TM.BMP
  200. **************************
  201.  
  202. 44 Files included, total size approx. 65KB
  203. APOSTROP BMP         1,370  03-01-97  2:24p APOSTROP.BMP
  204. APOSTROP LSS           120  04-08-97 11:58p APOSTROP.LSS
  205. CHECKBOX BMP         1,754  03-01-97  2:27p CHECKBOX.BMP
  206. CHECKBOX LSS           127  04-08-97 10:24p CHECKBOX.LSS
  207. CHECKED  BMP         1,754  03-01-97  2:27p CHECKED.BMP
  208. CHECKED  LSS           127  04-09-97  9:34a CHECKED.LSS
  209. COPYRITE BMP         1,754  03-01-97  2:30p COPYRITE.BMP
  210. COPYRITE LSS           205  04-09-97  1:25a COPYRITE.LSS
  211. DELFRAME BMP         1,754  03-01-97  2:30p DELFRAME.BMP
  212. DELFRAME LSS           355  04-08-97 10:25p DELFRAME.LSS
  213. EMDASH   BMP         1,230  03-15-97  6:32p EMDASH.BMP
  214. EMDASH   LSS           120  04-01-97  9:22p EMDASH.LSS
  215. ENDASH   BMP         1,230  03-15-97  6:30p ENDASH.BMP
  216. ENDASH   LSS           118  04-01-97  9:23p ENDASH.LSS
  217. ENDSPACL BMP         1,370  03-01-97  2:30p ENDSPACL.BMP
  218. ENDSPACR BMP         1,370  03-01-97  2:30p ENDSPACR.BMP
  219. ENVCHANG BMP         1,370  03-07-97  1:36a ENVCHANG.BMP
  220. ENVCHANG LSS           282  04-08-97  9:37p ENVCHANG.LSS
  221. ENVNORM  BMP         1,370  03-01-97  2:31p ENVNORM.BMP
  222. ENVNORM  LSS           281  04-08-97  9:36p ENVNORM.LSS
  223. EZEYES   BMP         1,370  03-01-97  2:31p EZEYES.BMP
  224. EZEYES   LSS           252  04-08-97 10:26p EZEYES.LSS
  225. EZEYESR  BMP         1,230  03-15-97  7:39p EZEYESR.BMP
  226. EZEYESR  LSS           172  04-08-97 10:27p EZEYESR.LSS
  227. FAXWRKS1 BMP           362  03-01-97  2:40p FAXWRKS1.BMP
  228. FXPRINT  LSS           828  04-09-97  9:35a FXPRINT.LSS
  229. LAW-S    BMP         1,230  03-15-97  6:52p LAW-S.BMP
  230. LAW-S    LSS           118  04-08-97 10:27p LAW-S.LSS
  231. LEFTQUOT BMP         1,370  03-01-97  2:32p LEFTQUOT.BMP
  232. LEFTQUOT LSS           118  04-08-97 11:54p LEFTQUOT.LSS
  233. PDAM2    BMP         1,754  03-01-97  2:32p PDAM2.BMP
  234. PRINTNOW SMM         1,048  01-03-97  7:07a PRINTNOW.SMM
  235. PRNPAGES SMM        10,264  01-18-97  5:35p PRNPAGES.SMM
  236. PRNPAGES BMP         1,754  03-01-97  2:32p PRNPAGES.BMP
  237. READMEOS TXT  approx18,000  04-09-97 10:13a readmeos.TXT
  238. REGMARK  LSS           205  04-09-97  1:26a REGMARK.LSS
  239. REGMARK  BMP         1,754  03-01-97  2:32p REGMARK.BMP
  240. RIGHQUOT LSS           120  04-08-97 11:58p RIGHQUOT.LSS
  241. RIGHQUOT BMP         1,370  03-01-97  2:32p RIGHQUOT.BMP
  242. TINKS    SMI         3,219  03-15-97  7:56p TINKS.SMI
  243. TM       LSS           118  04-09-97  9:33a TM.LSS
  244. TMRK     BMP         1,230  03-09-97  9:44p TMRK.BMP
  245.  
  246.  
  247. TWO FILES ARE INCLUDED TO DEINSTALL THIS ADD ON.
  248.  
  249. DELTICON BAT           389  04-09-97  8:36a delTIcon.bat
  250. DELTSCPT BAT           338  04-09-97  8:34a delTScpt.bat
  251.  
  252. THESE ARE BATCH FILES THAT DELETE ALL INSTALLED FILES ADDED ABOVE.
  253. IF THERE ARE ANY FILES THAT YOU DO NOT WISH TO REMOVE FROM THE ABOVE LIST,
  254. DO NOT RUN THE BATCH FILES BELOW!!!
  255. *****
  256. If you wish to delete the files placed in the Icons directory,
  257. copy the DELTICON.BAT file there and type "DELTICON" then press enter.
  258. *****
  259. If you wish to delete the files placed in the Icons directory,
  260. copy the DELTSCPT.BAT file there and type "DELTICON" then press enter.
  261.  
  262.  
  263.  
  264.  
  265.  
  266.