Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Ask for Help (v2) • Open a pdf file in Chrome New tab

$
0
0
Hello

Trying to :-

1. Select a file (with mouse)
2. Press a key (RAlt + l)
3. Open it in already open chrome and in a new tab.

So I have : (from google searches etc)

CODE:

>!l::  ;;  RAlt + L
{
Var := % Explorer_GetSelection()
Run "C:\Program Files\Google\Chrome\Application\chrome.exe /newtab" %Var%
Return
}



Thanks


[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]

[Mod action: Topic moved from "Ask for Help (v2)" since this is v1 code.]
[Mod action: Moved topic back to v2 help since this seems to be a translation request.]

Statistics: Posted by w_i_k_i_d — Today, 16:37



Viewing all articles
Browse latest Browse all 579

Trending Articles