#1198 closed Feature Request (Rejected)
User tray items auto-checkmarking
| Reported by: | 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:2 by , 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 , 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 , 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 , 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 , on Oct 9, 2009 at 10:26:44 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
No bug just se the rigth Opt('TrayMenuMode', ...)
comment:7 by , on Oct 10, 2009 at 3:41:49 AM
| Resolution: | No Bug |
|---|---|
| Status: | closed → reopened |
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 , on Oct 10, 2009 at 6:52:16 AM
| Type: | Bug → Feature Request |
|---|
comment:9 by , 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:11 by , on Oct 12, 2009 at 5:39:02 AM
| Owner: | set to |
|---|---|
| Status: | reopened → assigned |
comment:12 by , on Jul 21, 2013 at 11:32:31 PM
| Resolution: | → Rejected |
|---|---|
| Status: | assigned → closed |

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