Sign in to follow this  
Followers 0
klamsi

where are the Trayfunctions?

10 posts in this topic

Hey guys!

I just recodnized that there where some more TrayFunctions in the old AutoIT v2.

Like TrayCreateMenu() and TrayCreateItem() etc.

Why are these functions gone?

Cause I'm looking for a TrayMenu where I can put more Functions in, not just "Pause Script" and "Exit".

Is this possible?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

just "search" the word "tray" in the help file

there are lots of great examples at the bottom of each page

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

HI,

they are there. Maybe only in beta.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

I allready tried to search "tray"...

But there is only the TrayTip() Function.

All other functions are not implemented.

But why?

If somebody nows the Functionname please tell me ^^

(I'm working with Autoit v3.1.1)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

woops double post... see next.

Edited by dandymcgee

- Dan [Website]

Share this post


Link to post
Share on other sites

$TRAY_EVENT_PRIMARYDOUBLE variable used without being declared. WHERE ARE ALL OF THE TRAY FUNCTIONS???


- Dan [Website]

Share this post


Link to post
Share on other sites

I finally found where they put those darn tray functions.

Right-Click GUIConstants.au3 and select Properties

Uncheck read-only and Apply

Open GUIConstants.au3

add:

#include<Constants.au3>
to the list of #includes

Save GUIConstants.au3

Use #include<GUIConstants.au3> at the beginning of your scripts as usual.

TIP: Might want to reapply the read-only attribute to this file just in case of and accidental edit :P


- Dan [Website]

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