Opened 16 years ago
Closed 13 years ago
#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:1 by , 16 years ago
comment:2 by , 16 years ago
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 , 16 years ago
Odd, I could've sworn I tried that and it didn't work. Still shouldn't be the default behaviour though.
comment:4 by , 16 years ago
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 , 16 years ago
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 , 16 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
No bug just se the rigth Opt('TrayMenuMode', ...)
comment:7 by , 16 years ago
| 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 , 16 years ago
| Type: | Bug → Feature Request |
|---|
comment:9 by , 16 years ago
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 , 16 years ago
| Owner: | set to |
|---|---|
| Status: | reopened → assigned |
comment:12 by , 13 years ago
| 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.