Thread: [Solved] Rename packages with spaces
View Single Post
  #10  
Old 29.02.2020, 06:19
RPNet-user RPNet-user is offline
JD Addict
 
Join Date: Apr 2017
Posts: 171
Default

The script does change the entire package name by replacing all the spaces with periods immediately after it finishes, the only problem is that it only changes it in the downloads list and not the actual downloaded folder:

Code:
Event Trigger: Package Finished
package.setName(package.name.replace(/\s/g, "."))
Reply With Quote