Forum Discussion

abrooks4's avatar
abrooks4
Occasional Contributor
9 years ago
Solved

Right-click menu - Open with Adobe Reader

I'm attempting to open a PDF from the desktop using the right-click menu option. It runs successfully on the machine recorded, but fails on a different test machine. Any ideas why?

 

 

var folderView;

explorer = Aliases.explorer;

 explorer.wndShell_TrayWnd.TrayNotifyWnd.TrayShowDesktopButtonWClass.Click(2, 18);

folderView = Aliases.explorer.wndWorkerW2.SHELLDLL_DefView.FolderView;

folderView.SelectItem("Test_PDF")

folderView.ClickItemR("Test_PDF", 0);

folderView.PopupMenu.Click("Open with Adobe Acrobat Reader DC");