Custom button bug

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
mnazmi
Posts: 4
Joined: 20 Jul 2016 11:29

Custom button bug

Post by mnazmi »

hi,

I just installed xyplorer 17 and my os win10 64. I think custom button has bug.

I use custom button and assign an exe file on button. Click on button and program works.
But when give a name this button then click botton program is not work and I got this error :
To see the attached files, you need to log into the forum.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom button bug

Post by highend »

Welcome to the forum.

Show a screenshot of your button definition (where you entered the name and the .exe file)
One of my scripts helped you out? Please donate via Paypal

mnazmi
Posts: 4
Joined: 20 Jul 2016 11:29

Re: Custom button bug

Post by mnazmi »

here is :
To see the attached files, you need to log into the forum.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom button bug

Post by highend »

Ok, at least it's something that could be improved. Just entering an .exe works fine but in combination with a title it errors out. But it's easily solved:

- The box where you entered the .exe is actually a box that executes scripts

So to solve your problem use:

Code: Select all

::run """C:\Program Files\MKVToolNix\mkvtoolnix-gui.exe""";
You need the triple quoting (or you could use '"...'" instead).

Now it's a script and works fine when you give the button a title
One of my scripts helped you out? Please donate via Paypal

mnazmi
Posts: 4
Joined: 20 Jul 2016 11:29

Re: Custom button bug

Post by mnazmi »

hi,

I tried the code , everythings is OK all custom buttons are work with title.

thank you

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Custom button bug

Post by admin »

Nothing to do here for me. By definition, the specical button functionality (enter EXE instead of a script -> droppable user button) only works if there is not title given. Otherwise a script is expected.

Post Reply