#190; not working

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
d.romeo
Posts: 37
Joined: 08 Oct 2021 23:22

#190; not working

Post by d.romeo »

If I execute

Code: Select all

#190; //restart without saving
in my scripts, XYplorer is closed but not restarted, even if I execute the command from the "Run script" window. How can I solve this problem or replace the command with a function to restart XYplorer?

This is my script

Code: Select all

   #182;
   $iniTRGT = "C:\Users\PC\AppData\Roaming\XYplorer\XYplorer.ini";
   setkey "0", "TPTWidth", "Settings", "$iniTRGT";
   // setkey "5", "MainControlsBorderStyle", "Settings", "$iniTRGT";
   setkey "1", "ApplyBoxColorToList", "Settings", "$iniTRGT";
   setkey "1", "SetListStyleGlobally", "Settings", "$iniTRGT";
   setkey "0", "GridStyle", "Settings", "$iniTRGT";
   setkey "0", "GridGroupByDisplay", "Settings", "$iniTRGT";
   setkey "1", "UnderlineSelectedRow", "Settings", "$iniTRGT";
   setkey "1", "TranslucentSelectionBox", "Settings", "$iniTRGT";
   setkey "0", "FocusRect", "Settings", "$iniTRGT";
   setkey "0", "TPTWide", "Settings", "$iniTRGT";
   setkey "0", "ColorFilterShapes", "Settings", "$iniTRGT";
   setkey "", "SpotColorsList", "Settings", "$iniTRGT";
   setkey "1", "TAFHighLight", "Settings", "$iniTRGT";
   setkey "1", "Grid", "Settings", "$iniTRGT";
   setkey "3", "FullBackground", "Settings", "$iniTRGT";
   setkey "1", "TabIPVisualStyle", "Settings", "$iniTRGT";
   setkey "16744448", "clrCrumb1ActiveBack", "Settings", "$iniTRGT";
   setkey "16777215", "clrCrumb1ActiveText", "Settings", "$iniTRGT";
   setkey "6566400", "clrCrumb1InactiveBack", "Settings", "$iniTRGT";
   setkey "16777215", "clrCrumb1InactiveText", "Settings", "$iniTRGT";
   setkey "16744448", "clrCrumb2ActiveBack", "Settings", "$iniTRGT";
   setkey "16777215", "clrCrumb2ActiveText", "Settings", "$iniTRGT";
   setkey "6566400", "clrCrumb2InactiveBack", "Settings", "$iniTRGT";
   setkey "16777215", "clrCrumb2InactiveText", "Settings", "$iniTRGT";
   setkey "2", "Padding", "Thumbs", "$iniTRGT";
   setkey "4", "Style", "Thumbs", "$iniTRGT";
   setkey "13463312", "clrMarkedText", "General", "$iniTRGT";
   setkey "13463312", "clrMarkedTextWindow", "General", "$iniTRGT";
   setkey "13024441", "clrLineNumText", "General", "$iniTRGT";
   setkey "", "clrTreeSelNoFocusText", "General", "$iniTRGT";
   setkey "", "clrTreeSelNoFocusBack", "General", "$iniTRGT";
   setkey "65280", "clrTreePathTracking", "General", "$iniTRGT";
   setkey "", "clrListSelNoFocusBack", "General", "$iniTRGT";
   setkey "5458494", "clrSelectionBox", "General", "$iniTRGT";
   setkey "70", "TSBTransparency", "General", "$iniTRGT";
   // setkey "1", "SelectionStyle", "General", "$iniTRGT";
   setkey "", "UseClrTreeSelNoFocusBack", "General", "$iniTRGT";
   setkey "", "UseClrListSelNoFocusBack", "General", "$iniTRGT";
   setkey "13024441", "ClrTextTree", "Settings", "$iniTRGT";
   setkey "13024441", "ClrTabCurrent", "Settings", "$iniTRGT";
   setkey "13024441", "ClrTabOther", "Settings", "$iniTRGT";
   setkey "1", "ShadeInactivePane", "Settings", "$iniTRGT";
   setkey "4076587", "ClrInactivePane", "Settings", "$iniTRGT";
   setkey "777777,CCCCCC", "FPColorLightGray", "Settings", "$iniTRGT";
   setkey "16382457", "clrThumbsBack", "Thumbs", "$iniTRGT";
   setkey "", "clrThumbsText", "Thumbs", "$iniTRGT";
   setkey "0", "UseClrThumbsBack", "Thumbs", "$iniTRGT";
   setkey "13024441", "ClrText", "ListBrowse", "$iniTRGT";
   setkey "16710133", "ClrGrid", "ListBrowse", "$iniTRGT";
   setkey "13024441", "ClrText", "ListFind", "$iniTRGT";
   setkey "16707810", "ClrGrid", "ListFind", "$iniTRGT";
   setkey "14796031", "ClrFocRow", "ListFind", "$iniTRGT";
   setkey "16767664", "ClrSelRow", "ListFind", "$iniTRGT";
   setkey "13024441", "ClrText", "ListDrives", "$iniTRGT";
   setkey "16710133", "ClrGrid", "ListDrives", "$iniTRGT";
   setkey "16645629", "ClrSortCol", "ListDrives", "$iniTRGT";
   setkey "16643327", "ClrFocRow", "ListDrives", "$iniTRGT";
   setkey "15395562", "ClrSelRow", "ListDrives", "$iniTRGT";
   setkey "13024441", "ClrText", "ListNetwork", "$iniTRGT";
   setkey "16710133", "ClrGrid", "ListNetwork", "$iniTRGT";
   setkey "16645629", "ClrSortCol", "ListNetwork", "$iniTRGT";
   setkey "16643327", "ClrFocRow", "ListNetwork", "$iniTRGT";
   setkey "15395562", "ClrSelRow", "ListNetwork", "$iniTRGT";
   setkey "13024441", "ClrText", "ListRecycler", "$iniTRGT";
   setkey "16710133", "ClrGrid", "ListRecycler", "$iniTRGT";
   setkey "1776411", "ClrSortCol", "ListRecycler", "$iniTRGT";
   setkey "16643327", "ClrFocRow", "ListRecycler", "$iniTRGT";
   setkey "15395562", "ClrSelRow", "ListRecycler", "$iniTRGT";
   setkey "1776411", "clrLineNumBack", "General", "$iniTRGT";
   setkey "1776411", "ClrBackTree", "Settings", "$iniTRGT";
   setkey "1776411", "ClrHilite", "Settings", "$iniTRGT";
   setkey "1776411", "ClrBoxed", "Settings", "$iniTRGT";
   setkey "1776411", "ClrTabCurrentBack", "Settings", "$iniTRGT";
   setkey "1776411", "ClrBack", "ListBrowse", "$iniTRGT";
   setkey "1776411", "ClrSortCol", "ListBrowse", "$iniTRGT";
   setkey "1776411", "ClrFocRow", "ListBrowse", "$iniTRGT";
   setkey "1776411", "ClrSelRow", "ListBrowse", "$iniTRGT";
   setkey "1776411", "ClrBack", "ListFind", "$iniTRGT";
   setkey "1776411", "ClrSortCol", "ListFind", "$iniTRGT";
   setkey "1776411", "ClrBack", "ListDrives", "$iniTRGT";
   setkey "1776411", "ClrBack", "ListNetwork", "$iniTRGT";
   setkey "1776411", "ClrBack", "ListRecycler", "$iniTRGT";
   setkey "1776411", "clrTreeLocked", "General", "$iniTRGT";
   setkey "1776411", "ClrTabOtherBack", "Settings", "$iniTRGT";
   setkey "1776411", "ClrBtnfacePrev", "Settings", "$iniTRGT";
   setkey "191919", "ToolbarBackColor", "General", "$iniTRGT";
   setkey "1776411", "ClrSortCol", "General", "$iniTRGT";
   // #191; //exit without saving
   #190; //restart without saving
Adding run "C:\Program Files (x86)\XYplorer\XYplorer.exe" does not solve the problem.

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

Re: #190; not working

Post by admin »

Works here. How do you execute the script?

Post Reply