Need help with Run, %clipboard% command
Posted: 06 May 2017, 08:05
Hi guys,
I'm trying to setup a script which pastes all the text content of my clipboard to a custom site like amazon (&wiki) and do a search.
problem is that it only paste's the 1st word of the string from the clipboard and puts every other word in the address line in a new tab.
it only does this with the "chrome.exe" in front
!s::
Send, ^c
Sleep 200
Run, chrome.exe https://www.amazon.com/s/ref=nb_sb_noss ... %ClipBoard%
return
!w::
Send, ^c
Sleep 200
Run, chrome.exe https://en.wikipedia.org/wiki/%ClipBoard%
return
If you remove the "chrome.exe" it works fine and takes the whole string from %clipboard%
however I don't want to do that because I don't want it to open my default browser and don't want to change it.
Anybody knows what goes wrong here?
thanks a million, i can't seem to figure out how to fix being a newbie to this stuff
I'm trying to setup a script which pastes all the text content of my clipboard to a custom site like amazon (&wiki) and do a search.
problem is that it only paste's the 1st word of the string from the clipboard and puts every other word in the address line in a new tab.
it only does this with the "chrome.exe" in front
!s::
Send, ^c
Sleep 200
Run, chrome.exe https://www.amazon.com/s/ref=nb_sb_noss ... %ClipBoard%
return
!w::
Send, ^c
Sleep 200
Run, chrome.exe https://en.wikipedia.org/wiki/%ClipBoard%
return
If you remove the "chrome.exe" it works fine and takes the whole string from %clipboard%
however I don't want to do that because I don't want it to open my default browser and don't want to change it.
Anybody knows what goes wrong here?
thanks a million, i can't seem to figure out how to fix being a newbie to this stuff