Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
-- Make sure a presentation is opened in Keynote. If not, notify the user and stop. | |
tell application "Keynote" | |
if (front slideshow exists) = false then | |
display alert "Unable to proceed." message "Please open a presentation in Keynote." | |
return | |
end if | |
set extractBody to button returned of (display alert "Would you like to extract slide content too?" buttons {"Yes", "No"}) = "Yes" | |
-- Target the front presentation. |
import requests, random, datetime, sys, webbrowser, console, urllib, clipboard, bs4 | |
def main(): | |
song_page = None | |
if (len(sys.argv) > 0): | |
try: | |
song_page = sys.argv[1] | |
except Exception: | |
song_page = None | |
if not song_page: |
In case you want to convert your PT readings from PPT(X) to PDF it's really easy:
If you own an linux you can use the following command:
$ libreoffice --headless --invisible --convert-to pdf --outdir /Users/Nico/Desktop/pt /Users/Nico/Desktop/pt/*.pptx