), Choice("block",{ "(function|functions)" :"function", } ), Choice("collectable",{ "(variable|variables)":"variable", "( parameter | parameters)":"parameter", "(module|modules)":"module", "(import|imported) (value|item|object|element)":"import value", "function ( name |names)":"function name", } ), ] defaults = { "adjective":"None", "ndir":1, "level_index":1, "big_roi_sub_index":0, "paste_back_index":0, } #--------------------------------------------------------------------------- context = AppContext(executable="sublime_text", title="Sublime Text") control.non_ccr_app_rule(SublimeRulePlugin(), context=context)
"mute": "mute", "up": "up", "down": "down" }), generate_ccr_choices.__func__(_NEXUS), generate_sm_ccr_choices.__func__(_NEXUS), IntegerRefST("monitor", 1, 10) ] defaults = { "n": 1, "nnv": 1, "text": "", "volume_mode": "setsysvolume", "enable": -1 } control.non_ccr_app_rule(MainRule(), context=None, rdp=False) if globals().has_key('profile_switch_occurred'): reload(sikuli) else: profile_switch_occurred = None print("\n*- Starting " + settings.SOFTWARE_NAME + " -*") if settings.WSR: print("Windows Speech Recognition is garbage; it is " \ +"recommended that you not run Caster this way. ") get_engine().recognize_forever()
"ace":(" "," "), # "truth comprehension":"$$ = [x for x in $$ if x]", # "force list": "$$ if isinstance($$,list) else [$$] ", # "truth": "$$ = $$ if $$ else ", # "key value":"quotes$$quotes:$$", } ), Choice("operation",{ "paste": "paste", "delete":"delete", "swap": "swap", "edit": "edit", } ), Choice("caller",{ "caller": "caller", } ), ] defaults = { "ndir":1, "level_index":0, } #--------------------------------------------------------------------------- context = AppContext(executable="sublime_text", title="Sublime Text") control.non_ccr_app_rule(PythonVoiceCodingPluginRule(), context=context)