Change file path of embedded pictures
I'm sort of a beginner with Applescript, but I created an application in it that takes screenshots of different web pages and saves them in my Pictures folder. I have a proposal template in a Word document that has these pictures linked and embedded into it. Whenever I want to create a new proposal, I run the application and get the specified images I need, and update the links in the Word doc so that the new images display. I then break the links and save the doc as something else.
Anyway, I have a colleague who would like to use this application. The files in the Word doc are linked to Macintosh HD/users/Me/Pictures. How can my colleague easily set all the images in the Word doc to their own file path, ie Macintosh HD/users/MyColleague/Pictures?
Something like
tell application "Microsoft Word"
set the path of active picture to "Macintosh HD:Users:MyColleague:04-ReportMenu.jpg"
end tell
Multiple salespeople will eventually be using this script. If I could add a function into my Applescript app so that whenever the proposal template is opened, the path to the images is changed to that users's picture folder, that would be amazing. Other solutions are welcomed.