Jump to content

Recommended Posts

Posted

  Nahuel said:

The font selector doesn't work there :)

hmm, dunno why, I'm running XP Pro corp sp2 with autoit 3.2.6.0 and it works for me, I really need to try it on other computers I guess, people are getting lots of bugs Ive never seen. In any case, the key is the _FontGetList() function from the Include. that will give you a list of all the fonts on the given system, you can then use GuiCtrlSetFont(). Not sure why it didn't work for you, but if you look at the textedit.au3 include in the source pack you can grab the function and try to make it work for your script.

[u]You can download my projects at:[/u] Pulsar Software
Posted
  big_daddy said:

It took me a second too, but he was telling maqleod to download the latest version of AutoIt.

HAHA, god I feel dumb now.
  • 2 months later...
  • 3 weeks later...
Posted

  sensalim said:

It's a wonderful script, but I find it is using different fonts... odd.

See screenshot.

Weird... I tested it again but it works fine. Could you reproduce your steps and tell me how you did it?

  • 4 months later...
  • 5 months later...
Posted

When I run the script I get an error message for $WS_EX_TOPMOST on line 27.

$Main=GUICreate("",200,200,-1,-1,-1,BitOR($WS_EX_TOPMOST,$WS_EX_TOOLWINDOW))

Error: Variable used without being declared

Any idea?

Thanks

Posted

  Chorda said:

When I run the script I get an error message for $WS_EX_TOPMOST on line 27.

$Main=GUICreate("",200,200,-1,-1,-1,BitOR($WS_EX_TOPMOST,$WS_EX_TOOLWINDOW))

Error: Variable used without being declared

Any idea?

Thanks

Add
#Include <WindowsConstants.au3>
Posted

  TehWhale said:

Add

#Include <WindowsConstants.au3>
Yup, that solved it. Thanks. But now on line 30:

$InputTitulo=GUICtrlCreateEdit("",5,22,190,25, $ES_AUTOVSCROLL + $WS_VSCROLL + $ES_MULTILINE + $ES_WANTRETURN)

$ES_AUTOVSCROLL is not declared.

Posted

  Chorda said:

Yup, that solved it. Thanks. But now on line 30:

$InputTitulo=GUICtrlCreateEdit("",5,22,190,25, $ES_AUTOVSCROLL + $WS_VSCROLL + $ES_MULTILINE + $ES_WANTRETURN)

$ES_AUTOVSCROLL is not declared.

It's either EditConstants.au3 or InputConstants.au3

You should memorize which go with which so you can do this on your own.

Posted

  TehWhale said:

It's either EditConstants.au3 or InputConstants.au3

You should memorize which go with which so you can do this on your own.

Got it. Actually, to make that script work, I had to include:

#Include <WindowsConstants.au3>

#Include <GuiEdit.au3>

#include <ButtonConstants.au3>

#include <StaticConstants.au3>

I just found out that all these files are in the include directory. Thanks a lot TehWhale.

Posted

  Chorda said:

Got it. Actually, to make that script work, I had to include:

#Include <WindowsConstants.au3>

#Include <GuiEdit.au3>

#include <ButtonConstants.au3>

#include <StaticConstants.au3>

I just found out that all these files are in the include directory. Thanks a lot TehWhale.

Glad I could help :P

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...