CEA - Custom Event Actions

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

Re: CAE_LocationChange, pleeeeease...

Post by admin »

autocart wrote: 06 Dec 2020 18:04 Suggestion 5:
It could be nice if one could select multiple events and thus assign the same action and/or script to multiple events at once (in case one would like to do that). I admit that this is only a side thought, though, if you have spare time and don't know what to do with it...

Suggestion 6:
(compare with suggestion 4)
It could be nice that if the Action is set to "Run script" (and there is no script saved already), that then this would automatically open the Edit Script dialog.
Thanks for the suggestions. I try to avoid that extra smartness when I can (like Suggestion 4 and 6) because I usually find it annoying. But I will add events to the jump list, and I will show the beginning of the scripts.

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

Re: CAE_LocationChange, pleeeeease...

Post by autocart »

Yes, I can understand that from a programmer's, business owner's, and customer supporter's point of view avoiding too much smartness can make sense.
I agree that the two points you want to apply are the those with the most usage.
Thank you for continuously improving XY.

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CAE_LocationChange, pleeeeease...

Post by klownboy »

Hi Don, I was wondering though if it would make sense to break up the CEAs into categories or headers:

Code: Select all

  In Folder Tree:
     Double-click on white
     Middle-click on white
     Right-click on white

  In List:
     Double-click on white
     Middle-click on white
     Right-click on white

  Misc conditions:
     Middle-click on folder
     Middle-click on file
     Right-click on icon in address bar
     Click mouse back button
     Click mouse forward button
     Before changing locations
     After changing locations
or something similar. Thanks and great work! :tup:
Last edited by klownboy on 07 Dec 2020 12:43, edited 1 time in total.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: CAE_LocationChange, pleeeeease...

Post by LittleBiG »

Wrong placement on monitor 1. (EDIT: by the way, unnecessary vertical scroll bars appear on several other tabs)

Screen
XYplorer 21.30.0012 - Windows 10 Enterprise, 64-bit, Release 1909, Build 18363.1198

Virtual Screen: (0, 0) - (3200, 1080)

Screen.Width (screenW) = 1920 (1920)
Screen.Height (screenH) = 1080 (1080)
Current Monitor: 1 (Primary)
Current Work Area: (0, 0) - (1920, 1030)

Number of Monitors: 2
Monitor 1 Area: (0, 0) - (1920, 1080) = 1920x1080
Monitor 1 Area Work: (0, 0) - (1920, 1030)
Monitor 2 Area: (1920, 52) - (3200, 1076) = 1280x1024
Monitor 2 Area Work: (1920, 52) - (3200, 1036)

Startup Work Area: (0, 0) - (1920, 1030)
GetCursorPos = 1257, 75
XY Main Window: (-9, -9) - (1929, 1039) = 1938x1048

Screen DPI: 120 (125%) twX: 12 (12) Stretch: 1 sLF: 1,25 Toolbar Zoom: 1 (1;1)
Screen Color Depth: 32
DPI awareness: Per monitor
Auto Scaling: Yes, Yes

UseDPIAwareIconSizes: Yes, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=20, Large=40
Icon Size Recommended: Small=20, Large=40
Attachments
2020-12-07_12h36_18.png
2020-12-07_12h36_18.png (57.5 KiB) Viewed 1631 times
Last edited by LittleBiG on 07 Dec 2020 12:46, edited 1 time in total.

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

Re: CAE_LocationChange, pleeeeease...

Post by autocart »

LittleBiG wrote: 07 Dec 2020 12:43 Wrong placement on monitor 1.
confirmed, that is if the main window is on monitor 2, then the config window opens on monitor 1.

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

Re: CAE_LocationChange, pleeeeease...

Post by admin »

klownboy wrote: 07 Dec 2020 12:42 Hi Don, I was wondering though if it would make sense to break up the CEAs into categories or headers:

Code: Select all

  In Folder Tree:
     Double-click on white
     Middle-click on white
     Right-click on white

  In List:
     Double-click on white
     Middle-click on white
     Right-click on white

  Misc conditions:
     Middle-click on folder
     Middle-click on file
     Right-click on icon in address bar
     Click mouse back button
     Click mouse forward button
     Before changing locations
     After changing locations
or something similar. Thanks and great work! :tup:

Probably, later. Easier said than done. This control does not support category headers at the moment. Hey, I just added columns and editable cells! :)

EDIT: Wait a minute, the control does support group headers! See the categories list on the left side in Configuration! Okay... there is an option to do that in phase 2...

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

Re: CAE_LocationChange, pleeeeease...

Post by admin »

LittleBiG wrote: 07 Dec 2020 12:43 Wrong placement on monitor 1. (EDIT: by the way, unnecessary vertical scroll bars appear on several other tabs)
OK, fixed that.

But which are the other tabs?
Don't bother, I'll check...

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CAE_LocationChange, pleeeeease...

Post by klownboy »

admin wrote: 07 Dec 2020 12:49 EDIT: Wait a minute, the control does support group headers! See the categories list on the left side in Configuration! Okay... there is an option to do that in phase 2...
Yes, CEAs are a big enough deal or will be that it could have it's own main header on the left side of Configuration:

Code: Select all

General
 ...
Color and Styles
 ...
Information
 ...
File Operations
 ...
Custom Event Actions
  In Folder Tree
  In File List
  In Columns
  Misc
Find and Filter
 ...
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: CAE_LocationChange, pleeeeease...

Post by admin »

Let's see how far it grows. IMO currently it's still bearable without headers.

Another solution would be to simply make it 4 lists (and later 4 pages... :) ).

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

Re: CAE_LocationChange, pleeeeease...

Post by admin »

LittleBiG wrote: 07 Dec 2020 12:43 Wrong placement on monitor 1. (EDIT: by the way, unnecessary vertical scroll bars appear on several other tabs)
Weird, but I could not reproduce it with exactly the same settings. Did you use another font/font size?

klownboy
Posts: 4142
Joined: 28 Feb 2012 19:27

Re: CAE_LocationChange, pleeeeease...

Post by klownboy »

admin wrote: 07 Dec 2020 14:31 Let's see how far it grows...
Sounds good. Thanks Don.

More potential conditions or locations to consider in the future:
- middle-click on Toolbar white space
- middle-click a specific Customized Toolbar Button (i.e., open CTBs to middle click actions)
- middle-click on Breadcrumb white space
- middle-click on Tab bar white space
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

VeeGee

Re: CAE_LocationChange, pleeeeease...

Post by VeeGee »

Good morning,
Now that CAE is really taking off with new options and features, I'll ask again - for reference viewtopic.php?f=5&t=21590&p=180807#p180807.

Is it possible to add CAE support/mappings for the tilt wheel (left and right) ? Not sure if you are able to capture those events or not.

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

CEA - Custom Event Actions

Post by admin »

VeeGee wrote: 07 Dec 2020 16:12 Good morning,
Now that CAE is really taking off with new options and features, I'll ask again - for reference viewtopic.php?f=5&t=21590&p=180807#p180807.

Is it possible to add CAE support/mappings for the tilt wheel (left and right) ? Not sure if you are able to capture those events or not.
Tilt wheel currently not. But in principle it should be possible, would need some research...

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

Re: CAE_LocationChange, pleeeeease...

Post by kuiwu_zh »

"Double-click on white in folder tree" and "Double-click on white in file list" are very good functions. They're great. I've been using them all the time.

This picture is the result of executing "Double-click on white in folder tree", showing the favorites. Read a configuration file and display the favorites.

snap_screen_20201207230008.png
snap_screen_20201207230008.png (82.51 KiB) Viewed 1578 times

Code: Select all

 1  |桌面 &A                                |   |D:\8-My_Documents\桌面\
 1  |临时下载 &S                            |   |D:\8-My_Documents\桌面\Documents\临时下载
 1  |工作资料 &D                            |   |D:\5-工作资料
 1-
 C  |综合链接 &E
 2  |BAT_PROG_SET_TOP                       |   |D:\9-Project_Files\BAT_PROG_SET_TOP\
 2  |My Program Files                       |   |D:\9-Project_Files\My Program Files
 2-
 2  |%MY_ENV_VAR___WIN_VER%安装             |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%                                               |<xyicons>\Windows.ico
 2  |系统设置                               |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%\%MY_ENV_VAR___WIN_SYS_SET_DP%\
 2  |常用软件、应用软件                     |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%\%MY_ENV_VAR___APP_SET_DP%\
 2  |┌BeyondCompare                        |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%\%MY_ENV_VAR___APP_SET_DP%\BeyondCompare       |%HOMEDRIVE%\EDA_Tools\Beyond_Compare\BCompare.exe
 2  |├XYplorer                             |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%\%MY_ENV_VAR___APP_SET_DP%\XYplorer            |%HOMEDRIVE%\EDA_Tools\XYplorer\XYplorer.exe
 2  |├UltraEdit                            |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%\%MY_ENV_VAR___APP_SET_DP%\UltraEdit           |<xyicons>\Uedit64.ico
 2  |└GoogleChrome                         |   |%MY_ENV_VAR___WIN_XX_INSTALL_DP%\%MY_ENV_VAR___APP_SET_DP%\GoogleChrome        |%HOMEDRIVE%\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe
 2-
 2  |%MY_ENV_VAR___WIN_REC_SET_DP% &D       |   |%MY_ENV_VAR___WIN_LOCAL_DATA_DP%\%MY_ENV_VAR___WIN_REC_SET_DP%\
 2-
 2  |常用BAT                                |   |%MY_ENV_VAR___USEFUL_BAT_SET_DP%
 2  |┌硬盘镜像                             |   |%MY_ENV_VAR___USEFUL_BAT_SET_DP%\硬盘镜像
 2  |└DismImage                            |   |%MY_ENV_VAR___USEFUL_BAT_SET_DP%\DismImage
 2x
 1x



This picture is the result of executing "Double-click on white in file list" and shows the frequently used functions.

snap_screen_20201207230113.png
snap_screen_20201207230113.png (82.48 KiB) Viewed 1578 times



Now the "After changing locations" function has been added. I can make the folder sort automatically. It's great. (It's just that the tree doesn't sort automatically.)

Thank you very much for your work. :tup:

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

Re: CAE_LocationChange, pleeeeease...

Post by autocart »

v21.30.0013 - 2020-12-07 14:51
    + Custom Event Actions: Now the beginnings of the scripts are shown in the 
      list. A blue dot tells you that a "Run Script" action is active. A red dot 
      tells you that no script yet exists to be run by this action.
The script column is not visible. It is outside the control on the right side. A few pixels (maybe 5) are visible.
xy config dialog v21.30.0013.JPG
xy config dialog v21.30.0013.JPG (90.54 KiB) Viewed 1572 times

Post Reply