Example #1
0
    def __init__(self, slideshow_number=None):
        """
        Sets up Keynote so that it uses whichever slideshow throughout
        """
        AppleScriptWrapper.__init__(self, "Keynote")
        if not slideshow_number:
            slideshow_number = 1

        self._edit = []
        """
Example #2
0
    def __init__(self, slideshow_number=None):
        """
        Sets up Keynote so that it uses whichever slideshow throughout
        """
        AppleScriptWrapper.__init__(self, "Keynote")
        if not slideshow_number:
            slideshow_number = 1

        self._edit = []
        """
Example #3
0
 def extention_of_current_document(self):
     name = AppleScriptWrapper.name_of_current_document(self)
     if name:
         s = re.search(r'.*\.\w{3,4} \((\w{3,4}).*?\)', name)
         if s:
             return s.group(1)
         else:
             return self.default_extension
Example #4
0
 def name_of_current_document(self):
     name = AppleScriptWrapper.name_of_current_document(self)
     if name:
         s = re.search(r'(.*)\.\w{3,} \(.*?\)', name)
         if s:
             return s.group(1)
         else:
             return name
Example #5
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "QuickTime Player")
Example #6
0
File: Word.py Project: imclab/asw
 def __init__(self):
     s = "hi"
     AppleScriptWrapper.__init__(self, "Microsoft Word")
Example #7
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'TextEdit')
Example #8
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "iTunes")
Example #9
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "System Preferences")
Example #10
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Preview")
Example #11
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Photo Booth")
Example #12
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'TextEdit')
Example #13
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "iTunes")
Example #14
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "ProVoc")
Example #15
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "QuickTime Player")
Example #16
0
File: Pages.py Project: imclab/asw
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Pages")
     self._selection = None
Example #17
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Pages")
     self._selection = None
Example #18
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Firefox")
Example #19
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Finder")
Example #20
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'Safari')
Example #21
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'Safari')
Example #22
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Finder")
Example #23
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "ProVoc")
Example #24
0
 def __init__(self):
     s = "hi"
     AppleScriptWrapper.__init__(self, "Microsoft Word")
Example #25
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "System Preferences")
Example #26
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Preview")