Pick one of these approaches
Pick this approach if you want to show the status in the menu bar, like this https://share.getcloudapp.com/9Zu8Ok97
- Install https://github.com/tonsky/AnyBar
- Run it
| use AppleScript version "2.4" -- Yosemite (10.10) or later | |
| use scripting additions | |
| # Sample Keyboard Maestro macros at | |
| # <https://sixcolors.com/wp-content/uploads/2022/01/Podcast-Noter-Macros.kmmacros.zip> | |
| on run argv | |
| try | |
| set theNote to (item 1 of argv) | |
| on error |
| #!/usr/bin/osascript | |
| on convertListToString(theList, theDelimiter) | |
| set AppleScript's text item delimiters to theDelimiter | |
| set theString to theList as string | |
| set AppleScript's text item delimiters to "" | |
| return theString | |
| end convertListToString | |
| on get_participants() |
Pick one of these approaches
Pick this approach if you want to show the status in the menu bar, like this https://share.getcloudapp.com/9Zu8Ok97
| function run(input, parameters) { | |
| const appNames = []; | |
| const skipAppNames = []; | |
| const verbose = true; | |
| const scriptName = 'close_notifications_applescript'; | |
| const CLEAR_ALL_ACTION = 'Clear All'; | |
| const CLEAR_ALL_ACTION_TOP = 'Clear'; | |
| const CLOSE_ACTION = 'Close'; |
| property MY_NOTION_TOKEN : "redacted" | |
| property MTG_DATABASE_ID : "redacted" | |
| tell application "Microsoft Outlook" | |
| -- is an evet selected in the calendar window? | |
| if class of front window is main window and view of front window is calendar view then | |
| set theEvt to the selection | |
| -- is the event unsaved or is the buggy "New Outlook" interface being used | |
| else if class of front window is window and object of front window is missing value then | |
| display dialog "Unsaved events cannot be copied. Save your event and run this script again." with title "Alert!" with icon 2 buttons {"OK"} default button {"OK"} |
| javascript:(function() { | |
| function copyToClipboard(text) { | |
| if (window.clipboardData && window.clipboardData.setData) { | |
| /*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
| return clipboardData.setData("Text", text); | |
| } else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
| var textarea = document.createElement("textarea"); | |
| textarea.textContent = text; |
| #!/bin/bash | |
| # This is a script that unsubscribes an email address from AWS junk mail. | |
| # If the script breaks it might be the magic numbers that needs to change. | |
| # Send the form while tracing the request in your browser to find the new values. | |
| # https://pages.awscloud.com/communication-preferences | |
| unsubscribe_aws_email() { | |
| curl "https://pages.awscloud.com/index.php/leadCapture/save2" \ | |
| -H "Accept: application/json" \ |
| # It is recommended that you save this script as an application, so you don't have to open Script editor. | |
| (* | |
| It all started when I wanted to join zoom faster than a human could do with no prompt like how I expected like this. | |
| I first discovered zoom.us's URL scheme to join meeting, but when I found out it doesn't work, I started to make this program. | |
| After this all of stuff, I finally have something that is constantly updated. | |
| After this pandemic is over, development might slow down or become discontinued. | |
| *) | |
| global meetingNames, meetingIDs, meetingPwds, wname | |
| # Compiling the app will reset all your saved meetings! | |
| property meetingNames : {} |
Swift program for getting a zoom app link from current or upcoming event in calendar.
Apple script calling the program and opening zoom.
| -- File: MarkUnreadEmails.scpt | |
| -- Description: Go through the mailboxes in Outlook and mark unread messages as read | |
| -- Author: Chad Armstrong | |
| -- Date: 22 November 2019 | |
| tell application "Microsoft Outlook" | |
| set myInbox to folder "Inbox" of default account | |
| set github to folder "GitHub" of myInbox | |
| set other to folder "Other" of myInbox |