Moving/Sliding/Scrolling Text in GUI

Post your working scripts, libraries and tools
DigiDon
Posts: 175
Joined: 19 May 2014, 04:55
Contact:

Moving/Sliding/Scrolling Text in GUI

16 Jan 2018, 12:23

Image

Hi everyone,

Not sure of the proper English phrase for this : Moving/Sliding/Scrolling Text
I didn't see a complete existing topic on that so here is what I came up with.

I did 4 versions: 2 types (text and statusbar) with 2 variations : Left to Right or Right to Left
Feel free to adjust for more variations (pause at some point, change in the text, whatsoever). The script is quite malleable ;)

Basically it works like this (sorry I did not put comment):
Text control
It moves the text control until it has disappeared and start over
StatusBar
More complicated: it expands or reduces the size allocated to the status bar part and at the end or at the beginning (depending on right or left) it substracts or adds characters to the string until we have it empty or full. Then it starts over.

I am using some functions from jballi's [Library] Fnt v3.0 - Do Stuff With Fonts to get the width of the text
https://autohotkey.com/boards/viewtopic.php?f=6&t=4379

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



Scrolling Text
Left to Right

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Right to Left

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



Scrolling StatusBar
Left to Right

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Right to Left

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



Enjoy ! ;)
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic

Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation :thumbup:

Return to “Scripts and Functions”

Who is online

Users browsing this forum: ashimoi, DataLife, Ved and 15 guests