Recently Browsing 0 members
No registered users viewing this page.
Hi i'm trying to create a ClipPut with differents font size and font and then paste it into word document.
I know in Word document, i can send("^+P") and change the font size, but it's not then best way to do if i have to change the font and size many time in the document.
WinActivate("ReportTemplate.doc [Compatibility Mode] - Word")
WinWaitActive("ReportTemplate.doc [Compatibility Mode] - Word")
ClipPut("Underline Size 16: " & "Bold size 12" & "Normcal size 11")
How can you select the specific style of a font with multiple * .otf files?
The font in question has several files:
Thin Thin Italic Extra-Light Extra-Light Italic Light Light Italic Regular Regular Italic Medium Medium Italic Semi-Bold Semi-Bold Italic Bold Bold Italic Extra-Bold Extra-Bold Italic Black Black Italic But after doing several tests I can recall the font like this, without being able to specify the precise style:
Local $hFamily = _GDIPlus_FontFamilyCreate("Poppins") ; Local $hFont = _GDIPlus_FontCreate($hFamily, 95, 1+2, 3) ; Example I cannot therefore select "Poppins Black Italic"
but only "Poppins"
On the above pic. of the ASCII table, one can see in a "normal" size, the characters below 32.
I use this chars. to visualize data and comm stuff, and prefer to see it in Terminal, size 9, 400, but in Win 10 looks tiny, forcing me to use a humongous size.
I'd like to see it as I did in WinXP. If anyone knows how to go about it, by tweaking something or installing a replacement font, please let me know.
Is there any way to embed characters/codes/data/etc. within a text file so that when the script reads the text file to populate the edit box, said characters/codes/data/etc. can let the script know this word needs to be capitalized, that word needs to be underscored, etc.?
For example, the text file would contain something along these lines...
<bold>This is the title</bold> This is a <italic>sample</italic> text file. This is <underscore>only</underscore> a text file. Does that make sense?
after searching google I only find the api _WinAPI_GetStockObject ($OEM_FIXED_FONT) but I don't know how to put it work！could someone help with this?and by the way if only giving a font not installed ,how to detemine it's a fixed-with font? thx in advance!