Can't open popup menu via UDC

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Can't open popup menu via UDC

Post by Norn »

Deleted the udc.dat file and reset, the popup menu works fine. Is the udc.dat file corrupted? The popup menu always works on Run Script window and toolbar buttons.
I will reset UDC.

Code: Select all

popupnested("Copy Commands|#101;;:copypath|#102|Dual Pane Commands|#800;;:dp| #801| #802"); // mixed commands nested with toolbar icons
udc.dat.zip
To see the attached files, you need to log into the forum.
Windows 11 24H2 @100% 2560x1440

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

Re: Can't open popup menu via UDC

Post by admin »

Deleted the udc.dat file ... why?

Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Re: Can't open popup menu via UDC

Post by Norn »

I have checked the XYplorer.ini file and the problem is not resolved, deleting the udc.dat file is a faster solution (Of course I backed up the entire XY folder), a small problem, just report it.
Windows 11 24H2 @100% 2560x1440

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

Re: Can't open popup menu via UDC

Post by admin »

I tried your udc.dat and it worked fine. No problem. :?
To see the attached files, you need to log into the forum.

Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Re: Can't open popup menu via UDC

Post by Norn »

I found another problem, can't use "Blue" as caption via UDC.
The menu disappears in a flash:

Code: Select all

 $menu = <<<MENU

 Blue|tag("5", , 0)|<xy>

 MENU;

 $command = popupnested($menu,,,,,,,|);
Works fine:

Code: Select all

 $menu = <<<MENU

 Green|tag("5", , 0)|<xy>

 MENU;

 $command = popupnested($menu,,,,,,,|);
Windows 11 24H2 @100% 2560x1440

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

Re: Can't open popup menu via UDC

Post by admin »

Not here. Are you using the name "Blue" for some special folder?

Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Re: Can't open popup menu via UDC

Post by Norn »

I assigned SHIFT+B to the script, so the caption can't start with b :oops:
Windows 11 24H2 @100% 2560x1440

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

Re: Can't open popup menu via UDC

Post by admin »

:)

Anyway, this thread inspired me to add a new syntax option to popups and Hamburgers. Next beta...

Norn
Posts: 508
Joined: 24 Oct 2021 16:10

Re: Can't open popup menu via UDC

Post by Norn »

Good, but this example might be confusing:
Example definitions as used in Hamburger:
|>Green|::tag 4
|>Blue|::tag 5|:labels
|>Purple|::tag 6|:labels|make it purple
Hamburger.png
Works:

Code: Select all

#101
|>Green|::tag 4|:cfi
|>Blue|::tag 5|:labels
|>Purple|::tag 6|:labels|make it purple

Code: Select all

:
|>Green|::tag 4|:cfi
|>Blue|::tag 5|:labels
|>Purple|::tag 6|:labels|make it purple
To see the attached files, you need to log into the forum.
Windows 11 24H2 @100% 2560x1440

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

Re: Can't open popup menu via UDC

Post by admin »

Ah, thanks! :tup: Fix comes.

Post Reply