Page 1 of 1
All custom buttons are broken in 22.90.0006
Posted: 21 Feb 2022 19:24
by peterbonge
I've just installed the new beta an now all my custom buttons are broken. If I click them they just open a menu with the command, but clicking it does nothing.
Affected are left click actions like "load" or "open". Right click actions are working.
I can fix this by adding "::" at the beginning of the command, but that shouldn't be necessary, or?
Re: All custom buttons are broken in 22.90.0006
Posted: 21 Feb 2022 19:32
by Horst
Buttoms with the run command don't execute
they just displaying the command line
Re: All custom buttons are broken in 22.90.0006
Posted: 21 Feb 2022 20:13
by JohnM
For me it's buttons with the open command.
Re: All custom buttons are broken in 22.90.0006
Posted: 21 Feb 2022 20:56
by Delphine
Horst wrote: ↑21 Feb 2022 19:32
Buttoms with the run command don't execute
they just displaying the command line
So, you say run command in a button is useless ? Strange

Re: All custom buttons are broken in 22.90.0006
Posted: 22 Feb 2022 02:17
by 1024mb
Buttons with load script also don't work.
Re: All custom buttons are broken in 22.90.0006
Posted: 22 Feb 2022 08:41
by admin
Let me guess: These run and open scripts don't end with a ; ?
Re: All custom buttons are broken in 22.90.0006
Posted: 22 Feb 2022 08:58
by Horst
You are right
Adding a ; and they work again.
This change in behaviour was not announced
Re: All custom buttons are broken in 22.90.0006
Posted: 22 Feb 2022 11:43
by admin
In the next beta it will work again without the ;. But that's just tolerance. You really should end a line of script with a semicolon.
Re: All custom buttons are broken in 22.90.0006
Posted: 22 Feb 2022 18:36
by peterbonge
admin wrote: ↑22 Feb 2022 11:43
In the next beta it will work again without the ;. But that's just tolerance. You really should end a line of script with a semicolon.
Of course you are right, but for me it's a little bit unusual because I'm working with AutoHotkey a lot and there you need a semicolon at the end only for comments. And especially at one-liners you can quickly forget the semicolon.