Nepali Posted September 23, 2005 Share Posted September 23, 2005 i have runonce command..during installation UAXP, i have gave command to copy all the fonts in fonts folder.Now the problem is to register the fonts.now what i need is when computer boots for the first timeit must do following task:1. delete all scr files from system322. remove unwanted *.lnk files frm start menu3. register fonts ( open font folder and automatically closes folder) i have used autoit script now but it can't perform the task as i wanted... coz.. runonce executes before explorer loads,, so autoit script doesn't worked.but if explorer is loaded it will work superb.4. restart PC automatically after 1 min Link to comment Share on other sites More sharing options...
bledd Posted September 23, 2005 Share Posted September 23, 2005 you could add an entry to Startup using runoncex which calls a batch file that adds a runonce for the second load.. Link to comment Share on other sites More sharing options...
Nepali Posted September 23, 2005 Author Share Posted September 23, 2005 (edited) how ...can u give example ?i need to execute autoit script after explorer is loaded Edited September 23, 2005 by Nepali Link to comment Share on other sites More sharing options...
Nepali Posted September 24, 2005 Author Share Posted September 24, 2005 what command r u using for registring fonts in UAXP CD Link to comment Share on other sites More sharing options...
MHz Posted September 24, 2005 Share Posted September 24, 2005 i have used autoit script now but it can't perform the task as i wanted... coz.. runonce executes before explorer loads,, so autoit script doesn't worked.but if explorer is loaded it will work superb.4. restart PC automatically after 1 min<{POST_SNAPBACK}>Two RunOnce keys are available. You must be using HKLM RunOnce? HKLM RunOnce waits for completion before loading the Desktop. HKCU runs when the startup folder does, and runs while the Desktop is active. I have not registered fonts unattended, but I use HKCU RunOnce to run my AutoIt script and it does well. HKCU RunOnce also removes those shortcuts in time that are not created until the desktop is active. Link to comment Share on other sites More sharing options...
dwit Posted September 24, 2005 Share Posted September 24, 2005 you could try using fontinstaller.exeCheck this page out. it tells you how to use the utiltiyand i've included a direct download too.PCRC Applications FontInstallerFontInstaller.exe Link to comment Share on other sites More sharing options...
dwit Posted September 24, 2005 Share Posted September 24, 2005 (edited) Oh and just in case you don't know you no longer need to use autoit to intall the fonts and you really have the option of making the sfx and then calling it from the batch file like any other prog or calling the utility dirctly just make sure your fonts are in the same folder along with the "'fonts.dat'" file.cool?Good luck. Edited September 24, 2005 by dwit 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