Custom Column Program CRASH

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
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: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Skettalee
Posts: 136
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: 15016
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: 136
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