Jump to content

Recommended Posts

Posted (edited)

you know those MSN and other messanger type logon Gui's. they just pop up on to your screen that you friend has logged on... well i made an 2 function UDF ( planning to make more when i have the time ). Well i didnt find any more of these so i might be the first :party:

you will find the description inside the script but theres 2 functions

* tray_gui("your title", "your text", (sound 1 or 0)) - this is just for showing no functions will happen by clicking on it

* tray_func("your title", "your text", "myfunc", (sound 1 or 0)) - by clicking on it, it will run a function which is a func soo make your function named that :party:

* tray_side("your title", "your text", (sound 1 or 0)) - tray side just pops from the right side of your screen and it's no function

* tray_sidefunc("your title", "your text", "yourfunc", (sound 1 or 0)) - same as tray side but it is with func like tray_func it calls your function on click :mellow:

Version 0.2

  Reveal hidden contents

Version 0.1

  Reveal hidden contents

i suggest you download the data pack. it contains the sound :P

zibit,

data.rar

Edited by Zibit
Posted (edited)

Hi Zibit ! :P

If i try

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <TrayFunc.au3>
#include <WinAPI.au3>

Opt('MustDeclareVars', 0)

Tray_func ( "Tray Popup GUI UDF", "Hi Zibit it work's!", 1 )

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GUIDelete()

Func MouseClickFunc()
    ConsoleWrite("works" & @CRLF)
    exit
EndFunc

I heard no sound cause soundplay support wav and mp3, not wma !

And title is cut... :mellow:

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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...