Mary Sharon Cohen

Q: Print a daily calendar entry every two weeks

I would like to create a repeating calendar entry that will automatically print that day's calendar to the default printer.

 

This used to be very easy in older versions of OS X, but I can't seem to do it with the current iCal alerts.

 

I have tried to create an Automator application or Calendar workflow.

 

But I can't get them to work.

 

I can't believe Apple has taken a giant leap backward in this regard.

Posted on Jun 1, 2016 11:30 AM

Close

Q: Print a daily calendar entry every two weeks

  • All replies
  • Helpful answers

  • by Pierre L.,Helpful

    Pierre L. Pierre L. Jun 27, 2016 8:31 PM in response to Mary Sharon Cohen
    Level 5 (4,484 points)
    Jun 27, 2016 8:31 PM in response to Mary Sharon Cohen

    Maybe you could create an entry like that below, where "Print Calendar" is the name of a script (saved as an app) which will print that day's calendar.

    XXX.png

  • by Mary Sharon Cohen,

    Mary Sharon Cohen Mary Sharon Cohen Jun 27, 2016 8:31 PM in response to Pierre L.
    Level 1 (11 points)
    Mac OS X
    Jun 27, 2016 8:31 PM in response to Pierre L.

    Now how do I create and run that script

  • by Pierre L.,

    Pierre L. Pierre L. Jun 27, 2016 9:57 PM in response to Mary Sharon Cohen
    Level 5 (4,484 points)
    Jun 27, 2016 9:57 PM in response to Mary Sharon Cohen

    You might want to try the following GUI script (tested under OS X “El Capitan” 10.11.5):

     

    tell application "Calendar" to activate

     

    tell application "System Events" to tell process "Calendar"

         keystroke "0" using {command down} -- open the main window if necessary

         click menu item "Print…" of menu 1 of menu bar item "File" of menu bar 1

         repeat until window "Print" exists

         end repeat

         tell window "Print"

               click pop up button 1

               click menu item "Day" of menu 1 of pop up button 1

               click button "Continue"

               click button "Print" -- may need several seconds before clicking

         end tell

    end tell


    Copy the above script into the Script Editor window and save it as an application.

    You might also have a look at this web page.

  • by Mary Sharon Cohen,

    Mary Sharon Cohen Mary Sharon Cohen Jun 28, 2016 2:36 AM in response to Pierre L.
    Level 1 (11 points)
    Mac OS X
    Jun 28, 2016 2:36 AM in response to Pierre L.

    Nope.

     

    The script runs after changing permissions, but only when clicked in the Script Editor.

     

    I'm able to make the settings in your screen shot for June 1. But as soon as I click OK, the setting doesn't stick.

  • by Pierre L.,

    Pierre L. Pierre L. Jun 28, 2016 3:23 AM in response to Mary Sharon Cohen
    Level 5 (4,484 points)
    Jun 28, 2016 3:23 AM in response to Mary Sharon Cohen

    Everything seems to work as expected on my MacBook Pro (under OS X 10.11.5). I can't see why the settings dont stick on your machine. Sorry.

  • by Mary Sharon Cohen,

    Mary Sharon Cohen Mary Sharon Cohen Jul 11, 2016 6:06 PM in response to Pierre L.
    Level 1 (11 points)
    Mac OS X
    Jul 11, 2016 6:06 PM in response to Pierre L.

    Spent a slew of emails with the head of Scripting at Apple. He couldn't fix it either.

     

    Totally disgusted with Tim Cook and Apple's backwards flight to before we could do this easily.