Modify

#1198 closed Feature Request (Rejected)

User tray items auto-checkmarking

Reported by: Rob Saunders <therks@…> Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: trayitem Cc:

Description

Sorry for the clumsily worded title.
Repro. script:

Opt('TrayAutoPause', 0)
TrayCreateItem('Click me')

While 1
	Sleep(1000)
WEnd

When you click "Click Me" it check marks it. I never told it to do this and, though I might be missing something, I can't figure out how to make it stop. I don't believe this is the proper behaviour.

Environment = 3.3.1.1 under WIN_XP/Service Pack 2 X86

Attachments (0)

Change History (12)

comment:1 by Valik, on Sep 27, 2009 at 5:23:40 PM

I too found it difficult to figure out how to disable the behavior. This is definitely not something that should be default behavior.

comment:2 by wraithdu, on Sep 29, 2009 at 4:37:53 AM

Opt('TrayMenuMode', 2)

This Opt will stop the behavior, though the Opt description in the help file doesn't clearly convey the effect.

comment:3 by Rob Saunders <therks@…>, on Sep 29, 2009 at 10:01:57 AM

Odd, I could've sworn I tried that and it didn't work. Still shouldn't be the default behaviour though.

comment:4 by BinaryBrother, on Oct 4, 2009 at 8:37:11 PM

Using Opt('TrayMenuMode',2) causes "Script Paused" and the default Tray-items for an AutoIt script to be shown in my tests. I didn't manage to disable the checks at all, without causing defaults to be added to the tray menu.

AutoIt Ver.: 3.3.1.1
NT 6.1 (Windows 7) x64

comment:5 by Rob Saunders <therks@…>, on Oct 7, 2009 at 10:04:19 AM

If you read the help, it states that 1 is to disable the default menu, so combine 1 with 2.
ie: Opt('TrayMenuMode', 1+2)

comment:6 by Jpm, on Oct 9, 2009 at 10:26:44 PM

Resolution: No Bug
Status: newclosed

No bug just se the rigth Opt('TrayMenuMode', ...)

comment:7 by Valik, on Oct 10, 2009 at 3:41:49 AM

Resolution: No Bug
Status: closedreopened

The problem is, we have to set the magical combination of correct options. It's poorly designed and is needlessly confusing. Something needs addressed here because two otherwise competent individuals (at least) were puzzled about the behavior.

comment:8 by Jpm, on Oct 10, 2009 at 6:52:16 AM

Type: BugFeature Request

comment:9 by Jpm, on Oct 10, 2009 at 6:55:38 AM

Is not so magical but yes there is 2 different options that currently have to be understood

Opt('TrayAutoPause', 0)	; to avoid script pause
Opt('TrayMenuMode', 2)	; to avoid user item checkmarking

that does not seem too much but well ...

comment:10 by TicketCleanup, on Oct 10, 2009 at 8:00:02 AM

Version: 3.3.1.1

Automatic ticket cleanup.

comment:11 by Jpm, on Oct 12, 2009 at 5:39:02 AM

Owner: set to Valik
Status: reopenedassigned

comment:12 by Jon, on Jul 21, 2013 at 11:32:31 PM

Resolution: Rejected
Status: assignedclosed

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.