Show messages: All
1-2
3-5
From: 大道刀 (SUIYAN)
HI BurrMan
这太棒了,但我认为制作成可调用的js脚本而不是使用代码调用的意义:
(This is great, but I think the significance of making it a callable JavaScript script instead of using code calls is:)
就是人们不再需要记忆、理解长长的代码,而使用自身文字来定义快捷键,我想这对一些人会很重要(It means that people no longer need to remember and understand long codes, but use their own language to define shortcut keys, which I think will be important for some people)
Image Attachments:
1.png
From: BurrMan
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)
From: 大道刀 (SUIYAN)
Thanks BurrMan,我才想到这么做(Thanks BurrMan, I just thought of doing this)
Show messages: All
1-2
3-5