「MAX 鼠标手势方案及图解,StrokesPlus 脚本[分享]」的评论 http://inloveinparis.com/strokesplus-max-lua/ 分享免费、小巧、实用、有趣、绿色的软件 Tue, 25 Dec 2018 17:47:22 +0000 hourly 1 https://wordpress.org/?v=6.8.1 评论者:tim http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-375671 Fri, 11 Sep 2015 02:41:12 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-375671 回复给 seeu88

@seeu88 一直在想这个问题,您的两年前的方案让我眼前一亮,真有意思,回去一定试试,谢谢!

]]>
评论者:Victor.Woo http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-178852 Fri, 18 Oct 2013 04:21:28 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-178852 回复给 梁少侠

@梁少侠
有没有更好的办法?我是从计划任务和Launchy中运行,都不行。

]]>
评论者:seeu88 http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-178376 Sun, 13 Oct 2013 15:02:26 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-178376 说说我的StrokesPlus方案
一直觉得一个手势只能执行一个操作有点浪费,
有了StrokesPlus,可以很简单地实现鼠标手势的重用。
通过让同一手势,在屏幕的不同区域,执行不同操作的办法,
可以只用最简单的八个手势,执行比较常用的几十个操作。
具体做法是把屏幕以十字平分为四个区域:左上、左下、右上、右下,各占屏幕宽高的一半,
右上再划分为上下两个区域,上小下大,总共五个区域。
这样,一个手势就可以执行五种操作,八个就是四十种,一般很够用了。
也可以划分更多区域,但区域太多会使脚本复杂化,也容易导致误操作,五个以下比较合适。
当然,重用的代价就是牺牲了一定的手势自由度(或者说效率),
但这种牺牲换来了划手势的效率,因为只需要在小范围移动鼠标划八个最简单的手势,
个人觉得,只要合理安排手势区域,还是比划各种复杂手势更效率一些。

举个例子,用左划和右划手势实现以下十个操作:
左划手势:后退[左上]、显示桌面[右上上]、当前窗口最小化[右上]、退格[右下]、置顶[左下]
右划手势:前进[左上]、Google搜索[右上上]、百度搜索[右上]、来回切换窗口[右下]、最大化窗口[左下]

需要的脚本也很简单,在全局Lua里添加以下两行代码:
ScreenWidth = acGetMonitorRight(acGetMonitorFromPoint(gsx, gsy), 1)
ScreenHeight = acGetMonitorBottom(acGetMonitorFromPoint(gsx, gsy), 1)
然后在左划手势配置里添加以下几行Lua脚本:
— 右上上
if gsx > ScreenWidth/2 and gsy ScreenWidth/2 and gsy ScreenWidth/2 and gsy > ScreenHeight/2 then
acSendKeys(“{BACKSPACE}”)
— 左上
elseif gsx < ScreenWidth/2 and gsy ScreenWidth/2 and gsy ScreenWidth/2 and gsy ScreenWidth/2 and gsy > ScreenHeight/2 then
–acNextApplication()
acPreviousApplication()
— 左上
elseif gsx < ScreenWidth/2 and gsy < ScreenHeight/2 then
–acSendKeys("%{RIGHT}")
acSendKeys("{BROWSERFORWARD}")
— 左下
else
acMaximizeOrRestoreWindow(acGetForegroundWindow())
end
搞定收工。区域判定的代码都是一样的,按个人的习惯依葫芦画瓢就行了。

]]>
评论者:萝卜L http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174302 Fri, 06 Sep 2013 18:06:12 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174302 参考下,谢谢。
S+的Lua脚本用着很顺手,XP下没觉得性能有碍。
去官网逛逛,有不少方案的,但多是发帖讨论,学习起来不够系统..。
再配合AHK,应该蛮强大。

]]>
评论者:vessl http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174158 Thu, 05 Sep 2013 01:14:21 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174158 回复给 dzz

@dzz
设置兼容模式 (xp或者7都试下,忘记哪个了),然后添加个计划任务以管理员启动(如果你账户不 是管理员的话)
然后和在win7没啥区别了,唯一的区别就是画线的时候任务栏会瞬间闪一下图标,但基本无碍。

]]>
评论者:笑与淚 http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174122 Wed, 04 Sep 2013 11:04:07 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174122 原来还可以分区域手势,一直用都不知道。

]]>
评论者:路人假 http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174090 Wed, 04 Sep 2013 07:06:02 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174090 Strokeit干嘛不更新了呢?花钱买我也愿意啊,郁闷。

]]>
评论者:skyline http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174086 Wed, 04 Sep 2013 05:58:08 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174086 strokplus的性能表现确实不甚理想,确实会比较大的影响到系统性能,我现在都是极其精简的几个手势,就是想让它的速度多少快点。

]]>
评论者:二小羊 http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174084 Wed, 04 Sep 2013 05:53:36 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174084 回复给 A

哈, 我都搭配 AutoHotKey一起用,
滑鼠/键盘都方便

]]>
评论者:hnlouis610 http://inloveinparis.com/strokesplus-max-lua/comment-page-1/#comment-174064 Wed, 04 Sep 2013 02:34:59 +0000 http://inloveinparis.com/strokesplus-max-lua/#comment-174064 回复给 Max

@Max
你是极限论坛那位?

]]>