CEA - Custom Event Actions

Features wanted...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: CEA - Custom Event Actions

Post by admin »

LittleBiG wrote: 09 Dec 2020 13:12
admin wrote: 09 Dec 2020 12:57
LittleBiG wrote: 09 Dec 2020 12:07 I put a sorting into the "after browsing" in 21.30.0023. I expected not to see the flicker from changing the sorting, as it the script was not in the after painting section. But I was wrong. Is there something to improve still?
How do you go to the new location. Within tab? Tab switch?
Simply by double-clicking on a folder in the list.
Could not reproduce any flicker. Neither with fresh. My test script in "After browsing a folder":

Code: Select all

if (<newpath> Like "*\Program Files\*") {
  sortbylist "Readme.txt|License.txt|*.exe", "|";
}

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CEA - Custom Event Actions

Post by LittleBiG »

I am answering by an extension of your script to show where the flicker comes from:

Code: Select all

//test
  echo "wait a bit to see the folder content";
  if (<newpath> Like "*\Program Files\*") {
    sortbylist "Readme.txt|License.txt|*.exe", "|"; 
  }
Not everybody's computer is that fast.

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

Re: CEA - Custom Event Actions

Post by admin »

Nope, no contents here. Must be some setting. Try fresh...

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CEA - Custom Event Actions

Post by LittleBiG »

admin wrote: 09 Dec 2020 18:37 Nope, no contents here. Must be some setting. Try fresh...
It is fresh indeed!

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CEA - Custom Event Actions

Post by LittleBiG »

admin wrote: 09 Dec 2020 18:37 Nope, no contents here. Must be some setting. Try fresh...
I made a mistake with the script. Echo should have been in the if section.

Code: Select all

//test
  if (<newpath> Like "*\Program Files\*") {
    echo "wait a bit to see the folder content";
    sortbylist "Readme.txt|License.txt|*.exe", "|"; 
  }
Version
2020-12-09_18h43_54.png
2020-12-09_18h43_54.png (3.06 KiB) Viewed 2646 times
into the 7zip folder ("file" is a mistake in the message. should be "folder")
2020-12-09_18h43_30.png
2020-12-09_18h43_30.png (40.14 KiB) Viewed 2646 times
after clicking on "ok"
2020-12-09_18h43_44.png
2020-12-09_18h43_44.png (42.84 KiB) Viewed 2646 times

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

Re: CEA - Custom Event Actions

Post by admin »

Gonna test with Win10 tomorrow...

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: CEA - Custom Event Actions

Post by autocart »

LittleBiG wrote: 09 Dec 2020 18:46

Code: Select all

//test
  if (<newpath> Like "*\Program Files\*") {
    echo "wait a bit to see the folder content";
    sortbylist "Readme.txt|License.txt|*.exe", "|"; 
  }
[... pictures ...]
LittleBiG, if I understand correctly, you expect that the list, that is visible behind the echo-dialog should be empty.
Instead it is already painted with the default sort order.
Therefore, it flickers when your custom sorting command is executed.

If that is what you mean, then yes, I can confirm that. It also happens on my computer as well, just that I don't see a flicker (without the echo-dialog), assumingly because my computer is faster.

BTW, I am on Win 8.1

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CEA - Custom Event Actions

Post by LittleBiG »

autocart wrote: 09 Dec 2020 19:59 ...If that is what you mean...
Yes, I meant that. Also, it depends on the number of files in the folder. And I have folders with lots of files.

kuiwu_zh
Posts: 42
Joined: 24 May 2018 15:38

Re: CEA - Custom Event Actions

Post by kuiwu_zh »

"Double-click on white in folder tree" is set to "Go up" and "Double-click on white in file list" is set to "Go up".

snap_screen_20201210091615.png
snap_screen_20201210091615.png (41.88 KiB) Viewed 2611 times



Click "OK" to close the configuration dialog box. Then open the configuration dialog box, "Double-click on white in file list" is set successfully, "Double-click on white in folder tree" is not set successfully.

snap_screen_20201210091643.png
snap_screen_20201210091643.png (41.87 KiB) Viewed 2611 times



Do you have such problems?

Thank you.

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: CEA - Custom Event Actions

Post by autocart »

kuiwu_zh wrote: 10 Dec 2020 02:26 "Double-click on white in folder tree" is set to "Go up" and "Double-click on white in file list" is set to "Go up".

snap_screen_20201210091615.png

Click "OK" to close the configuration dialog box. Then open the configuration dialog box, "Double-click on white in file list" is set successfully, "Double-click on white in folder tree" is not set successfully.

snap_screen_20201210091643.png

Do you have such problems?

Thank you.
confirmed

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CEA - Custom Event Actions

Post by LittleBiG »

Just my 2 cents, it is hardly possible to be brief enough to put useful information into the first row of the script for showing it in the script column of CEA configuration.

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

Re: CEA - Custom Event Actions

Post by admin »

LittleBiG wrote: 09 Dec 2020 20:21
autocart wrote: 09 Dec 2020 19:59 ...If that is what you mean...
Yes, I meant that. Also, it depends on the number of files in the folder. And I have folders with lots of files.
There might have been 2 factors:
- Autosize Columns set in before event "After browsing a folder". I fixed that now.
- the message box itself (echo...) causes a list paint because the list loses its focus (classic observer's paradox)

So, test the next beta...

autocart
Posts: 1246
Joined: 26 Sep 2013 15:22

Re: CEA - Custom Event Actions

Post by autocart »

LittleBiG wrote: 10 Dec 2020 11:50 Just my 2 cents, it is hardly possible to be brief enough to put useful information into the first row of the script for showing it in the script column of CEA configuration.
I agree that it is not a lot of space. Like I wrote before: I am sure that there could be a better solution, but do you have one? Why did you not share it with us?

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

Re: CEA - Custom Event Actions

Post by admin »

LittleBiG wrote: 10 Dec 2020 11:50 Just my 2 cents, it is hardly possible to be brief enough to put useful information into the first row of the script for showing it in the script column of CEA configuration.
How many characters do you need to see?

LittleBiG
Posts: 1846
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: CEA - Custom Event Actions

Post by LittleBiG »

autocart wrote: 10 Dec 2020 11:56
LittleBiG wrote: 10 Dec 2020 11:50 Just my 2 cents, it is hardly possible to be brief enough to put useful information into the first row of the script for showing it in the script column of CEA configuration.
I agree that it is not a lot of space. Like I wrote before: I am sure that there could be a better solution, but do you have one? Why did you not share it with us?
Because it can be no good for the other tabs. Sigh. Ok, I show now.
Attachments
2020-12-10_11h33_02_resized2.png
2020-12-10_11h33_02_resized2.png (133.97 KiB) Viewed 2572 times

Post Reply