install Font

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

install Font

Post by kpassaur » Sat Dec 06, 2008 2:05 pm

Does anyone know how to automatically install a Font? On the Forum it mentions ExecuteFile> but that opens the Font it does not install it. If you copy it to the Windows Folder it is there but not installed.

I'm sure it is just a command line I just don't know what it is.

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Sat Dec 06, 2008 2:11 pm

Does this help? http://windowsitpro.com/article/article ... -file.html (click to bypass the ad.)

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

install Font

Post by kpassaur » Sat Dec 06, 2008 2:17 pm

Looks like it will I will give it a go.

Thanks

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Install Font in MS

Post by kpassaur » Sat Dec 06, 2008 2:34 pm

Here it is in MS


CopyFile>C:\temp\gotthard.ttf,%WIN_DIR%\Fonts
RegistryWriteKey>HKEY_LOCAL_MACHINE,SOFTWARE,Microsoft,Windows NT,CurrentVersion,Fonts,Gotthard (TrueType),gotthard.ttf

You just need to specify the font name, and the file name

Thanks Again

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Sat Dec 06, 2008 10:35 pm

Cool, thanks for the code, that will make it easier next time :)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts