Created
April 25, 2020 11:36
-
-
Save koba-yu/3edbecfeda423e67d147d08c24b3742d to your computer and use it in GitHub Desktop.
A script to get red's file! from script argument.
This file contains 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
Red [ | |
Title: "copy-red-file" | |
Needs: View | |
] | |
unless empty? system/script/args [ | |
path: to-red-file system/script/args | |
write-clipboard mold either attempt [read path][path][dirize path] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment