Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Get name of the folder after parent.

$
0
0

Hi,

artCraft2 wrote:

...

if this is straight away on desktop i can do alert easily like below..

...

 

It is still straight way:

last folder name:  app.activeDocument.filePath.parent.name

last folder:  app.activeDocument.filePath.parent

 

You could step back using parent.parent and so on...

 

Jarek


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>