如何将字符串作为信号来转换前一个字符串?

时间:2018-01-12 08:14:58

标签: browser hyperlink autohotkey

如何在任何地方输入WORD vv,并让浏览器打开包含WORD的链接?我知道脚本必须有

Run, browserpath www.example.com/x/y/z/WORD.html

但我不知道下一步该做什么。

1 个答案:

答案 0 :(得分:2)

我会用这样的东西:

; google with the default browser    
Run, https://www.google.com/search?hl=en&q=%UserInput%

; google images with IE    
Run, iexplore.exe "https://images.google.com/images?hl=en&@@"

; google autohotkey with another browser    
Run, "browserpath" "https://www.google.com/search?sitesearch=ahkscript.org&q=%UserInput%"

; autohotkey.com
https://www.autohotkey.com/search/search.php?query_string=%UserInput%

; autohotkey manual    
https://www.google.com/search?sitesearch=ahkscript.org&q=%UserInput%

; wikipedia    
https://en.wikipedia.org/wiki/Special:Search?search=%UserInput%&go=Go

<强>示例:

public function CloneItem($uniqueid)
    {
        $product = Product::findOrFail($uniqueid);
        $new_product = $product->replicate();
        $new_product->push(); 
       return redirect()->back();

    }