{"id":19114591,"url":"https://github.com/goodguyry/timestamp","last_synced_at":"2026-01-29T20:02:29.616Z","repository":{"id":8119610,"uuid":"9536087","full_name":"goodguyry/timestamp","owner":"goodguyry","description":"Quickly add a timestamp to any Finder item","archived":false,"fork":false,"pushed_at":"2013-04-19T02:20:13.000Z","size":149,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T10:49:40.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"AppleScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goodguyry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-19T02:07:06.000Z","updated_at":"2014-10-16T07:38:37.000Z","dependencies_parsed_at":"2022-08-24T03:21:31.994Z","dependency_job_id":null,"html_url":"https://github.com/goodguyry/timestamp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/goodguyry/timestamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodguyry%2Ftimestamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodguyry%2Ftimestamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodguyry%2Ftimestamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodguyry%2Ftimestamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goodguyry","download_url":"https://codeload.github.com/goodguyry/timestamp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodguyry%2Ftimestamp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28883988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:55:09.949Z","status":"ssl_error","status_checked_at":"2026-01-29T19:55:08.490Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T04:43:53.140Z","updated_at":"2026-01-29T20:02:29.598Z","avatar_url":"https://github.com/goodguyry.png","language":"AppleScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"TimeStamp\n=========\n\nAn AppleScript applet to timestamp files from the Finder toolbar. It's set up to work two ways:\n\n1. **As a droplet**  \nDrop a file or folder on the TimeStamp icon and the file or folder's name will be appended with the timestamp.\n2. **As an applet or run as an AppleScript**  \nSelect a file or folder and click the TimeStamp icon to duplicate the selected file and have its name appended with a timestamp, preserving the original file or folder's name.\n\n## How do you work this thing?\n### Run it as you would any other AppleScript\nThe easiest way to do this is to drop the script file into your _~/Library/Scripts_ folder and run it from the Script menu in the menu bar. To enable the Script menu, open AppleScript Editor (/Applications/Utilities/AppleScript Editor.app) and  enable the option for \"Show Script menu in menu bar\" in the AppleScript Editor's preferences window.\n\n\\* Please note that running this from the Script menu will only run the default ````run```` handler, which duplicates the file and timestamps the duplicate file, so you may want to alter the code if that's not how you want it to run.\n\n### Save it as an application\nOpen the script in AppleScript Editor and select \"Application\" from the _Save As_ menu. From there, there are a couple extra steps.\n\n1. **Add the icon file to the Resources folder**  \nRight-click your application file and select \"Show Package Contents\". Open the _Contents/Resources_ folder and drag the included .icns file (or your own, whatever) into this folder. Go ahead and copy the filename to the clipboard.\n3. **Alter the icon file key in the plist to enable the icon file.**  \nIn the _Contents_ folder is your Infor.plist file. Open this file in your editor of choice and find the ````CFBundleIconFile```` key. Change the associated ````\u003cstring\u003e```` entry (directly after ````\u003ckey\u003eCFBundleIconFile\u003c/key\u003e````) to reflect the name of your icon file (without the file extension). If you've used the included icon file, your plist file should read:  \n````  \n\u003ckey\u003eCFBundleIconFile\u003c/key\u003e\n\u003cstring\u003etimestamp\u003c/string\u003e  \n````  \nKeep that plist file open, dawg...\n2. **Add a key to the plist file so the dock icon will remain hidden.**   \nIn order to keep TimeStamp from showing a dock icon (which, IMHO is dumb and pointless for this type of application), you need to _add_ the following to the plist file:  \n````\n\u003ckey\u003eLSUIElement\u003c/key\u003e\n\u003cstring\u003e1\u003c/string\u003e\n````\n\n## Optional Setup\n**Changing the applet and droplet bevahiors**\nThe following handler call passes a boolean value to a ````fileDup```` variable.\n\n````my addTimeStamp(boolean)````\n\nThis handler appears twice - once in the ````run```` handler and once in the ````open names```` handler.\n\n- When ````true````, the selected/dropped file will be duplicated and the duplicate file will be timestamped, which preserves the original file or folder name.\n- When ````false````, the selected/dropped file will be timestamped without duplication.\n\n**Changing the timestamp formatting**\n\nIn the ````formatDate(x)```` handler, ````x```` is the date passed. Inside the function, the date/time formatting can be altered to suit your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodguyry%2Ftimestamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodguyry%2Ftimestamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodguyry%2Ftimestamp/lists"}