Sign in to follow this  
Followers 0
JScript

_FloatText.au3 (UDF)

17 posts in this topic

#1 ·  Posted (edited)

Function Reference


_FloatText.au3

Functions related to presentation of text on the screen without the need for windows!

Sintax:

_FloatText_Create( "text", left, top [, style [, exStyle]] )
_FloatText_SetFont( controlID, size [, weight [, attribute [, fontname [, quality]]]] )
_FloatText_SetText( controlID, "Text" )
_FloatText_SetState( controlID [, state ] )
_FloatText_Delete( controlID )
_FloatText_SetColor( controlID, color )
_FloatText_SetPos( controlID, left, top )
_FloatText_GetPos( controlID )

Supports:

; Alphanumeric characters!

Downloads:

Version: 1.20b

FloatText_v1.20b_20-05-2012_en.zip

Note: I have made significant changes in the code, including the syntax of all the functions!

Usage example is included!

Sample:

Posted Image

Note: You can use Style and exStyle same as GuiCtrlCreateLabel() funtion!

Ex.: _FloatText_Create("text", 10, 10, -1, $GUI_WS_EX_PARENTDRAG) for drag text!

Fixes:

  • 1.20b
  • 20/05/2012 -> The UDF has been completely re-written, text quality is 10, fast and stable, all functions have been modified, including parameters!


Regards,

João Carlos.

Edited by JScript
1 person likes this

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites



Pretty sweet. Could be useful!


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Looks very interesting! I will have definitely a closer look to the UDFs :D

Thanks for sharing,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Great UDF

I'll sure use it in the next scripts!

Excelente trabalho! :D


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

The UDF has been totally rewritten with the code more simple, fast, stable and better quality! ;)

Regards,

João Carlos.

Edited by JScript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites

Hey U can add a Functionality of Draging or Fading .....................

N U get more Likes and Comments..........

If U want More help Regarding the Above Two Functions.............

I have Already made a UDF similar to yours with the Above two Extra Functions.........


My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Share this post


Link to post
Share on other sites

@PhoenixXL

For draging:

_FloatText_Create("text", 10, 10, -1, $GUI_WS_EX_PARENTDRAG)

For fading I have not much interest...

Regards,

João Carlos.


http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites

This is pretty cool, I may use it sometime.

Another great UDF ;).

Share this post


Link to post
Share on other sites

Well I forgot to Mention....................

Awesome UDF................

Keep up the Good Work..................... ;)

Regards

Phoenix XL


My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Thank you for sharing.

I can see a use for it in one of my games.


[left][hr]
$mood = "whimsy"
$mode = "confused"
$randomChaos = True
Do
Something()
Until $Tired
[/left][left]Reflex (Arcade game)[/left][left]IX (Board game)[/left][left]The Word Game (Word game)[/left][left]Plastic Sliding Squares Puzzle (Puzzle)[/left]

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