I am trying to create a text filed at the bottom of a form document that will automatically input the file path (e.g.. C\:Folder\File) of the document itself after the document is saved. I've looked at a few Scripts but nothing seems to be working. I'm assuming it will look something like this on the "postSave" option:
this.rawValue = event.target.path.replace(event.target.documentFileName, "");
I am a very novice programmer so I have no idea if this is even close to right.
Solved! Go to Solution.
Views
Replies
Total Likes
Apparently some of my search parameters were off. This question has already been answered before. If anyone comes looking here, this is a link to the page with the answer.
http://forums.adobe.com/message/4007317#4007317
Enjoy.
FYI: here is the code I used for the text field.
Inspection.TextPage.Bottom.End.Directions.File::preSave - (JavaScript, client)
this.rawValue = event.target.path
Views
Replies
Total Likes
Apparently some of my search parameters were off. This question has already been answered before. If anyone comes looking here, this is a link to the page with the answer.
http://forums.adobe.com/message/4007317#4007317
Enjoy.
FYI: here is the code I used for the text field.
Inspection.TextPage.Bottom.End.Directions.File::preSave - (JavaScript, client)
this.rawValue = event.target.path
Views
Replies
Total Likes