Sign in to follow this  
Followers 0
CyberSlug

Inputbox Default Font

4 posts in this topic

I've determined how to ResHack* AutoIt to change the font of Msg and Input boxes, but is there a way to do this directly in the source code? Is the Aut2exe code available, for that matter?

* Steps to change the Arial 8pt font:

1) Using upx, decompress AutoIt.exe

2) Using ResHacker to edit the "Dialog : 1000 : 2057" resource, change the FONT 8, "Arial" to something else.


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites



Not sure what you mean. You mean make it arial for everyone or what? I don't think we need _another_ parameter on InputBox - it's at 9 already... :whistle:

Source code to Aut2Exe is available, but it doesn't do anything to the exe (seems odd I know). If you want to change the font for all versions for yourself then rename AutoItSC.bin to AutoItSC.exe and reshack that then rename back to .bin then all your compiled scripts will use those settings. B)

Share this post


Link to post
Share on other sites

If you want to change the font for all versions for yourself then rename AutoItSC.bin to AutoItSC.exe and reshack that then rename back to .bin then all your compiled scripts will use those settings.

Neat trick Jon :whistle: Thanks

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Almost forgot about this thread!

It appears that FONT 8, "Arial" is hard-coded somewhere in the MsgBox code. If so, where is it in the source code? Message boxes from other programs use my Window's font which is Tahoma....


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0