Map is not defined

Advanced Renamer forum
#1 : 15/02-19 12:26
_H_
_H_
Posts: 8
Write follow codes in <Pre Batch Script> box:
---------------------------------------------------
var map = new Map();
---------------------------------------------------
Where is the problem?


15/02-19 12:26
#2 : 15/02-19 14:18
David Lee
David Lee
Posts: 132
Reply to #1:
I would assume that "Invalid Script" - "Map is not defined" means exactly what it says!

ie the Map object is not defined in this implementation of JavaScript.


15/02-19 14:18
#3 : 15/02-19 15:01
_H_
_H_
Posts: 8
Reply to #2:
Well, thank you.


15/02-19 15:01
#4 : 15/02-19 15:24
David Lee
David Lee
Posts: 132
Reply to #3:
I assume that was meant to be a sarcastic comment. But really - what else do you expect? If a feature is not supported in this implementation of JavaScript then simply it is not available and will throw an error.


15/02-19 15:24 - edited 15/02-19 15:27
#5 : 15/02-19 15:43
_H_
_H_
Posts: 8
Reply to #4:
More codes, less comments.
Let me see your level.


15/02-19 15:43
#6 : 19/02-19 13:19
_H_
_H_
Posts: 8
Reply to #6:
First, Thanks for your answer.
However, Advanced Renamer shows what is the relation between undefined Map objects and Adobe? I don't quite understand what you mean.

using <Bulk Rename Utility>
There is no problem creating and referencing a Map object.

Here is picture URL:
https://i.imgur.com/vloDNl9.png


19/02-19 13:19 - edited 19/02-19 13:24
#7 : 15/03-19 20:57
Stefan
Stefan
Posts: 274
Reply to #6:

JavaScript support for Bulk Rename Utility costs you $100 (or like that)

You can also donate to AdvanceRenamer, maybe Kim is able then to improve ARens JavaScript support too?




 

----------
If this tool had saved you time, perhaps you want to donate an Dollar to Kim?
See http://www.advancedrenamer.com/download >>> [Buy] button.


15/03-19 20:57