Hey everyone.
A bit weird question, but is there a way to find out a filename of current script?
What I am trying to do is load variables from the external txt with the same name as script so that 01.jsx would load vars from 01.txt and 02.jsx would load vars from 02.txt and so on. The code within both jsx should be the same.
Thanks!
is there a way to find out .jsx file name?
-
tyr
is there a way to find out .jsx file name?
Ops, googling for another ten minutes got me an answer: (new File($.fileName)).name
Sorry for that
Sorry for that