Skip to content

Instantly share code, notes, and snippets.

@koba-yu
Created April 25, 2020 11:36
Show Gist options
  • Save koba-yu/3edbecfeda423e67d147d08c24b3742d to your computer and use it in GitHub Desktop.
Save koba-yu/3edbecfeda423e67d147d08c24b3742d to your computer and use it in GitHub Desktop.
A script to get red's file! from script argument.
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