Monday, April 27, 2015

>_automatic: Automator Workflows

This is week 2 of >_automatic and we are creating some interesting Automator workflows. Throughout the week we will continue to post some of the workflows we find to be helpful.

Change Image Type - Workflow

This is a converter to use when you want to change a JPG to PNG for example, or any other number of conversion combinations!


Convert Keynote to PDF - Service

A number of teachers at KIS have requested this. A conversion, however it requires AppleScript. This nice thing is this is only a 2 Action thing, and the second is an optional Display Notification. 


You will need to cut and paste the following AppleScript into the Run AppleScript action. 

property exportFileExtension : "pdf"
property useEncryptionDefaultValue : true

-- THE DESTINATION FOLDER 
-- (see the "path" to command in the Standard Additions dictionary for other locations, such as movies folder, pictures folder, desktop folder)
set the defaultDestinationFolder to (path to documents folder)

set usePDFEncryption to useEncryptionDefaultValue
tell application "Keynote"
activate
try
if playing is true then tell the front document to stop
if not (exists document 1) then error number -128
if usePDFEncryption is true then
-- PROMPT FOR PASSWORD (OPTIONAL)
repeat
display dialog "Enter a password for the PDF file:" default answer ¬
"" buttons {"Cancel", "No Password", "OK"} ¬
default button 3 with hidden answer
copy the result to ¬
{button returned:buttonPressed, text returned:firstPassword}
if buttonPressed is "No Password" then
set usePDFEncryption to false
exit repeat
else
display dialog "Enter the password again:" default answer ¬
"" buttons {"Cancel", "No Password", "OK"} ¬
default button 3 with hidden answer
copy the result to ¬
{button returned:buttonPressed, text returned:secondPassword}
if buttonPressed is "No Password" then
set usePDFEncryption to false
exit repeat
else
if firstPassword is not secondPassword then
display dialog "Passwords do no match." buttons ¬
{"Cancel", "Try Again"} default button 2
else
set providedPassword to the firstPassword
set usePDFEncryption to true
exit repeat
end if
end if
end if
end repeat
end if
-- DERIVE NAME AND FILE PATH FOR NEW EXPORT FILE
set documentName to the name of the front document
if documentName ends with ".key" then ¬
set documentName to text 1 thru -5 of documentName
tell application "Finder"
set exportItemFileName to documentName & "." & exportFileExtension
set incrementIndex to 1
repeat until not (exists document file exportItemFileName of defaultDestinationFolder)
set exportItemFileName to ¬
documentName & "-" & (incrementIndex as string) & "." & exportFileExtension
set incrementIndex to incrementIndex + 1
end repeat
end tell
set the targetFileHFSPath to (defaultDestinationFolder as string) & exportItemFileName
-- EXPORT THE DOCUMENT
with timeout of 1200 seconds
if usePDFEncryption is true then
export front document to file targetFileHFSPath ¬
as PDF with properties {password:providedPassword}
else
export front document to file targetFileHFSPath as PDF
end if
end timeout
on error errorMessage number errorNumber
if errorNumber is not -128 then
display alert "EXPORT PROBLEM" message errorMessage
end if
error number -128
end try
end tell

-- SHOW THE NEW MOVIE FILE
tell application "Finder"
activate
reveal document file targetFileHFSPath
end tell


Now press the Hammer icon in the Run AppleScript action to verify that the script is good! 


Now SAVE your Service. Call it 'Keynote to PDF or something similar. 

To test it, select a Keynote from your Finder, right-select, Go down to Services and select your 'Keynote to PDF' service. 



Convert Keynote Slides into individual PNG images - Workflow

This is a Workflow, but could easily be re-jigged as a Service if you prefer that method. This workflow in any case takes a Keynote Presentation, and kicks each slide out into a folder (set to land in your Pictures Folder) as a PNG converted image. 

There are only 2 Actions, with the second action involving a dump of some Apple Script into an Action to make it work. 


Here is the Apple  Script you need (copy paste all of the script in purple below):
(See https://iworkautomation.com/keynote/document-export.html)

property exportFormat : "PNG" -- "TIFF" "JPEG" "PNG"
property includeSkippedSlides : false
property compressionFactor : 1.0

-- THE DESTINATION FOLDER 
-- (see the "path" to command in the Standard Additions dictionary for other locations, such as documents folder, movies folder, desktop folder)
set the defaultDestinationFolder to (path to pictures folder)

tell application "Keynote"
activate
try
if playing is true then tell the front document to stop
if not (exists document 1) then error number -128
-- DERIVE NAME FOR NEW FOLDER FROM NAME OF THE FRONT DOCUMENT
set documentName to the name of the front document
if documentName ends with ".key" then ¬
set documentName to text 1 thru -5 of documentName
-- CREATE AN EXPORT DESTINATION FOLDER
-- IMPORTANT: IT’S ADVISED TO ALWAYS CREATE A NEW DESTINATION FOLDER, AS THE CONTENTS OF ANY TARGETED FOLDER WILL BE OVERWRITTEN
tell application "Finder"
set newFolderName to documentName
set incrementIndex to 1
repeat until not (exists folder newFolderName of defaultDestinationFolder)
set newFolderName to documentName & "-" & (incrementIndex as string)
set incrementIndex to incrementIndex + 1
end repeat
set the targetFolder to ¬
make new folder at defaultDestinationFolder with properties ¬
{name:newFolderName}
set the targetFolderHFSPath to targetFolder as string
end tell
-- EXPORT THE DOCUMENT
if exportFormat is "PNG" then
-- EXPORT THE FRONT DOCUMENT TO PNG IMAGES
export front document as slide images to file targetFolderHFSPath with properties ¬
{image format:PNG, skipped slides:includeSkippedSlides}
else if exportFormat is "JPEG" then
-- EXPORT THE FRONT DOCUMENT TO JPEG IMAGES
export front document as slide images to file targetFolderHFSPath with properties ¬
{image format:JPEG, skipped slides:includeSkippedSlides ¬
, compression factor:compressionFactor}
else if exportFormat is "TIFF" then
-- EXPORT THE FRONT DOCUMENT TO TIFF IMAGES
export front document as slide images to file targetFolderHFSPath with properties ¬
{image format:TIFF, skipped slides:includeSkippedSlides ¬
, compression factor:compressionFactor}
end if
on error errorMessage number errorNumber
display alert "EXPORT PROBLEM" message errorMessage
error number -128
end try
end tell

-- OPEN THE DESTINATION FOLDER
tell application "Finder"
activate
open the targetFolder

end tell

When you have copy/pasted this script into the Run AppleScript action, press the hammer button to configure it (which also checks for errors)....



Select a Keynote (from the 'Get Specified Finder Items' action) and press RUN to test it.

Convert Videos (that land in Dropbox > Camera Uploads folder) - Folder Action

A handy Folder Action that automatically converts uploaded video, as seen below, for iPad, iPhone, AppleTV etc. Very versatile.

Convert images to .png - Workflow

We find this one very useful, especially when wanting to upload an image to a web or blog site, and not have the colour profile messed with. PNG is the answer to that irksome issue, and this little workflow simply automates it for us. 

Reduce the size of PDF files - Workflow

Had a PDF document and tried to send via email only to have it bounce because it exceeds the MB limit? Gone to reduce file size, only to see all the quality stripped out of the document as well? This is a beautiful workflow that will drastically reduce the file size..with little to no discernible difference in document quality. Adding in then additional 'Create New Mail item and add the reduce PDF to it as an attachment is of course optional (depending on whether you use Mail or not).

You will need to set up the Quartz filter first.

Option: Add your 'Reduced File Size PDF to a new Mail message...automatically:


Batch Printing - Workflow

This is actually faster than a manual print workflow. Simply select all of your documents and arrange the print queue (drag and drop the selected Specified Finder Items); have your default printer saved (do this when you make the Workflow), and then hit RUN. 


PDF Splitter - Worlflow

Scenario: you have been sent or downloaded a unit plan or unit and only want specific pages from it. This little workflow will take a multi-page PDF and split it into separate PDF files (one for each page). You can the trash the unwanted material. The companion to this Workflow is the PDF Combiner, which does the opposite: it takes the wanted pages and stitches them together to create a single (but edited selection) PDF file. 


PDF Combiner - Workflow

The promised companion to the PDF Splitter is this little gem:

Wrap Text in Quotes - Service

This is a very simple 'service', and therefore differs from all the above examples. A service can be accessed by right selecting on on object - in this case a text passage. There is only 1 action, and it's 'Run AppleScript'. Copy and paste the script below:


The AppleScript is:


on run {input, parameters}
    return "\"" & (input as string) & "\""
end run

The 'Service receives selected text' setup is important to get right. Make sure you check the box as shown. DONE!

Notice 'Wrap in Quotes Service' in the screenshot below? Select text from anywhere and try it yourself. 

Create a Thumbnail version of an Image - Service

Need to create a low resolution copy of an image to use as a personal avatar on any number of social media like sites? Twitter, Facebook, Instagram etc etc? There is no need to get hassled by the need to come up with a small image using a photo editing App. Just create this Automator Service and it's easy to create the thumbnail image you need. This is a Service, so go to File > New > Service. Here's the rest:

Now File > Save your new Service and call it something like 'Thumbnail This'.

To use this, simply right-select the image from within the Finder and 'Thumbnail This' will be there to choose:

Attach file(s)/folder(s) to a New Mail message - Service

Again, another 'Service', but a super useful one for those who use the native Mail app on their Mac. I like this simple little service because it means I can select any file/folder(s) and instantly have them open up as an attachment to a new email. Quick and easy to make, and use time and time again.





Feel free to download these workflows from our shared folder.


Friday, April 24, 2015

Thank You!!

The KIS EdTech team would like to share some exciting news. We have set a new record for the number of attendances for the school year. Our previous record was 1187 attendances in the 2012-13 school year.
We would like to express our sincere gratitude to all who have attended The Fish Bowl Sessions in the past, all past and present KIS EdTech team members, and the administration of Korea International School. Without each and every one of you The Fish Bowl Professional Development Program would not have been such a success.


Past and present KIS EdTech Team members:
Bruce Roadside
Christine Usyak
Mark Page
Tim Bray
Chris Bernhardi
David Lee
Amalia Kingsbury
Rick Mallon
Art Schultz
Steve Katz
Ben Summerton

Sunday, April 19, 2015

>_automatic


This is a professional development opportunity that is for any Mac, iOS or Android user. Welcome to >_Automatic - a 2 Week session that perhaps unsurprisingly focusses on automation!

Goals
Introduce ways to make your digital work/social life more efficient and walk away with some tangible 'gains'.

Who is this session for? 
People who are ready to take ordinary tasks, and automate them. It's also for the tech curious!

We therefore dive into 3 levels of automation:

Week 1

IFTTT - the innovative and clever service (brought together with the IF App for iOS and Android) links together many of your favourite social media and broader internet sites - delivering automated tasks and information retrieval. It's actually quite fun to dive into the IFTTT 'recipes', and you too can create your own. Simple to use, easy to setup. For participants in The Fish Bowl this week, we may not make it beyond IFTTT...40 mins disappears quickly in this universe.

Week 2

Automator - This native App to the Mac coordinates applescript with a tidy UI (user interface). It looks daunting at first glance, but we will guide you through some processes that will perform common tasks such as shrinking a PDF with no loss of quality; merging PDF files into a single file; converting image types; pulling text from PDF files; converting to PDF...actually the Automator options here mostly relate to PDFs. Whatever the recipe, Automator can take all the repetitive legwork out by creating automatic processes that you normally do manually.

Extension

AppleScript - Offered as an extension in this session, we offer a look at this form of programming language that is one of the simplest languages to understand, mainly because it so closely resembles regular prose. Great for people who are curious and requires no experience in scripting languages.



Some of our IF recipes from this session (watch this space...!)

IFTTT Recipe: YellowDust Korea Update connects twitter to ios-notifications IFTTT Recipe: If it's raining, email me! connects weather to gmail IFTTT Recipe: Remember this business card connects do-camera to evernote IFTTT Recipe: Tweet when someone faves your Published Recipe. connects ifttt to twitter IFTTT Recipe: Publish that blogpost & share on Twitter. connects blogger to twitter IFTTT Recipe: Make a quick Photo Post in Blogger from Instagram connects instagram to blogger IFTTT Recipe: If it starts to rain send me a notification.  connects weather to ios-notifications IFTTT Recipe: Send iOS notifications about 54cm touring bikes in Minneapolis, MN on Craigslist connects craigslist to ios-notifications IFTTT Recipe: Dallas Cowboys Game Starting connects espn to ios-notifications IFTTT Recipe: Quickly create events in Google Calendar connects do-note to google-calendar

Friday, April 10, 2015

Advanced Google Forms


We are pumped on Google Forms at KIS!! Some of the topics this workshop will cover are:
  • Customizing Forms
  • Adding photos and videos
  • Collaboration on Forms and/or Responses
  • Collecting user data
  • Answer-based branching
  • Notifications
  • Conditional formatting
  • Creating and embedding charts
  • Use of spreadsheet functions
  • A variety of add-ons
Take the survey, and check out the presentation below.






View the complete survey responses. (KIS email required)

 Charts showing data from responses:


Monday, March 30, 2015

Under The Sheets - Google Spreadsheets Tutorial

This professional development session, designed and created by Rick Mallon, has been created for our educators and business staff at Korea International School, but free for anyone else wanting to access this material of course. 

This Session includes:

  • Spreadsheet basics
  • calculate with formulas/functions
  • manage data from Google Forms
  • Format cells
  • Build charts
  • Generate and sort data from PowerSchool
  • Basic scripts
Get a copy of the presentation at http://goo.gl/9lV3fG


Friday, March 13, 2015

Storage in the Cloud


Cloud storage is an awesome option for students and teachers who don't have enough storage space on their laptops or mobile devices. Cloud storage services will allow you to access all your files anywhere (desktop, phones, laptops, or tablet), share files with your colleagues, and organize them in folders or albums. Additionally, if your computer ever crashes or gets destroyed, you will still have access to your files on your different cloud storage services. 

This week we will focus on the following cloud services: Dropbox, Google Drive, Box, YouTube, Flickr, and ODrive. 


Coming Soon:  Packing your Digital Suitcase.  (For folks leaving KIS this year)  Here is the link to last year's presentation.

Sunday, March 8, 2015

Schoology Updated

Schoology Updated

Schoology receives hundreds of requests at any given time for new features and for improvements to their Learning Management System (LMS). 

One way that you can expand your knowledge and understanding of all the features of Schoology, is to explore the Help Centre. It's here too that you can 'Submit a Request', or Vote Up a request someone else has made. It all helps provide feedback to Schoology so that they can improve. 

This session brings to foreground some of the recent changes and improvements to Schoology since our last PD session. Information sourced for this PD is in fact borrowed largely from the Help Centre.
 

Follow the Schoology blog for all the latest Schoology information and updates. 

Featured

Popular Posts