Alfred workflows for Timing (timingapp.com)
Note: haven't started. This is just a scratch file for what I want to do.
- Alfred Workflows Help: https://www.alfredapp.com/help/workflows/
- Timing Site Applescript reference: https://timingapp.com/help/applescript
- Timing Starting and stopping a Task Applescript:
-- Copyright (c) 2017 timingapp.com / Daniel Alm. All rights reserved.
-- This script is licensed only to extend the functionality of Timing. Redistribution and any other uses are not allowed without prior permission from us.
tell application "TimingHelper"
set pr to front project whose name is "ProjectXYZ"
start task with description "What you were doing" project pr for about 3600
-- and later:
stop current task with notification -- if you don't want Timing to display a notification about the stopped task, remove the 'with notification'
end tell
- Timing Pause Tracking Applescript:
-- Copyright (c) 2017 timingapp.com / Daniel Alm. All rights reserved.
-- This script is licensed only to extend the functionality of Timing. Redistribution and any other uses are not allowed without prior permission from us.
tell application "TimingHelper"
pause tracking
delay 5 * 60
resume tracking
end tell
- Timing Control Tracking Applescript:
-- Copyright (c) 2017 timingapp.com / Daniel Alm. All rights reserved.
-- This script is licensed only to extend the functionality of Timing. Redistribution and any other uses are not allowed without prior permission from us.
set datevar to current date
set hours of datevar to 7
set minutes of datevar to 0
set seconds of datevar to 0
tell application "TimingHelper"
add task from ((datevar)) to ((datevar) + 1 * hours) with description "foo" project (front project whose name is "ProjectXYZ")
-- note: if there are two projects with the same names, but different parent projects, you can address them as follows:
-- front project whose name chain is "Parent1 ▸ Child"
-- front project whose name chain is "Parent2 ▸ Child"
end tell
- Add task
- Quick Start task (list tasks)
- Pause task
- Open Review window