About menu display, etc
Posted: 07 Mar 2022 09:33
Hello, I have five questions. Please help me have a look. Thank you.
Question 1:
If there is a space in the title, there will be a prompt in the status bar.
If there is no space in the title, there is no prompt in the status bar. Why not prompt?
Actually, I don't need a prompt. Can I turn off this function?
In addition, the icon when prompted in the status bar is not the icon I defined. I think the icon I defined is more beautiful.
Question 2:
Scripts can be triggered in three ways.
(1) Triggered by pressing the key, the letters in the menu will be underlined.
(2) Triggered by double clicking the mouse, the letters in the menu will not be underlined.
(3) Triggered by the toolbar button, the letters in the menu will not be underlined.
Question 3:
Step 1: set environment variable.
Step 2: create a shortcut. The path of the shortcut is: %prj_mcu_dir%\mcu8051
Step 3: close XYplorer and restart XYplorer. The shortcut can access the folder, and the script can get the correct path.
Step 4: I change to another computer and set the environment variable. (The location of this folder is different on different computers.)
Step 5: I copy the shortcut to this computer through BeyondCompare software. The shortcut cannot access the folder, and the script cannot get the correct path. (Path "F:\prj_usb_3_0_PCB\prj_mcu_2022\mcu8051" is exist.)
Step 6: in Explorer, shortcut can access folder.
Step 7: at this time, in XYplorer, the shortcut can access the folder.
I hope that in step 5, the shortcut can access the folder and the script can get the correct path.
(Even on the same computer, this shortcut will fail when the value of the environment variable changes. I hope this shortcut will not fail in XYplorer, because it will not fail in Explorer.)
Question 4:
I set icon A.ico in XYplorer and icon B.ico in shortcut properties.
XYplorer display icon A.ico. I think the setting in the shortcut property has higher priority. At this time, icon B.ico should be displayed
Question 5:
The following command cannot get the status of the secondary sort.
text get ("sort");
Question 1:
Code: Select all
popupnested ("C&aption A;Data1;:cofi|-|Ca&ption B;Data2;:favs|Cap&tionC;Data3;:find");If there is no space in the title, there is no prompt in the status bar. Why not prompt?
Actually, I don't need a prompt. Can I turn off this function?
In addition, the icon when prompted in the status bar is not the icon I defined. I think the icon I defined is more beautiful.
Question 2:
Code: Select all
popupnested ("C&aption A;Data1;:cofi|-|Ca&ption B;Data2;:favs|Cap&tionC;Data3;:find");(1) Triggered by pressing the key, the letters in the menu will be underlined.
(2) Triggered by double clicking the mouse, the letters in the menu will not be underlined.
(3) Triggered by the toolbar button, the letters in the menu will not be underlined.
Question 3:
Step 1: set environment variable.
Code: Select all
setx prj_mcu_dir "E:\prj_mcu_2022"Step 3: close XYplorer and restart XYplorer. The shortcut can access the folder, and the script can get the correct path.
Code: Select all
text property ("#ShortcutTarget","D:\mcu8051.lnk");Code: Select all
setx prj_mcu_dir "F:\prj_usb_3_0_PCB\prj_mcu_2022"Step 6: in Explorer, shortcut can access folder.
Step 7: at this time, in XYplorer, the shortcut can access the folder.
I hope that in step 5, the shortcut can access the folder and the script can get the correct path.
(Even on the same computer, this shortcut will fail when the value of the environment variable changes. I hope this shortcut will not fail in XYplorer, because it will not fail in Explorer.)
Question 4:
I set icon A.ico in XYplorer and icon B.ico in shortcut properties.
XYplorer display icon A.ico. I think the setting in the shortcut property has higher priority. At this time, icon B.ico should be displayed
Question 5:
The following command cannot get the status of the secondary sort.
text get ("sort");