如何使用自动热键将剪贴板文本放入 url 的查询字符串中

Dav*_*vid 5 autohotkey

这是我想要做的:

!f::
Run, browserpath www.example.com?groupid=WANTPASTEDVALUE&exporttype=1&vehicle=34928
return
Run Code Online (Sandbox Code Playgroud)

我想把剪贴板的值放在哪里WANTPASTEDVALUE

Cla*_*rae 3

以下内容根据您提供的文本构建一个 URL,将剪贴板内容插入WANTPASTEDVALUE问题中的位置。

然后,它将该 URL 发送到您的默认浏览器。

!f::
    URL := "http://www.example.com?groupid=" . CLIPBOARD . "&exporttype=1&vehicle=34928"
    Run, %URL%
return 
Run Code Online (Sandbox Code Playgroud)