Please increase the limits for JavaScript input and output

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Please increase the limits for JavaScript input and output

Postby sbennet1 » Wed Nov 19, 2025 11:49 pm

I am trying to run the following input lagic to javascript assistant
Code: Select all
Truncate/pad original name to exactly 20 characters with "_" padding.
Ask once for a user suffix default to "_SLB_".
Collect all labels that have dates parse all If they are strings instead of dates
excluding labels   "System.DateCreated",  "System.DateModified",  "System.DateAccessed",  "System.DateCreated", 
including MediaInfo:Recorded_Date  MediaInfo:Encoded_Date
alert on invalid date with label name, original file name and invalid date
sort dates in ascending date order
remove duplicate dates
dates  in list should be formatted YYYY-MM-DD
alert on invalid date
Determine the oldest date if date is not available then default to 2999-12-01
set newCreated/newModified to oldest date.
Alert if oldest equals 2999-12-01.
Build folder path as YYYY_____MM\ from the oldest date.
build a list with descriptions and dates formatted YYYY-MM-DD including all found dates formatted YYYY-MM-DD with descriptions.

Truncate list if greater than 200 characters
alert if list is greater than 200 with list, "length=", test.
remove all invalid characters


it runs almost ok for the "fast" option (missing the last statement) need to do a little clean up.
With the "Reasoning" option I get a "No code returned" error.
With "deep thinking" option I get returned only the first portion of the code

Also could you please increase the timeout value, it is annoying to have it time out 2 or 3 times a day.

Thanks Steve
sbennet1
 
Posts: 17
Joined: Mon Oct 27, 2025 1:55 pm

Re: Please increase the limits for JavaScript input and output

Postby Admin » Fri Nov 21, 2025 4:11 am

Hi, thank you for your request, we will look into this.
For the time being, I would suggest simplifying your query a bit so that the engine does not "time out".
Admin
Site Admin
 
Posts: 3120
Joined: Tue Mar 08, 2005 8:39 pm


Return to Suggestions