Here is what I want to do:
!f:: Run, browserpath http://www.example.com?groupid=WANTPASTEDVALUE&exporttype=1&vehicle=34928 return
I want to put the value of the clipboard where WANTPASTEDVALUE is.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To get the contents of the clipboard in a command, use the built-in special variable,
Clipboard.Notes: if you include the protocol (
http://orhttps://in this case) windows will automatically choose your default browser and you can omit the path to the browser. This has the benefit of not forcing a user to use a browser that they don’t like, and it’s easier to write to boot.Also, notice that I added quotes. If your clipboard contains a space and you run it without quotes, the browser will interpret it as two separate urls, which you certainly don’t want.