Page 1 of 1
Duplicate entries in different submenus
Posted: Jan 25th, ’19, 14:28
by Nmk
Hello!
I'm trying to create a menu like this:
Menu 1 > Test 1
Menu 2 > Test 1
... and get an error message about dublicate entries.
Is this a bug or a feature?
regards
Nmk
Re: Duplicate entries in different submenus
Posted: Jan 25th, ’19, 17:20
by Tom
This is by design, triggering menus should not have duplicates.
Re: Duplicate entries in different submenus
Posted: Jan 29th, ’19, 14:44
by Nmk
But they are not really duplicate. They have the same name but in different parent menus.
Menu 1 > Test 1
Menu 1 > Test 2
Menu 1 > Test 3
Menu 2 > Test 1
Menu 2 > Test 2
Menu 2 > Test 3
Still by design?
Regards,
Nmk
Re: Duplicate entries in different submenus
Posted: Jan 30th, ’19, 20:11
by Tom
Yes, as I said the triggering menus should have unique names.
Re: Duplicate entries in different submenus
Posted: Jan 31st, ’19, 09:45
by Nmk
I don't like that design.

Re: Duplicate entries in different submenus
Posted: Jan 31st, ’19, 20:04
by Marko
We'll think about it...

Re: Duplicate entries in different submenus
Posted: Sep 4th, ’19, 08:22
by gksh
One more issue (Although i've tried to post it in other thread also, but i was not able to post even on Submitting multiple times, so trying to post here)
If I've given a Hotkey 'A' for Script-1 and i used it.
Now I've Un-Ticked this Hotkey (It means I've Disabled the hotkey).
Now I've created another script with Hotkey 'A'.
It shows me the error 'Duplicate Hotkey'.
Don't you think that it should serarch for Duplicates ONLY IN THE CURRENTLY ACTIVE HOTKEYS (ie, Only in the 'Ticked' hotkeys ?)
Or user should be given an option in the 'preferences' to check for Duplicates -
(1) Check for Duplicates in "All Hotkeys" or
(2) Check for Duplicates only in Currently "Active" Hotkeys
Autohotkey is used mostly by (little / more) technical persons.
Who use AHK Scripts for small to medium - ONE TIME TASKS / Weekly occurring tasks - Throughout the day.
But, It is Currently Very Problematic to use FastKeys because for small things when we create scripts (Temporary scripts) and set them on easily accessible Keyboard buttons - Like 'A' or 'Z' - FastKeys does Not allow to create the script as it thinks that already existing but Disabled Script having 'A' as Hotkey is Duplicate.
Re: Duplicate entries in different submenus
Posted: Sep 4th, ’19, 08:48
by gksh
Also This - 'Duplicate Key' error throwing 'Even on considering the Disabled (Un-Ticked) keys for matching Duplicates' can NOT be said as a Design Philosophy.
Because, In FastKeys i CAN HAVE 2, 3, 4, 5 or even 100 Duplicated Keys.
I can also ENABLE All the 100 Duplicate keys at the same time.
I can 'Apply' and 'Save' also.
Still it does Not throw any 'Duplicate keys' error.
I can do all this by using 'Insert' -> 'Duplicate' menu item.
So if we can have duplicates in this case,
Then FastKeys should not consider Disabled keys also for duplicate checking (which would largely increase the convenience in using FastKeys for one-time scripting using the same easily accessible 'A' or 'Z' keys for running Different scripts - just by 'Ticking' / 'Un-Ticking' them).
Re: Duplicate entries in different submenus
Posted: Sep 4th, ’19, 11:02
by Tom
Thanks, we will consider the suggestion.