Jump to content
Sign in to follow this  
ioliver

System Tray Menu

Recommended Posts

ioliver

I thought I read something a while back about adding items to a System Tray menu, but I've searched the Help File and the Forums and I can't seem to find anything...

What I'm wondering is if there is a way to Add items to the Right-Click menu of the AutoIt System Tray icon? What I want to do is use the new(ish) WinList() command and list all open windows from the AutoIt icon in the System Tray, and have it to where when you click them, they are brought to the front.

Anyway, please let me know if there is a way to add items to the System Tray menu?

Thanks for your time,

Ian


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

Share this post


Link to post
Share on other sites
therks

Not yet. From what I understand the developers are working on it. No idea about progress.

Sorry.

Share this post


Link to post
Share on other sites
themax90

You can remove it though, and disable it.

Opt("TrayIconHide", 0) ;0=show, 1=hide tray icon

Opt("TrayIconDebug", 0) ;0=no info, 1=debug line info

Break

--------------------------------------------------------------------------------

Enables or disables the users' ability to exit a script from the tray icon menu.

Break ( mode )

Parameters

mode Sets the script break mode:

1 = Break is enabled (user can quit) (default)

0 = Break is disabled (user cannot quit)

Return Value

None.

Remarks

Please only disable break with good reason.

AutoIt normally creates a tray icon when running, and right-clicking this icon allows the user to pause or exit the script. If Break is enabled (1), then the user cannot terminate the script this way.

Related

None.

Example

Break(0) ;Disable break

I think theres link one more but thats all we can do so far with the tray icon...

Share this post


Link to post
Share on other sites
ioliver

Thanks for all your replies. Much appericated.

Ian


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

Share this post


Link to post
Share on other sites
Holger

Hi Ian, yep still in progress :D

I did implement it in an unstable version from december beginning but next week I put it in the current unstable (from today) so some people can test it.

I changed/deleted some functions again so that means it is still in progress but the most things I have done so far.

How these functions will be there in the future I don't know.

These are only some ideas from others and me that I built in...

Regards Holger :idiot:

Share this post


Link to post
Share on other sites
ioliver

Hi Ian, yep still in progress :D

I did implement it in an unstable version from december beginning but next week I put it in the current unstable (from today) so some people can test it.

I changed/deleted some functions again so that means it is still in progress but the most things I have done so far.

How these functions will be there in the future I don't know.

These are only some ideas from others and me that I built in...

Regards Holger :idiot:

<{POST_SNAPBACK}>

Thanks Holger,

I downloaded the current unstable today, but I didn't see it mentioned in the Help File. What is the command / function called?

Thanks again,

Ian


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

Share this post


Link to post
Share on other sites
Holger

@Ian: "but next week I put it in the current unstable (from today)" !!! :lol:

Ok, I forgot one word "I _will_ put"...

Ahhh, forgot: don't have time this week(end) cause of testing Autoit you know and baking muffins :D and my washing machine died today too :idiot:

Life is crazy...good night...

I will inform you if there is a testing exe...

Edited by Holger

Share this post


Link to post
Share on other sites
ioliver

No problem, Thanks again... :idiot:


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

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  

×