Custom Column Program CRASH

Things you’d like to miss in the future...
Post Reply
Skettalee
Posts: 108
Joined: 06 May 2019 20:27

Custom Column Program CRASH

Post by Skettalee »

I created a Custom Column using :
Caption: Count
Type: Items
Script: return report("{count}",<cc_item>);
Format: Number
Item Type: Folders
Item Filter:

I had first put the caption as "Items" but wanted to edit it to say "Count" and when I did that, I also changed Item Type: to "Folders and Files" and not only till right now I realized how I assume that wouldn't work that way and a second after I clicked "OK" it crashed... And everytime I run the program now, it instantly crashes.
So I went straight to XYplorer.ini to see under the [CustomColumns] it currently reads:
Caption4=Count
Type4=3
Definition4="return report("{count}",<cc_item>);"
Format4=2
Trigger4=0
ItemType4=1
ItemFilter4=""

I was trying to figure out what is the value to place the item type back correct but im not sure and everytime I try to run XYplorer it crashes a second after it loads up. Any help?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Column Program CRASH

Post by highend »

ItemType<x>=1 is already the setting for folders

I would look at a later custom column definition in the .ini file that
uses empty values and fill in those in your values for the 4 entry
to remove any traces of that definition. Save the .ini, start XY again
(of course XY must NOT be running while you're doing this)...
One of my scripts helped you out? Please donate via Paypal

Skettalee
Posts: 108
Joined: 06 May 2019 20:27

Re: Custom Column Program CRASH

Post by Skettalee »

I actually got it to run again by removing all the info for that custom column and replaceing with 0 or ="". Sorry, i guess i was being stupid

Post Reply