Send the keyboard command to generate a GET SET script.

zhaozj2021-02-16  86

I was bored by Get Set, I don't want to use the macro (VB), write a script.

New ActiveXObject ("wscript.shell"). SendKeys ("% {tab} private" wscript.Arguments (0) "" wscript.arguments (1) "; ~~ public" wscript.arguments (0) "" String.fromcharcode (wscript.arguments (1) .substr (0, 1) .Charcodeat (0) - 32) wscript.arguments (1) .substr (1) "~ {} ~ get ~ {{} ~ return this. " wscript.arguments (1) "; ~ {}} ~ set ~ {{} ~ this. " wscript.arguments (1) " = value; ~ {}} ~ { }} ~ ");

The whole line, too lazy format, is ****. JS, save to the path, which is relatively easy to call.

Sg.js system.collections.sortedlist Listbuffer

Alt Win, you can enter it.

转载请注明原文地址:https://www.9cbs.com/read-10474.html

New Post(0)