Loading ...
Sorry, an error occurred while loading the content.

6190Re: [Clip] Re: Setting font

Expand Messages
  • Harvey R. Savage
    Mar 29, 2001
    • 0 Attachment
      Len wrote:
      >
      > Hi tf;
      >
      > here is a slight mod that works on my system. Other comments below.
      >
      > FontSet
      > ^!Set %Font%=^?{(T=L;H=4)Font=Andale Mono|_Courier New|Fixedsys|Lucida Console}; %Type%=^?{(T=L;H=4)Type=Regular|Italic|_Bold|Bold Italic}; %Size%=^?{(T=L;H=5)Size=8|9|_10|11|12}
      > ;Reduced delay;
      > ^!KeyboardDelay 10
      > ;Added &20 in front of #^%Font%#
      > ^!Keyboard Alt+D F C &20 #^%Font%# Tab #^%Type%# Tab #^%Size%# Enter
      >
      > And some readers may not have known that ^%variable% can be used in
      > ^!Keyboard #^%variable%#
      >
      >
      > Regards, Len


      Hi All,

      Not to beat a dead horse, but, after a little more
      experimentation I've found, at least on my computer, you don't
      need the ^!KeyboardDelay. The only place you need a timing
      element is in waiting for the font selection box to be fully
      asserted.

      Both clips below work for me without fail and are very quick.

      hrs


      H="FontSet"
      ^!Set %Font%=^?{(T=L;H=4)Font=Andale Mono|_Courier
      New|Fixedsys|Lucida Console};
      %Type%=^?{(T=L;H=4)Type=_Regular|Italic|Bold|Bold Italic};
      %Size%=^?{(T=L;H=5)Size=8|9|10|11|_12}
      ;^!KeyboardDelay 10
      ^!Keyboard Alt+D F C &45 #^%Font%# Tab #^%Type%# Tab #^%Size%#
      Enter


      H="To ???????? 12"
      ;^!KeyboardDelay 10
      ^!Keyboard Alt+D F C &45 #Lucida Console# Tab #Bold Italic# Tab
      #12# Enter
    • Show all 13 messages in this topic