StrokesPlus.net Forum
»
General Discussion
»
Plug-Ins
»
plugin for importing from OLD strokesplus!
Rank: Advanced Member
Groups: Translators, Moderators, Approved Joined: 4/5/2020(UTC) Posts: 75  Thanks: 1 times Was thanked: 20 time(s) in 20 post(s)
|
|
 1 user thanked liuxilu for this useful post.
|
|
|
Rank: Advanced Member
Groups: Translators, Moderators, Approved Joined: 4/5/2020(UTC) Posts: 75  Thanks: 1 times Was thanked: 20 time(s) in 20 post(s)
|
And brief introduction for convert codes. First, Variables.
sp_gesture_name (gnm): action.GestureName
sp_gesture_start_x (gsx): action.Start.X sp_gesture_start_y (gsy): action.Start.Y or Point object action.Start
sp_gesture_end_x (gex): action.End.X sp_gesture_end_y (gey): action.End.Y or Point object action.End
sp_wheel_delta (gwd): action.WheelDelta
sp_app_name (gapp): action.ApplicationName, "Global" if global action
sp_action_name (gact): action.ActionName
gbl: action.Bounds.Left gbt: action.Bounds.Top gbr: action.Bounds.Right gbb: action.Bounds.Bottom or Rectangle object action.Bounds
And more vars available. See script help inside the program.
|
|
|
|
Rank: Advanced Member
Groups: Translators, Moderators, Approved Joined: 4/5/2020(UTC) Posts: 75  Thanks: 1 times Was thanked: 20 time(s) in 20 post(s)
|
And functions: In Global Actions -> Mouse Events & Load/Unload 全局动作 -> 鼠标事件 和 加载/卸载
function sp_middle_mouse_up(x, y, fwKeys) x: Click.X y: Click.Y Or Point object Click.Point fwKeys: Click.FWKeys And Click.Button
function sp_wheel_tick(control, wParam, lParam, x, y, delta) control: WheelTick.Control wParam: WheelTick.WParam lParam: WheelTick.LParam x: WheelTick.X y: WheelTick.Y Or Point object WheelTick.Point delta: WheelTick.Delta
|
|
|
|
Rank: Advanced Member
Groups: Approved
Joined: 4/23/2020(UTC) Posts: 41  Thanks: 5 times Was thanked: 1 time(s) in 1 post(s)
|
It is a great job, even though many methods are absolutely different.
|
|
|
|
Rank: Advanced Member
Groups: Translators, Moderators, Approved Joined: 4/5/2020(UTC) Posts: 75  Thanks: 1 times Was thanked: 20 time(s) in 20 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Approved
Joined: 4/23/2020(UTC) Posts: 41  Thanks: 5 times Was thanked: 1 time(s) in 1 post(s)
|
哈哈哈,看起来就不一样,具体不同也清楚
s+net支持的框架多了吧,要是简单的快捷键调用还蛮好转换的
|
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
Plug-Ins
»
plugin for importing from OLD strokesplus!
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