Hi Suiyan,
So you can do it either way
If you have “inline” code, you can just add it to a text file with a “.js” extension. Then the command is whatever you name it.
So from your screenshot, “alt-s” then for the command put the name of your new js file (that you added to the command or scripts folder in your install directory)