返回列表 发帖

[Linux/Unix] A trick for R

1.        Go to website: https://autohotkey.com/, download the AutoHotkey, install it.
2.        Copy the following code in the box into a new .txt file, then change the extension to .ahk
^+v::
StringReplace, clipboard, clipboard, \,/,All
send %clipboard%

3.        Double click this .ahk file. Every time you copy a string that contains “\”, pressing “Ctrl+Shift+V” will alter every “\” to “/” and paste the string to where you stopped.
返回列表