The
Public
Library
of Chez Luc

Call Number
121.1. LC-8

Title
chezluc.com PLCL

Author
Luke Carter

Category
Personal

Type
Web Design

Tags
Websites, The Public Library of Chez Luc

About
The web site you are looking at. A masterpiece.

Call Number
323.21. LC-1

Title
Call number folder

Author
Luke Carter

Category
Personal

Type
Automation

Tags
AppleScript, The Public Library of Chez Luc

About
I created this script to help automate the process of making this website. For every work example I need to move exported assets into a folder with the current 'call number.' This AppleScript takes the selected project folder, copies the call number, and places all of the exported assets into a new folder named with the desired call number.

Call Number
323.21. LC-2

Title
Adding the calldash variable

Author
Luke Carter

Category
Personal

Type
Automation

Tags
AppleScript, The Public Library of Chez Luc

About
During the build process of my web site, I discovered that my anchor links were not working. It was due to the fact I was trying to use the call number, which included periods, as the value for the href attribute. I discovered that dashes worked, so needed to add a value that mirrored the call number, but with dashes. It's possible do this with via terminal with grep and perl commands, but my knowledge of those frameworks are not at the expertise level.

I used AppleScript to add the additional line of code I needed on hundreds of markdown documents. This video documents the process from start to finish.

Call Number
323.21. LC-3

Title
Adding images

Author
Luke Carter

Category
Personal

Type
Automation

Tags
AppleScript, The Public Library of Chez Luc

About
I made this AppleScript to add a set of images to a markdown document. The script also adds the proper code to insert the image value into a properly formatted line of code needed for the site.

Call Number
323.21. LC-4

Title
Make markdown documents from Finder

Author
Luke Carter

Category
Personal

Type
Automation

Tags
AppleScript, The Public Library of Chez Luc

About
This AppleScript copies the folder structure that I use to organize my files and creates folders and markdown documents needed for my site. It was a real time saver so this didn't have to be done by hand.

Call Number
323.21. LC-5

Title
Publishing and Uploading

Author
Luke Carter

Category
Personal

Type
Automation

Tags
AppleScript, The Public Library of Chez Luc, Time Lapse

About
I update my site quite often, and am doing the same thing over and over. The first AppleScript I created in this video builds the site with the new changes.

The second script opens up Transmit, and uploads the new folders. The main collection file is huge, so I don't include it in the upload each time.