I can click on a link that points to a pdf. However, it opens the pdf in the browser window.
I know that option-click downloads the pdf, which is what I want
How do I do option-click using the KM action “Click Google Chrome Link”?
Alternatively, how can I option click using javascript?
I can successfully click on this link using .click() on the link tag
Having the same issue with clicking links using modifier (command)
It doesn't open a new browser tab on the right using "Press and Hold Command Modifier"
Opens target URL in a new Safari tab, on the right after current active tab
If KM variable with the target link is blank then a new tab won't be opened
The code:
tell application "Keyboard Maestro Engine"
set myASVar to getvariable "Link"
tell application "Safari"
activate
tell window 1 of application "Safari"
get index of current tab
set myActiveTab to current tab
if myASVar is not "" then
set myTab to make new tab at after myActiveTab with properties {URL:myASVar}
end if
end tell
end tell
end tell