Created
August 3, 2021 05:14
-
-
Save muthu32/9e1fddc897f88dda8a350e4fed59def9 to your computer and use it in GitHub Desktop.
windows Path to Unix Path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
F1:: ; ShortCut | |
ClipSaved := ClipboardAll ; Save the entire clipboard to a variable of your choice. | |
StringReplace, Clipboard, Clipboard,\,/, All ; Replace \ with / in clipboard | |
clipboard := clipboard ; //chanage clipboard content | |
Send, ^v ; Input Ctrl+V is passed | |
clipboard := ClipSaved ; Restore the original clipboard. | |
ClipSaved := "" ; Free the memory in case the clipboard was very large. | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment