Opening pdf with another program other than default

Share your favorite FastKeys commands
Post Reply
Ramakrishna
Posts: 6
Joined: Apr 29th, ’21, 14:50

Post by Ramakrishna » Apr 29th, ’21, 18:35

Hello,

I would like to open my pdf files with a different program other than my default pdf reader adobe. Currently, I am running a macro to do this but it is taking a little time to open the file. This is the code I am using currently now.

Code: Select all

Send, {LShift down}{F10}{LShift up}h{Down 3}{Enter}
Is there any shortcut to run, after selecting the file and say "alt + O" to open a pdf with a desired program like foxit (C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe)
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Apr 30th, ’21, 15:05

Try this (Type: Command)

Code: Select all

Send, ^c
Sleep 50
run, "C:\Program Files (x86)\Foxit Software\Foxit Reader\FoxitReader.exe" "%clipboard%"
Ramakrishna
Posts: 6
Joined: Apr 29th, ’21, 14:50

Post by Ramakrishna » May 2nd, ’21, 06:02

Thanks a lot. Works like a charm!!
Post Reply