billthecreator Posted May 1, 2009 Share Posted May 1, 2009 one of my programs im creating has a font that isnt on the computer naturally. i deleted the font file and used inetget to get it, but it did something weird and never downloaded the file. how can i get around that. [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap Link to comment Share on other sites More sharing options...
Valuater Posted May 1, 2009 Share Posted May 1, 2009 Maybe call it a ".txt" file for the download then change the file name once INetGet() is completed 8) Link to comment Share on other sites More sharing options...
billthecreator Posted May 1, 2009 Author Share Posted May 1, 2009 I have the font file on my webpage, and my function sees if the file in the windows\fonts\ folder exists, and if it dosent, it downloads it to another folder and copies/installs it to the fonts folder. i tried filecopy and fileinstall, and both dont work. but if i manually copy, or install it, but either right clicking the actual file, or dragging it, it works... [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap Link to comment Share on other sites More sharing options...
Valuater Posted May 1, 2009 Share Posted May 1, 2009 Take a look at these...http://www.autoitscript.com/forum/index.ph...te=Install+font8) Link to comment Share on other sites More sharing options...
billthecreator Posted May 4, 2009 Author Share Posted May 4, 2009 (edited) Does anyone know if i could use this???i think it should work, but its not...If Not FileExists(@WindowsDir & "\Fonts\SFDigitalReadout-Light.ttf") Then $objShell = ObjCreate("Shell.Application") $objFolder = $objShell.Namespace(@WindowsDir & "\Fonts") $objFolder.CopyHere($Dir & "\SFDigitalReadout-Light.ttf") EndIfi found this herehttp://msdn.microsoft.com/en-us/library/bb787866(VS.85).aspx Edited May 4, 2009 by billthecreator [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap Link to comment Share on other sites More sharing options...
martin Posted May 4, 2009 Share Posted May 4, 2009 Does anyone know if i could use this??? Valuater's link doesn't work for me but this one does. Failing that go to search, click more search options and then in the key word field type "install font" including the quotation marks. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now