Sign in to follow this  
Followers 0
jrsofsd

My version of the "Toast" UDF

6 posts in this topic

Hi

I've added new functionality to Toast:

  1. Control the Toast up and down times.
  2. Allow Toast to be centered on the Taskbar in addition to appearing at the end.
  3. Added animation types Roll, Center, and Blend. Types Center and Blend are always centered on the Desktop/work area.

These features are specified with a call to a new function _Toast_Set_Timers_Animation().

Toast_Examples.au3 has been updated to demonstrate the added features, and each Toast example has a 'header' in the file so desired examples can be located quickly.

Comments are appreciated :geek:

Toast.zip

Share this post


Link to post
Share on other sites



Hi

I've added new functionality to Toast:

  1. Control the Toast up and down times.
  2. Allow Toast to be centered on the Taskbar in addition to appearing at the end.
  3. Added animation types Roll, Center, and Blend. Types Center and Blend are always centered on the Desktop/work area.

These features are specified with a call to a new function _Toast_Set_Timers_Animation().

Toast_Examples.au3 has been updated to demonstrate the added features, and each Toast example has a 'header' in the file so desired examples can be located quickly.

Comments are appreciated :geek:

Cannot wait to try these new features out - thanks...


All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

Hi

I've added new functionality to Toast:

  1. Control the Toast up and down times.
  2. Allow Toast to be centered on the Taskbar in addition to appearing at the end.
  3. Added animation types Roll, Center, and Blend. Types Center and Blend are always centered on the Desktop/work area.

These features are specified with a call to a new function _Toast_Set_Timers_Animation().

Toast_Examples.au3 has been updated to demonstrate the added features, and each Toast example has a 'header' in the file so desired examples can be located quickly.

Comments are appreciated :geek:

You have extra =.... easy fix though

"D:ScriptsToastToast.au3"(740,76) : error: syntax error

            If $iToast_Taskbar_Pos_Temp = $CENTER_OF_TASKBAR Then $aToast_Data[0] = /=

Share this post


Link to post
Share on other sites

Thaniks Polymath for catching the error!

I couldn't find a way to update my original post with a fixed zip so I'm reposting...

Toast.zip

Share this post


Link to post
Share on other sites

jrsofsd,

Nothing personal, but I am going to split off the posts dealing with your version of the Toast UDF into their own thread later today. That way I can keep my version separate and there will be no confusion. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

M23,

Thanks for the great utility. It wasn't my intention to maintain a sepatate version of Toast but it it IS your code! It would be immensely helpful if you could notify me when a new version of Toast is avaiable. :geek:

 

BTW, would it make sense to remove the Return statement at the end of the 'Case Default' for the '$vJust' parameter in _Toast_Set() (line 101)? Since setting '$vJust' to 'Default' sets all remaining parameters to their defaults, a statement like this:

_Toast_Set(Default, -1, -1, -1, -1, -1, -1, 3)

would set ths first 7 parameters to their defaults and specify that the Taskbar is on a secondary monitor to the left. Just a thought...

jrs


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