Need JavaScript code to duplicate the action of a link
I created a link that opens a PowerPoint show file .ppsx and it works great.
Click the link and the PowerPoint show pops right up. However I need to do the same thing with JavaScript from a button where I hopefully can specify the path to where the PowerPoint .ppsx file is. I've tried:
app.execMenuItem("Open"); and
app.launchURL("file:///C:/Users/weswa/Dropbox/Great Western/GWappByESA_AA/Run Files/Photos OBC.ppsx"); This one opens a new window where the file has been downloaded and then can be opened. Not as quick and direct as the link.
Need JavaScript code that will open the .ppsx file imediately like the link does. Any suggestions? Thank you in advance for any assistance !
