Search found 1 match

by adthor
Fri Feb 06, 2015 1:47 am
Forum: Scripting
Topic: Switch Variables vs explicit methods
Replies: 1
Views: 1192

Switch Variables vs explicit methods

I'm just starting to get up to speed with Javascript in Switch. I've noticed that it's possible to get file statistics two different ways: var jobStats = new FileStatistics(job.getPath()); var pageCount = jobStats.getNumber("NumberOfPages"); or var pageCount = job.getVariableAsNumber("...