Thanks Miyako and Jörg for the ideas. > On May 29, 2018, at 9:14 PM, Keisuke Miyako via 4D_Tech > <[email protected]> wrote: > > my question is, why do you need to know the version?
Due to sandboxing requirements with Office 2016 and Sierra, you have to jump through some hoops to control Excel via AppleScript without getting a lot of dialogs constantly asking you to Grant Access, etc.. There's a special 'safe' directory buried deep in ~Library that you can use as a temp directory to hold your Applescripts to prevent all that user interaction, so I want to know which version of Office I have installed so I know what I can use as my temp directory. Ultimately it won't matter. Office 2011 and older aren't supported anymore so everything will someday be 2016 or higher. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

