You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
computer.calendar.get_events(start_date=datetime.date.today(), end_date=None) # Get events between dates. If end_date is None, only gets events for start_date
71
-
computer.calendar.delete_event(event_title="Meeting", start_date=datetime.datetime) # Delete a specific event with a matching title and start date, you may need to get use get_events() to find the specific event object first
72
-
computer.contacts.get_phone_number("John Doe")
73
-
computer.contacts.get_email_address("John Doe")
74
-
computer.mail.send("[email protected]", "Meeting Reminder", "Reminder that our meeting is at 3pm today.", ["path/to/attachment.pdf", "path/to/attachment2.pdf"]) # Send an email with a optional attachments
75
-
computer.mail.get(4, unread=True) # Returns the [number] of unread emails, or all emails if False is passed
76
-
computer.mail.unread_count() # Returns the number of unread emails
77
-
computer.sms.send("555-123-4567", "Hello from the computer!") # Send a text message. MUST be a phone number, so use computer.contacts.get_phone_number frequently here
This function returns a list of all the computer tools that are available with their signature and description from the function docstrings.
90
+
for example:
91
+
computer.browser.search(query) # Searches the web for the specified query and returns the results.
92
+
computer.calendar.create_event(title: str, start_date: datetime.datetime, end_date: datetime.datetime, location: str = "", notes: str = "", calendar: str = None) -> str # Creates a new calendar event in the default calendar with the given parameters using AppleScript.
0 commit comments