Adding a Time Entry to a Project

Simply copy the following script(s) into a new "Script Editor" document and press run.
Feel free to customize them for your use cases.

Note: We do not take responsibility for any data loss incurred by running these scripts.
Make sure to back up your data (e.g. by copying the directories mentioned here to a different location) before running these scripts.

-- Copyright (c) 2021 Timing Software GmbH. 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"
	if not scripting support available then
		error "Scripting support requires a Timing Expert license. Please contact support via to upgrade."
	end if
end tell
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 time entry from (datevar) to (datevar + 60 * minutes) with title "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

Take our free 5-day course to get started with Timing.