Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Changing font size


  • Please log in to reply
No replies to this topic
jcrawfordx
  • Members
  • 1 posts
  • Last active: Oct 30 2015 03:05 PM
  • Joined: 26 Oct 2015

I have a nice little script that pokes the date and time into whatever I am writing. It works nicely for Google Sheets, note pad, emails, etc.  I am a writer and use it for annotating edits and modifications. Here is what it does:

 

This is an example 10/26/2015 16:32

 

  

 

Here is the script: (It works great!)

^#!f9::
FormatTime, Time,, MM/dd/yyyy HH:mm
Send %Time%
Return

HOWEVER, I would like to have the font size drop down by -2, poke in the date, and then finish off by restoring the font size to +2.  So, if my application font is at, say, 12 pt, the date/time would appear at 8 pts., and then return back to 12. Make it look like this:

 

This is an example 10/26/2015 16:36

 

 

Adding it in as a superscript would be an extra bonus!

 

How could the simple script above be modified to do this?

 

(The Samuel L. Snarchbukket Award will go to the person who can offer the simplest mod! ;-)

 

Thanks!

..jack..