//没登陆

欢迎您来到凯恩之角,奈非天!

帖子:25612

符文:1043

76#
有点看不懂。我今天买了罗技的G302,这个贴子应该有用。先收藏。
发表于 2015-10-27 09:23:00 |只看该作者 来自:黑龙江
Galanz#21817

帖子:5

符文:2

77#
mark一下!!!
发表于 2015-10-27 09:26:42 |只看该作者 来自:四川

帖子:230

符文:7

78#
大神,我的罗技m100r不知道可以使用这个宏吗?????????????????????
发表于 2015-10-27 09:34:16 |只看该作者 来自:湖南
[armory]http://hero.d.163.com/hero/tw/%E5%B9%BD%E7%92%83%E7%A5%9E%E5%90%9B-3868/50159743[/armory]

帖子:156

符文:2

79#

求教大神 控制G呼吸灯 和 DPI灯的代码能找到么? 如果单手鼠标操作,这个脑洞还是可以开的。
发表于 2015-10-27 11:56:16 |只看该作者 来自:江苏

帖子:8

符文:2

80#
先mark,然后再研究把
发表于 2015-10-27 13:56:44 |只看该作者 来自:四川

帖子:2581

符文:51

81#
有没有给小手同学g303的宏。。。就俩富裕按键。。。
发表于 2015-10-27 15:20:31 |只看该作者 来自:北京
[armory]http://hero.d.163.com/hero/cn/%E6%BB%9A%E9%94%AE%E7%9B%98%E7%9A%84%E6%B7%B7%E5%AD%90-5720/35336195[/armory]

帖子:2238

符文:37

82#
bxy6126 发表于 2015-10-27 15:20
有没有给小手同学g303的宏。。。就俩富裕按键。。。

考虑单键切换的脚本

发表于 2015-10-27 17:41:52 |只看该作者 来自:河北
WilDStr1ng#3838

帖子:612

符文:5

83#
太燒腦了...程序渣表示完全看的雲里霧裡
发表于 2015-10-27 17:46:10 |只看该作者 来自:中国台湾
[armory]http://tw.battle.net/d3/zh/profile/Felcia-3871/hero/49808141[/armory]

帖子:444

符文:12

84#
先mark,然后再研究把
发表于 2015-10-29 23:35:11 |只看该作者 来自:河南
[armory]http://tw.battle.net/d3/zh/profile/我是传奇-3584/hero/42154658[/armory]

帖子:156

符文:2

85#
大神 提醒一下 脚本编辑的时候 宏的名字不能是中文。否则貌似不好执行脚本
发表于 2015-10-30 21:07:57 |只看该作者 来自:江苏

帖子:20

符文:57

86#
呵呵!伸手党的福音,今天上午搞定后试了一下,爽歪歪!
发表于 2015-11-3 21:08:48 |只看该作者 来自:湖北
[armory]http://cn.battle.net/d3/en/profile/%E4%B9%9D%E8%B6%BE%E7%A5%9E%E4%B8%90-5963/hero/19988168[/armory]

帖子:29

符文:2

87#
有个问题不理解。就是设置脚本启动宏的那个。楼主能再说的明白点吗?
发表于 2015-11-6 23:05:15 |只看该作者 来自:河南

帖子:2238

符文:37

88#
-煤堆里的黑猫- 发表于 2015-11-6 23:05
有个问题不理解。就是设置脚本启动宏的那个。楼主能再说的明白点吗?

你随便录制一个执行10以上的宏,然后启动宏,看看是不是宏执行完毕前是无法停止的
然后改成脚本控制,再试试就明白了


发表于 2015-11-7 00:33:54 |只看该作者 来自:河北
WilDStr1ng#3838

帖子:35

符文:2

89#
看不到附件啊!
发表于 2015-11-12 19:43:45 |只看该作者 来自:天津
[armory]http://cn.battle.net/d3/en/profile/%E7%99%BD%E8%89%B2%E5%A4%A9%E5%A0%82-5707/hero/17742149[/armory]

帖子:2

符文:2

90#
麻烦大神能详细的说明下 怎么可以把x1 x2 x3 x4这四个宏用你说的那个脚本,做切换,我是这样写的:可是不行 按什么快捷键都是循环最后一个宏 麻烦啦 帮忙说说脚本哪出问题了啊!!!??
MacroStarted = false;

function OnEvent(event, arg, family)
    RestartMacro("X1", 9, event, arg); --5为返回键
     RestartMacro("X2",10, event, arg);
     RestartMacro("X3",6, event, arg);
     RestartMacro("X4", 4, event, arg);
end

function RestartMacro(MacroName, MacroKey, event, arg)
    if (event == "MOUSE_BUTTON_RELEASED" and arg == MacroKey) then
        if not (MacroStarted) then
            PlayMacro("x1"); --启动宏
            MacroStarted = true; --宏已启动
        else
            AbortMacro(); --停止宏
            MacroStarted = false; --宏已停止
        end
    end
end

function RestartMacro(MacroName, MacroKey, event, arg)
    if (event == "MOUSE_BUTTON_RELEASED" and arg == MacroKey) then
        if not (MacroStarted) then
            PlayMacro("x2"); --启动宏
            MacroStarted = true; --宏已启动
        else
            AbortMacro(); --停止宏
            MacroStarted = false; --宏已停止
        end
    end
endfunction RestartMacro(MacroName, MacroKey, event, arg)
    if (event == "MOUSE_BUTTON_RELEASED" and arg == MacroKey) then
        if not (MacroStarted) then
            PlayMacro("x3"); --启动宏
            MacroStarted = true; --宏已启动
        else
            AbortMacro(); --停止宏
            MacroStarted = false; --宏已停止
        end
    end
endfunction RestartMacro(MacroName, MacroKey, event, arg)
    if (event == "MOUSE_BUTTON_RELEASED" and arg == MacroKey) then
        if not (MacroStarted) then
            PlayMacro("x4"); --启动宏
            MacroStarted = true; --宏已启动
        else
            AbortMacro(); --停止宏
            MacroStarted = false; --宏已停止
        end
    end
end
发表于 2015-11-20 19:15:32 |只看该作者 来自:北京
您需要登录后才可以回帖 登录 | 注册网易通行证