thinkfilm Posted March 19, 2013 Posted March 19, 2013 There are several good workflow contributions to create Reminders and Notes -- can someone tackle a workflow to create new events in Calendar? In Alfred v1 there used to be something like this -- not a workflow obviously. brad-ros 1
zapacoman Posted April 13, 2013 Posted April 13, 2013 Here you go: http://bit.ly/124R6CP That took waaaaaaay too long for me to figure out. thinkfilm 1
thinkfilm Posted April 14, 2013 Author Posted April 14, 2013 (edited) Here you go: http://bit.ly/124R6CP That took waaaaaaay too long for me to figure out. It may have taken you too long but it was certainly worth it. It works AND you've solved the issue I had with the other Calendar workflows -- namely, that the script needed a delay to execute properly if Calendar wasn't open. Thanks for the hard work -- I, and I hope others, really appreciate it. PS. Any chance of adding a Notification Alert to the workflow? Edited April 14, 2013 by thinkfilm
mixterdee Posted April 14, 2013 Posted April 14, 2013 Nice one Zapacoman. Is there any chance that this could be changed to work with Google Calendar?.
dhertz Posted April 14, 2013 Posted April 14, 2013 Here you go: http://bit.ly/124R6CP That took waaaaaaay too long for me to figure out. you can just use keystroke to print the parameter straight in the box: on alfred_script(q) tell application "Calendar" to activate delay 0.5 tell application "System Events" keystroke "n" using {command down} keystroke q keystroke return end tell end alfred_script
kithairon Posted May 22, 2013 Posted May 22, 2013 Excellent! Enjoy this and find it very useful. Thanks.
zapacoman Posted July 19, 2013 Posted July 19, 2013 (edited) Nice one Zapacoman. Is there any chance that this could be changed to work with Google Calendar?. This should work for Gcal assuming the page doesn't take more than 1 second to load. If it does based on your internet connection speed, just add more delay: on alfred_script(q) tell application "Finder" set the clipboard to q end tell tell application "Safari" to activate tell application "Safari" to open location "https://www.google.com/calendar?tab=cc" delay 0.5 tell application "System Events" keystroke "q" delay 1 keystroke "v" using {command down} keystroke space keystroke return end tell end alfred_script Edited July 19, 2013 by zapacoman
twberger Posted June 11, 2014 Posted June 11, 2014 Came across this and it's exactly what I wanted, except that I'm not crazy about the 0.5 second delay. There's no guarantee Calendar will be running in 0.5 seconds, and if it's already running then you have to wait 0.5 seconds for nothing. So I tweaked it a bit (with the help of reddit.com/u/cooper12), and made it run immediately if Calendar is running, otherwise wait until Calendar is ready. on alfred_script(q) activate application "Calendar" repeat until application "Calendar" is running delay 0.1 end repeat activate application "Calendar" tell application "System Events" keystroke "n" using {command down} keystroke q keystroke return end tell end alfred_script
helwaser Posted December 5, 2019 Posted December 5, 2019 when i try opening link in chrome i go to: http://searchguide.level3.com/search/?q=http%3A//derekminner.com/docs/Calendar%20Quick%20Entry.alfredworkflow&r=&bc= how can i use the link for alfred workflow?
deanishe Posted December 5, 2019 Posted December 5, 2019 4 hours ago, helwaser said: how do i open your link please? You can't: the domain doesn't exist any more. I've no idea why you're seeing that searchguide.level3.com. It's probably something your ISP/DNS-provider is doing when your request a non-existent domain.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now