Skip to content

Instantly share code, notes, and snippets.

View logic2design's full-sized avatar
🏠
Working from home

Logic2Design logic2design

🏠
Working from home
View GitHub Profile
@logic2design
logic2design / Change Wallpaper depending on Dark Mode status.applescript
Last active June 10, 2021 23:44
This routine, if saved as an Application, will check the Dark Mode status every three minutes and change the wallpaper to the corrosponding image
############################################################
# Title: Change Wallpaper depending on Dark Mode status
############################################################
#Logic2design.com
#logic2design@icloud.com
# Last update: 2021-06-11
# Version: 2
# Updated Desktop select routine
@logic2design
logic2design / Reminders to Calendar - Time Block.applescript
Last active March 8, 2022 05:29
This workflow will let you chose a Reminder to add to your selected Calendar so time can be blocked out to address the task.
##############################################
# Title:
##############################################
# Iain Dunn
# Logic2Design
# www.logic2design.com
# logic2design@icloud.com
# Last update: 26 January 2022
@logic2design
logic2design / Things 3 to Calendar - Time Block.applescript
Last active July 6, 2023 14:58
This workflow will let you chose a Things 3 task to add to your selected Calendar so time can be blocked out to address the task.
##############################################
# Title: Things3 To Calendar - Time Block
##############################################
# Iain Dunn
# Logic2Design
# www.logic2design.com
# Last update: 26-01-2022
# Version: 4
@logic2design
logic2design / Create Link(s) from Mail, Safari or Finder.applescript
Last active September 26, 2021 13:01
Link(s) will be made in the Clipboard from the highlighted Mail, Safari or Finder items
@logic2design
logic2design / Add-Remove Group Name(s) or delete duplicates from Contacts Notes.applescript
Last active January 16, 2022 01:26
This routine will add/remove the Group Membership details for the Contact Notes. It will also remove duplicated Note entries
#############################################################
# Title: Add-Remove Group Name(s) or delete duplicates from Contacts Notes
#############################################################
#Iain Dunn
#https://www.logic2design.com
#https://twitter.com/Logic2Design
#logic2design@icloud.com
##############################################
# Code
##############################################
@logic2design
logic2design / Mail - Add Sender(s) to Contact Group(s).applescript
Created January 3, 2021 10:27
Add Mail Message Sender(s) to Contatcs Group(s)
#################################################################################
# Title: Add Sender(s) to Contact Group(s)
#################################################################################
#Iain Dunn
#Logic2design.com
#logic2design@icloud.com
tell application "Contacts"
#Prevents potential error
@logic2design
logic2design / Reminder to Calendar Event.applescript
Last active January 7, 2021 11:35
This will let you select Reminders due today, due this week or all Reminders than allow you to creata a Calendar Event
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
#################################################################################
# Title: Create Calendar Event from Reminders
#################################################################################
#Iain Dunn
#Logic2design.com
#logic2design@icloud.com
@logic2design
logic2design / Things3 To Do to Calendar Event.applescript
Last active January 3, 2021 04:33
Time Block Things3 To Do in Calendar
####################################################################
# Title: Things3 To Do to Calendar Event
####################################################################
# Iain Dunn
# Logic2Design
# www.logic2design.com
# Last update: 2021-01-03
# Version: 2
@logic2design
logic2design / Create new Things3 To Do.applescript
Last active January 3, 2021 04:32
A New Things3 To Do will be created with option to use the Clipboard as the Title and/or Note, add a link to a File or Location, select the Things3 Area and Tags.
###################################################################
# Title: Create new Things3 To Do
###################################################################
# Iain Dunn
# Logic2Design
# www.logic2design.com
# Last update: 2021-01-03
# Version: 1