Page 1 of 1

New SC setting for HoverBox abnd FileInfo Tips

Posted: 28 Jul 2024 14:52
by klownboy
Any chance we could get a SC setting for HoverBox and FileInfoTips that wouldn't require a save (i.e., using p permanent). I've written a small script which easily toggles Hover Box with a left click and toggles File Info Tips with a Right click of a CTB (see pic) and it works fine, but it's never going to be truly in line with the XYplorer.ini file settings for ShowHoverBox=1 and ShowInfoTip=0 without a save settings. Even using permanent variables which I'd rather not do, it can still be out of sync with the ini file especially on restart. Thanks.


Edit: Maybe an SC for HoverBox/FileInfoTips would be a better idea where you'd have a parameter to control whether it toggles Hover Box or FileInfoTips (e.g., SC Hover 0|1|!, 1|2, where a save is not required (a scripting command similar to SC dark). With additional parameters it could also be used to toggle additional Info Tips (e.g. toolbar, tabs, etc.).
File Info Tips HoverBox Toggle.jpg
File Info Tips HoverBox Toggle.jpg (14.6 KiB) Viewed 7378 times

Re: New SC setting for HoverBox abnd FileInfo Tips

Posted: 07 Dec 2024 09:46
by admin
I don't see why ShowHoverBox and ShowInfoTip should be exposed to scripting. They control what happens after certain mouse movements, and scripts don't move the mouse and don't have eyes to see what pops up.

Re: New SC setting for HoverBox abnd FileInfo Tips

Posted: 07 Dec 2024 11:34
by klownboy
OK I understand that, but you can control what happens with the mouse movement so maybe setting as I mentioned first would be more appropriate for this situation.

Re: New SC setting for HoverBox abnd FileInfo Tips

Posted: 07 Dec 2024 12:09
by admin
? I don't see the difference. Both is scripting.

Re: New SC setting for HoverBox abnd FileInfo Tips

Posted: 07 Dec 2024 14:50
by klownboy
I don't see why it make any difference in the fact that you move a mouse to affect the setting or that you are using scripting to change a setting (i.e., what you are setting is what you want to see after the mouse movement (tips and hover box on or off). In any case no problem. :)