Beispiel #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 = []
        """
Beispiel #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 = []
        """
Beispiel #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
Beispiel #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
Beispiel #5
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "QuickTime Player")
Beispiel #6
0
 def __init__(self):
     s = "hi"
     AppleScriptWrapper.__init__(self, "Microsoft Word")
Beispiel #7
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'TextEdit')
Beispiel #8
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "iTunes")
Beispiel #9
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "System Preferences")
Beispiel #10
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Preview")
Beispiel #11
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Photo Booth")
Beispiel #12
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'TextEdit')
Beispiel #13
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "iTunes")
Beispiel #14
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "ProVoc")
Beispiel #15
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "QuickTime Player")
Beispiel #16
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Pages")
     self._selection = None
Beispiel #17
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Pages")
     self._selection = None
Beispiel #18
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Firefox")
Beispiel #19
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Finder")
Beispiel #20
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'Safari')
Beispiel #21
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, 'Safari')
Beispiel #22
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Finder")
Beispiel #23
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "ProVoc")
Beispiel #24
0
 def __init__(self):
     s = "hi"
     AppleScriptWrapper.__init__(self, "Microsoft Word")
Beispiel #25
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "System Preferences")
Beispiel #26
0
 def __init__(self):
     AppleScriptWrapper.__init__(self, "Preview")