We distribute Microsoft Word templates that sometimes get installed into the wrong folder. So I am trying to develop AppleScript code that moves them into the proper location. The questions then are:
-
What is the AppleScript code that returns the path to a file if I know only the name of the file?
-
What code returns the location of the templates folder being used by the current installation of Microsoft Office (Word)?
-
What code would move the template files from the current location to the correct location (templates folder being used by the current installation of Microsoft Office)?
Any help will be greatly appreciated.
John Morley