Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(26)  |  Call(0)  |  Derive(18)  |  Import(8)

src/d/a/damselfly-HEAD/_Damselfly-example.py   damselfly(Download)
                       Dictation, IntegerRef, Context, ActionBase)
 
from dragonfly.actions.action_base import DynStrActionBase
 
myName = 'Damselfly'
class FocusXWindow(DynStrActionBase):
    def __init__(self, spec, search = None, static = False):
        DynStrActionBase.__init__(self, spec = spec, static = static)
        if not search:
            self.search = 'any'
class HideXWindow(DynStrActionBase):
    def __init__(self, spec = None, search = None, static = False):
        DynStrActionBase.__init__(self, spec = str(spec), static = (spec is None))
        if not search:
            self.search = 'any'
class CacheXWindow(DynStrActionBase):
    def __init__(self, spec, static = False, forget = False):
        DynStrActionBase.__init__(self, spec = str(spec), static = static)
        self.search = 'id'
        self.forget =  forget
class XKey(DynStrActionBase):
    def _execute_events(self, events):
        mymess = 'sendXKeys\n' + self._pspec + '\n'
        return(dispatchAndHandle(mymess))
 

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/actions/action_text.py   SublimeSpeech(Download)
 
 
from dragonfly.actions.action_base  import DynStrActionBase, ActionError
from dragonfly.actions.typeables    import typeables
from dragonfly.actions.keyboard     import Keyboard
class Text(DynStrActionBase):
    """
        Action that sends keyboard events to type text.
 
        Arguments:

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/actions/action_paste.py   SublimeSpeech(Download)
 
import win32con
from dragonfly.actions.action_base  import DynStrActionBase, ActionError
from dragonfly.actions.action_key   import Key
from dragonfly.actions.action_text  import Text
class Paste(DynStrActionBase):
 
    """
        Paste-from-clipboard action.
 

src/d/r/dragonfly-0.6.5/dragonfly/actions/action_text.py   dragonfly(Download)
 
 
from dragonfly.actions.action_base  import DynStrActionBase, ActionError
from dragonfly.actions.typeables    import typeables
from dragonfly.actions.keyboard     import Keyboard
class Text(DynStrActionBase):
    """
        Action that sends keyboard events to type text.
 
        Arguments:

src/d/r/dragonfly-0.6.5/dragonfly/actions/action_paste.py   dragonfly(Download)
 
import win32con
from dragonfly.actions.action_base  import DynStrActionBase, ActionError
from dragonfly.actions.action_key   import Key
from dragonfly.actions.action_text  import Text
class Paste(DynStrActionBase):
 
    """
        Paste-from-clipboard action.
 

src/d/a/damselfly-HEAD/_Damselfly.py   damselfly(Download)
                       Dictation, IntegerRef, Context, ActionBase)
 
from dragonfly.actions.action_base import DynStrActionBase
 
myName = 'Damselfly'
class FocusXWindow(DynStrActionBase):
    def __init__(self, spec, search = None, static = False):
        DynStrActionBase.__init__(self, spec = spec, static = static)
        if not search:
            self.search = 'any'
class HideXWindow(DynStrActionBase):
    def __init__(self, spec = None, search = None, static = False):
        DynStrActionBase.__init__(self, spec = str(spec), static = (spec is None))
        if not search:
            self.search = 'any'
class CacheXWindow(DynStrActionBase):
    def __init__(self, spec, static = False, forget = False):
        DynStrActionBase.__init__(self, spec = str(spec), static = static)
        self.search = 'id'
        self.forget =  forget
class XKey(DynStrActionBase):
    def _execute_events(self, events):
        mymess = 'sendXKeys\n' + self._pspec + '\n'
        return(dispatchAndHandle(mymess))
 

src/s/u/SublimeSpeech-HEAD/lib/dragonfly/actions/action_pause.py   SublimeSpeech(Download)
 
import time
from dragonfly.actions.action_base import DynStrActionBase
 
 
class Pause(DynStrActionBase):

src/d/r/dragonfly-0.6.5/dragonfly/actions/action_pause.py   dragonfly(Download)
 
import time
from dragonfly.actions.action_base import DynStrActionBase
 
 
class Pause(DynStrActionBase):