-
-
Save dmitryTsatsarin/5a9bf67ca00d572af8dc to your computer and use it in GitHub Desktop.
Заменить в выделенном тексте все пробелы на нижния подчеркивания и сделать все буквы маленькими (скрипт для AutoKey)
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
# Enter script code | |
text = clipboard.get_selection() | |
text = text.lower().replace(' ', '_') | |
keyboard.send_key("<delete>") | |
keyboard.send_keys("%s"% text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment