Last active
March 11, 2023 10:11
-
-
Save Zettt/62163956ae9ae127a85fec88aa38837e to your computer and use it in GitHub Desktop.
Revisions
-
Zettt revised this gist
Feb 20, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ If you are annoyed as much as I am by Binance inability to paste clipboard values into the order boxes, you're welcome. (Please do us all a favor and file a bug report too!) On a Mac you can simply use an AppleScript to type everything that is on the clipboard for you. The script is this: -
Zettt revised this gist
Feb 20, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,9 +23,9 @@ end tell 5. Now open System Preferences → Keyboard → Shortcuts. 6. Under Services → General should be your new action. Double click the shortcut column next to it to assign a custom shortcut to this action. ## Making it Faster It's a little slow, if you do it using macOS only. That's why I always always *always* recommend using [Keyboard Maestro](https://www.keyboardmaestro.com/main/). (Yes, I'm very biased. Check out my Keyboard Maestro [macros here](https://github.com/Zettt/km-macros), and my [Markdown macros here](https://github.com/Zettt/km-markdown-library).)  -
Zettt revised this gist
Feb 20, 2020 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,6 +23,9 @@ end tell 5. Now open System Preferences → Keyboard → Shortcuts. 6. Under Services → General should be your new action. Double click the shortcut column next to it to assign a custom shortcut to this action.  ## Making it Faster It's a little slow, if you do it using macOS only. That's why I always always *always* recommend using [Keyboard Maestro](https://www.keyboardmaestro.com/main/). (Yes, I'm very biased. Check out my Keyboard Maestro [macros here](https://github.com/Zettt/km-macros), and my [Markdown macros here](https://github.com/Zettt/km-markdown-library).) -
Zettt renamed this gist
Feb 20, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Zettt created this gist
Feb 20, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ If you are annoyed as much as I am by Binance inability to paste value into the order boxes via the clipboard, you're welcome (please do us all a favor and file a bug report!). On a Mac you can simply use an AppleScript to type everything that is on the clipboard for you. The script is this: ```applescript try the clipboard as text on error set the clipboard to " " end try tell application "System Events" keystroke (the clipboard as text) end tell ``` ## Setup: 1. Create a new *Quick Action* in Automator. 2. Input is "no input". Execute in "any application". 3. Add a Run Applescript action, and paste the script above into it. 4. Save the action, and remember its name. 5. Now open System Preferences → Keyboard → Shortcuts. 6. Under Services → General should be your new action. Double click the shortcut column next to it to assign a custom shortcut to this action. ## Making it Faster It's a little slow, if you do it using macOS only. That's why I always always *always* recommend using [Keyboard Maestro](https://www.keyboardmaestro.com/main/). (Yes, I'm very biased. Check out my Keyboard Maestro [macros here](https://github.com/Zettt/km-macros), and my [Markdown macros here](https://github.com/Zettt/km-markdown-library).)