09-24-2018, 07:48 PM
In my toolbars and menus I have many macros that automatically insert Username and Password. They have this structure:
This way I can quickly insert passwords just by clicking on their field.
Sometimes it happens that websites require me to repeat or confirm just the username or just the password. So, for these cases, I have written multiple menu items (or toolbar buttons) with this structure:
Sometimes websites require me to update passwords. The problem is that in these cases I could forget to update all menu items (or toolbar buttons). In some cases I tried to solve this problem by creating separate shared macros, for example, a macro "Username" and a macro "Password", this way:
This way I need to keep updated just the shared macros. But this makes me creatig a lot of separate, different macros.
I think that a good solution would be the possibility to call next menu items (or toolbar buttons) from the previous one, in a structure like this one:
A possible solution could be the one described in this thread, but I would need a simple, single line, command, that would just call the next 1st or 2nd menu item.
Calling a specific line in a menu o toolbar macro would not be a good solution because, if I will add a menu items, all line numbers would change and consequently all calls would need to be updated.
What could be a better solution?
This way I can quickly insert passwords just by clicking on their field.
Sometimes it happens that websites require me to repeat or confirm just the username or just the password. So, for these cases, I have written multiple menu items (or toolbar buttons) with this structure:
Menu 1 :key "Username"; wait 0 ML; key "Password"
Menu 2 :key "Username"
Menu 3 :key "Password"
Sometimes websites require me to update passwords. The problem is that in these cases I could forget to update all menu items (or toolbar buttons). In some cases I tried to solve this problem by creating separate shared macros, for example, a macro "Username" and a macro "Password", this way:
Menu 1 :mac "Username"; wait 0 ML; mac "Password"
Menu 2 :mac "Username"
Menu 3 :mac "Password"
This way I need to keep updated just the shared macros. But this makes me creatig a lot of separate, different macros.
I think that a good solution would be the possibility to call next menu items (or toolbar buttons) from the previous one, in a structure like this one:
Menu 1 :(execute 1st following menu item); wait 0 ML; (execute 2nd following menu item)
Menu 2 :key "Username"
Menu 3 :key "Password"
A possible solution could be the one described in this thread, but I would need a simple, single line, command, that would just call the next 1st or 2nd menu item.
Calling a specific line in a menu o toolbar macro would not be a good solution because, if I will add a menu items, all line numbers would change and consequently all calls would need to be updated.
What could be a better solution?