List of valid parameters when calling clickDockMenu:
["Hubstaff", "Start Working", "Add Note", "Hide Timer", "Projects", "Sign Out", "Open Dashboard", "Add/Edit Time", "Report an Error", "Help Center", "About Hubstaff", "Preferences…", "Check for Updates...", "Options", "Show All Windows", "Hide", "Hide Others", "Quit "Force Quit"]
Example calls:
clickDockMenu("Preferences…")
clickDockMenu("Start Working")
clickDockMenu("Add Note")
Notes:
This list can be seen by right-clicking Hubstaff's icon in the Dock.
Hubstaff should be running before the call is made.