home *** CD-ROM | disk | FTP | other *** search
INI File | 1994-08-14 | 3.0 KB | 216 lines |
- [ver]
- 4
- [sty]
- _macro.sty
- [files]
- [charset]
- 82
- CHINESEBIG5 (Windows)
- [revisions]
- 0
- [prn]
- PostScript Printer
- [port]
- LPT1:
- [lang]
- 1
- [desc]
- ¿╧ñσªr┼▄ñj
- Lotus WPD Marketing
- Intermediate
- FontChange, GetCurFontInfo
- noautorun
- 773686812
- 30
- 670617369
- 391
- 1
- 0
- 0
- 0
- 0
-
-
-
-
-
-
- 0
- [fopts]
- 0
- 1
- 0
- 0
- [lnopts]
- 2
- Body Text
- 1
- [docopts]
- 5
- 2
- [GramStyle]
-
- [l1]
- 0
- [pg]
- 1
- 39 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
- [edoc]
- <:#293,9025>Macro by <+!>Charlie Pappas & Mark Osborne<-!>
-
- <:#284,9025>define IsOKToRun(menuname) GetInfo(217, 24, %1);
-
- <:#284,9025>
-
- <:#284,9025>function main()
-
- <:#284,9025>result=IsOKToRun(FontChange)
-
- <:#284,9025>if result !=1
-
- <:#284,9025> exit function
-
- <:#284,9025>endif
-
- <:#284,9025>ignorekeyboard(2)
-
- <:#284,9025>macfile = GetRunningMacroFile$() ' <:f200,QCourier,0,0,255>get the dos file name
-
- <:#284,9025>globtot = GetGlobalVarCount()
-
- <:#284,9025>menustat = "OFF"
-
- <:#284,9025>if globtot <<<;> 0
-
- <:#284,9025> Dim globnames(globtot)
-
- <:#284,9025> GetGlobalVarNames(&globnames)
-
- <:#284,9025> for i = 1 to globtot ' <:f200,QCourier,0,0,255>find the global var
-
- <:#284,9025> if (globnames(i) = "FontUpStat")
-
- <:#284,9025> menustat = "ON"
-
- <:#284,9025> endif
-
- <:#284,9025> next
-
- <:#284,9025>EndIf
-
- <:#284,9025>If menustat = "OFF"
-
- <:#284,9025> AllocGlobalVar("FontUpStat",1) ' <:f200,QCourier,0,0,255>first time played, add menus<:f>
-
- <:#284,9025> DeleteMenuItem(1,"ñσªr(&T)", "Font Up")
-
- <:#568,9025> InsertMenuItem(1,"ñσªr(&T)", 12,"Font Up", "{MacFile}!bigger()", "Increases the
- font size by 2 points")
-
- <:#284,9025>
-
- <:#284,9025> SetGlobalVar("FontUpStat","ON")
-
- <:#284,9025>Endif
-
- <:#284,9025>
-
- <:#284,9025>call bigger() ' <:f200,QCourier,0,0,255>make call to make the font bigger
-
- <:#284,9025>
-
- <:#284,9025>end function
-
- <:#284,9025>
-
- <:#284,9025>
-
- <:#284,9025>function bigger()
-
- <:#284,9025>defstr name, color, size, family
-
- <:#284,9025>GetCurFontInfo(&name, &color, &size, &family) ' <:f200,QCourier,0,0,255>what is the current font?<:f>
-
- <:#284,9025>FontChange(Name, 0, Color, (Size + 40)) ' <:f200,QCourier,0,0,255>add size to existing size
-
- <:#284,9025>end function
-
- >
-
- [Embedded]
- 00002322
- >
- [macsum] 2
- main 0 0 7 3
- bigger 565 0 5 34
- [macse]
- 14 main
- 0 1313 217 24 251
- 13
- 8 1
- 6 1
- 5 1
- 18 1
- 11 00000078
- 6 0
- 15
- 9
- 0 32 2
- 0 802
- 13
- 8 2
- 0 299
- 13
- 8 3
- 7 "OFF"
- 8 4
- 6 3
- 5 0
- 18 1
- 11 00000343
- 6 3
- 21 5 [X]
- 0 300 &5
- 5 1
- 8 6
- 6 3
- 6 6
- 18 2
- 12 00000271
- 10 00000343
- 5 1
- 6 6
- 3 0
- 8 6
- 10 00000196
- 6 6
- 22 5
- 7 "FontUpStat"
- 18 0
- 11 00000330
- 7 "ON"
- 8 4
- 10 00000238
- 6 4
- 7 "OFF"
- 18 0
- 11 00000542
- 0 271 "FontUpStat" 1
- 0 520 1 "ñσªr(&T)" "Font Up"
- 0 527 1 "ñσªr(&T)" 12 "Font Up" "{2}!bigger()" "Increases the font size by 2 points"
- 0 264 "FontUpStat" "ON"
- 16 bigger
- 6 0
- 15
- 9
- 14 bigger
- 0 804 &1 &2 &3 &4
- 6 3
- 5 40
- 3 0
- 2 251 1 "{1}" 0 "{2}" [X]
- 6 0
- 15
- 9
- 00002347
-