0 Replies Latest reply on Nov 18, 2010 8:30 AM by Emanuele Radaelli

    [CS5-JS] Link path question

    Emanuele Radaelli Level 1

      Hi,

      I made a script that needs the path of every link within the document.

      I tested it on a Mac (10.5.8) and when I look at links path (document.link.filePath) I see strings like these:

      Username:Desktop:WorkFolder:myFile.jpg

       

      It looks like paths starts from the user folder.

      I thought it was due to the fact that this user is not an administrator.

      So I tested the same script on another computer (10.6.4) but the path looks correct:

      MacintoshHD:Users:Username:Desktop:WorkFolder:myFile.jpg

      Obviously I have some problems while passing this value because in the first case it doesn't point to afile object...
      Is it a OS issue?
      I don't know how to solve it...
      Thanks!