home *** CD-ROM | disk | FTP | other *** search
/ Program Metropolis - Software Boutique 95 / SOFTWARECD.iso / camipro3 / macros.cmz / SAVEINFO.SMM < prev    next >
Encoding:
INI File  |  1994-08-14  |  3.7 KB  |  290 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _default.sty
  5. [files]
  6. [charset]
  7.     82
  8.     CHINESEBIG5 (Windows)
  9. [revisions]
  10.     0
  11. [prn]
  12.     PostScript Printer
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     ⌐w┤┴º≤╖sñσÑ≤╕Ω░T─µª∞íC[└╔«╫] Ñ\»α¬φ╖|╝WÑ[»S«φÑ\»α¬φíAñ]╖|Ñ]ºt╣╧Ñ▄íC
  19.     Lotus WPD Technical Support
  20.     Just Starting
  21.     Menu Items, Conditions
  22.     Autorun
  23.     773107414
  24.     20
  25.     677458093
  26.     102
  27.     1
  28.     61
  29.     433
  30.     4
  31.     4
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     0
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [lay]
  54.     Standard
  55.     513
  56.     [rght]
  57.         15840
  58.         12240
  59.         1
  60.         1440
  61.         1440
  62.         1
  63.         1440
  64.         1440
  65.         0
  66.         1
  67.         0
  68.         1
  69.         0
  70.         2
  71.         1
  72.         1440
  73.         10800
  74.         4
  75.         1
  76.         720
  77.         1
  78.         1440
  79.         1
  80.         2160
  81.         1
  82.         2880
  83.     [hrght]
  84.     [lyfrm]
  85.         1
  86.         11200
  87.         0
  88.         0
  89.         12240
  90.         1440
  91.         0
  92.         1
  93.         3
  94.         1 0 0 0 0 0 0
  95.         0
  96.         0
  97.         1
  98.     [frmlay]
  99.         1440
  100.         12240
  101.         1
  102.         1440
  103.         72
  104.         1
  105.         792
  106.         1440
  107.         0
  108.         1
  109.         0
  110.         1
  111.         1
  112.         0
  113.         1
  114.         1440
  115.         10800
  116.         0
  117.     [txt]
  118. DocSaver.SMM
  119.  
  120.  
  121. >
  122.     [frght]
  123.     [lyfrm]
  124.         1
  125.         13248
  126.         0
  127.         14400
  128.         12240
  129.         15840
  130.         0
  131.         1
  132.         3
  133.         1 0 0 0 0 0 0
  134.         0
  135.         0
  136.         2
  137.     [frmlay]
  138.         15840
  139.         12240
  140.         1
  141.         1440
  142.         792
  143.         1
  144.         14472
  145.         1440
  146.         0
  147.         1
  148.         0
  149.         1
  150.         1
  151.         0
  152.         1
  153.         1440
  154.         10800
  155.         0
  156.     [txt]
  157. >
  158. [elay]
  159. [l1]
  160.     0
  161. [pg]
  162.     1
  163.     35 0 12 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  164. [edoc]
  165. <:#284,9360>' Presents the Doc Info box automatically before a save,
  166.  
  167. <:#284,9360>'  so any necessary information can be added.
  168.  
  169. <:#284,9360>' DEZ080691
  170.  
  171. <:#284,9360>
  172.  
  173. <:#284,9360>'This stuff defines the Title Bar message (TitleBarMSG) stuff and is not necessary
  174.  
  175. <:#284,9360>define GetActiveWindow()    DllCall("user,GetActiveWindow,H")
  176.  
  177. <:#284,9360>define SetWindowText()    DllCall("user,SetWindowText,IHC", %1, %2)
  178.  
  179. <:#284,9360>define TitleBarMsg()    SetWindowText(GetActiveWindow(), %1)
  180.  
  181. <:#284,9360>define GetWindowText()    DllCall("user,GetWindowText,HHFH", %1, %2, %3)
  182.  
  183. <:#284,9360>'define GetTitleBarText()    GetWindowText(GetActiveWindow(), %1, 80)
  184.  
  185. <:#284,9360>
  186.  
  187. <:#284,9360>
  188.  
  189. <:#284,9360>function docsaver()
  190.  
  191. <:#284,9360>rmac=GetRunningMacroFile$()
  192.  
  193. <:#284,9360>item="Save &with Doc Info"
  194.  
  195. <:#284,9360>isinstalled=checkmenuitem(1, "└╔«╫(&F)", item, 1)    ' Have to run this 2x to check and uncheck
  196.  
  197. <:#568,9360>isinstalled=checkmenuitem(1, "└╔«╫(&F)", item, 0)    ' so it gets correct value without altering item
  198.  
  199. <:#284,9360>if isinstalled = 8
  200.  
  201. <:#284,9360>    goto dokken
  202.  
  203. <:#284,9360>endif
  204.  
  205. <:#284,9360>TitleBarMsg("Installing new menu items to the File menu")
  206.  
  207. <:#284,9360>pause(008)
  208.  
  209. <:#284,9360>deletemenuitem(1, "└╔«╫(&F)", item)
  210.  
  211. <:#568,9360>insertmenuitem(1, "└╔«╫(&F)", 6, item, "{rmac}!docsaver", "Save this file after showing Doc Info box.")
  212.  
  213. <:#284,9360>TitleBarMsg("")
  214.  
  215. <:#284,9360>TitleBarMsg("Ami Pro")
  216.  
  217. <:#284,9360>exit function
  218.  
  219. <:#284,9360>
  220.  
  221. <:#284,9360>dokken:
  222.  
  223. <:#284,9360>keepgoing=docinfo
  224.  
  225. <:#284,9360>if keepgoing<<<;>1
  226.  
  227. <:#284,9360>    exit function
  228.  
  229. <:#284,9360>endif
  230.  
  231. <:#284,9360>save
  232.  
  233. <:#284,9360>end function
  234.  
  235. >
  236.  
  237. [Embedded]
  238. 00003034
  239. >
  240. [macsum] 1
  241. docsaver 0 0 5 12
  242. [macse]
  243. 14 docsaver
  244. 0 802
  245. 13
  246. 8 1
  247. 7 "Save &with Doc Info"
  248. 8 2
  249. 0 518 1 "└╔«╫(&F)" "{2}" 1
  250. 13
  251. 8 3
  252. 0 518 1 "└╔«╫(&F)" "{2}" 0
  253. 13
  254. 8 3
  255. 6 3
  256. 5 8
  257. 18 0
  258. 11 00000175
  259. 10 00000586
  260. 0 284 "user,GetActiveWindow,H"
  261. 13
  262. 0 284 "user,SetWindowText,IHC" [X] "Installing new menu items to the File menu"
  263. 0 274 008
  264. 0 520 1 "└╔«╫(&F)" "{2}"
  265. 0 527 1 "└╔«╫(&F)" 6 "{2}" "{1}!docsaver" "Save this file after showing Doc Info box."
  266. 0 284 "user,GetActiveWindow,H"
  267. 13
  268. 0 284 "user,SetWindowText,IHC" [X] ""
  269. 0 284 "user,GetActiveWindow,H"
  270. 13
  271. 0 284 "user,SetWindowText,IHC" [X] "Ami Pro"
  272. 6 0
  273. 15
  274. 9
  275. 24 109
  276. 13
  277. 8 4
  278. 6 4
  279. 5 1
  280. 18 1
  281. 11 00000644
  282. 6 0
  283. 15
  284. 9
  285. 24 103
  286. 6 0
  287. 15
  288. 9
  289. 00003059
  290.