HideUnderscoredUDCs=1 Tip
Posted: 13 Mar 2012 19:37
Hi,
In a post by TheQwerty under scripts, Tips: Managing your scripts, it discusses using the underscore to hide the UDC command from the UDC menu...
" •Sometimes you may want to manage a script but do not want to unnecessarily clutter up your User Menu, in that case set the 'HideUnderscoredUDCs' INI tweak to 1 and you will be able to prefix the caption with an underscore ('_Execute Greeting.xys'), telling XY to hide it from the menu, but maintaining the command ID and ability to customize its shortcut."
As stated above, it says you have to change the line item discussed in xyplorer.ini to "1" from "0". When I did this it doesn't seem to want to stick (i.e, it reverts back to 0) for some reason. I was doing it from within xyplorer using the "open configuration file" under "tools". When I did it and saved the file (by the way, I'm using "textpad" set as default), I was able to change it, but when I went to open xyplorer, it didn't recognize me as a registered user (which I am, lifetime) and the xyplorer had a black background and of course none of my settings were there. I did have a backup ini file luckily which I copied into the xyplorer folder and it then opened just fine. Is there some reason or setting I'm not aware of that's not permitting the manual change to the ini file? Concerning the particular trick mentioned above, I was also wondering if that tip will work for a script incorporated right in the UDC Managing commands multi-line script section as well as in a called out script file in the script directory?
Thanks,
Ken
In a post by TheQwerty under scripts, Tips: Managing your scripts, it discusses using the underscore to hide the UDC command from the UDC menu...
" •Sometimes you may want to manage a script but do not want to unnecessarily clutter up your User Menu, in that case set the 'HideUnderscoredUDCs' INI tweak to 1 and you will be able to prefix the caption with an underscore ('_Execute Greeting.xys'), telling XY to hide it from the menu, but maintaining the command ID and ability to customize its shortcut."
As stated above, it says you have to change the line item discussed in xyplorer.ini to "1" from "0". When I did this it doesn't seem to want to stick (i.e, it reverts back to 0) for some reason. I was doing it from within xyplorer using the "open configuration file" under "tools". When I did it and saved the file (by the way, I'm using "textpad" set as default), I was able to change it, but when I went to open xyplorer, it didn't recognize me as a registered user (which I am, lifetime) and the xyplorer had a black background and of course none of my settings were there. I did have a backup ini file luckily which I copied into the xyplorer folder and it then opened just fine. Is there some reason or setting I'm not aware of that's not permitting the manual change to the ini file? Concerning the particular trick mentioned above, I was also wondering if that tip will work for a script incorporated right in the UDC Managing commands multi-line script section as well as in a called out script file in the script directory?
Thanks,
Ken