StrokesPlus.net Forum
»
General Discussion
»
Scripts
»
The method I used to convert old S + code to new code
Rank: Advanced Member
Groups: Approved
Joined: 9/26/2018(UTC) Posts: 73 Location: 北京 Thanks: 18 times Was thanked: 1 time(s) in 1 post(s)
|
S + net uses new scripting language to develop, for old users, converting code is a bit cumbersome. I tried to change it. Here's how I used it. I use Notepad++ conversion, if you want to improve efficiency, then you need to record macros to replace, to achieve version S + code to the new version of code conversion. Following is the code replacement conversion scheme I used. Welcome to add what I did not cover. Replace the code before the space with the code after the space. acDelay sp.Sleep acSendKeys sp.SendKeys -- // acMouseClick sp.MouseClick(new Point , 2, 1, 1 ), MouseButtons.Left, true, true os.date("%Y-%m-%d>%H:%M") DateTime.Now.ToString() F_ F sp.SendKeys("{apps}") sp.SendVKey(vk.APPS); Here you need to switch to regular expressions to replace them \)$ \); Edited by user Sunday, September 29, 2019 3:06:56 AM(UTC)
| Reason: Not specified
|
1 user thanked liuchina for this useful post.
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
Scripts
»
The method I used to convert old S + code to new code
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close