Page 13 of 16
Re: CEA - Custom Event Actions
Posted: 18 Dec 2020 19:25
by admin
The pilcrow is not as safe.
Re: CEA - Custom Event Actions
Posted: 18 Dec 2020 19:37
by highend
Sure but the same is true for user defined button scripts as well.
Re: CEA - Custom Event Actions
Posted: 18 Dec 2020 20:57
by admin
Good point.

Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 10:51
by admin
But I still don't understand why it makes a difference for your script. Whether it's 0202 or B609, who cares?
Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 11:47
by highend
01. I like things to be consistent
02. For most people regexes are evil be default. The necessity to parse these things with the need for e.g.: "\x02\x02" instead of a simple string representation like "¶"...
Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 11:51
by admin
You are aware that it's not just "¶", there is a TAB char (\x09) after it as well.
Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 11:55
by highend
Yeah, I am. I've found that behavior in the definitions of custom column scripts (when stored in XYplorer.ini) a long time ago and found that very annoying / irritating as well

Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 11:56
by autocart
Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 14:35
by autocart
v21.30.0047 - 2020-12-18 11:23
+ Configuration | General | Custom Event Actions: Now the Script column pops
a tooltip showing the full script (first 24 lines).
Feels good.
IMHO, the tooltip alone would have been too uncomfortable as info, as I wrote before, but the combination of Script clumn showing the first line and the tooltip is nice. The Tooltip here also is not too much in the way after all.
Thank you, Don, for everything.
Re: CEA - Custom Event Actions
Posted: 19 Dec 2020 14:41
by admin
OK, I bought that consistency point, especially because it allows me to make the code smaller (which is always a bliss in a coder's life). So, next beta it will be all B609 instead of 0202.

Re: CEA - Custom Event Actions
Posted: 20 Dec 2020 01:09
by autocart
It would be extremely awesome if the CEA section of the config dialog had a cute little button executing the command #757 "Go to Scripts Folder".
Oh... but when the config dialog is open, then XY can not go to any folder... what a bummer ... any ideas?
EDIT: Oh... XY can still go to it in a new window...
Re: CEA - Custom Event Actions
Posted: 20 Dec 2020 13:23
by admin
Well, you could just open a 2nd instance at the Scripts folder yourself...

Re: CEA - Custom Event Actions
Posted: 20 Dec 2020 14:45
by klownboy
What might have been a valuable option is to be able to open the script file directly with the Windows or XY default editor as possibly a drop down choice, but I suppose that would be impractical since a user could have all kinds of commands in the edit script dialog (i.e., it would only apply if the user had a single line, load "script" where the "script" would be opened in the assigned editor.
Re: CEA - Custom Event Actions
Posted: 20 Dec 2020 21:19
by LittleBiG
If you move your mouse from up to down, the tooltip showing the whole script appears correctly, but if you do it upwards, the tooltip placement is not ok, it hides the Script column entry. (if there is not enough space below so the tooltip has to appear above the entry). It is a bit difficult to check scripts moving upwards.
Re: CEA - Custom Event Actions
Posted: 21 Dec 2020 09:54
by admin
I see what you mean but I cannot control the position of those tooltips.