Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Folder.selectDialog gives bad path

  • Folder.selectDialog gives bad path

    Posted by Jacob Danell on April 22, 2014 at 8:31 pm

    Hi! I’m trying to get a folderpath but I get a bad return.
    When I’m go trough C:\ -> Users -> RayDan -> Videos I get “C:\Users\RayDan\Videos” as return but if I go to it from Favorites (or from My Computer on Windows 8) I get “~\Videos” as return.
    I’m wondering if it’s possible to get the correct pathway without needing to go through the long way.

    Thanks!

    Dan Ebberts replied 12 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    April 22, 2014 at 9:17 pm

    There may be other ways, but I think you can get the full path using yourFile.fsName

    It will be in Windows (backslash) format, not URI though.

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy