Is there a way to force UDF argument names to pres...
# adobe
r
Is there a way to force UDF argument names to preserve the case-sensitivity of how the UDF arguments are written in the code? When I dump the arguments of a UDF within the UDF, all of the arguments are upper-cased. I have come into a situation where the case-sensitivity of the argument names must be kept as they are written in the method because the API that I call that uses these argument names and the argument values are passed along to the API. The API will not operate correctly if the argument names are upper-cased or any other case variation. IE)
function A(aRguMent1="test"){ ... }
The argument name must be kept as "aRguMent1" and not "ARGUMENT1" or any other case variation. If not, then I will have to come up with an uncountable amount of arguments as a list to search for the proper casing to match and pass along the correct cased argument name to the API. This would be extremely unfortunate given that this API has an incredible amount of API functions with multiple arguments in every function.
💯 1