{"id":34318769,"url":"https://github.com/ashfinal/spamshot","last_synced_at":"2026-03-12T18:48:41.398Z","repository":{"id":25080895,"uuid":"28501412","full_name":"ashfinal/spamshot","owner":"ashfinal","description":"Apple Script for automate procedures of iMessage spam reporting","archived":false,"fork":false,"pushed_at":"2015-01-11T00:27:29.000Z","size":156,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-20T23:19:06.564Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashfinal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-26T05:59:24.000Z","updated_at":"2024-08-11T16:38:40.000Z","dependencies_parsed_at":"2022-07-22T08:02:08.421Z","dependency_job_id":null,"html_url":"https://github.com/ashfinal/spamshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashfinal/spamshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashfinal%2Fspamshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashfinal%2Fspamshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashfinal%2Fspamshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashfinal%2Fspamshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashfinal","download_url":"https://codeload.github.com/ashfinal/spamshot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashfinal%2Fspamshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30438521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: 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":"2025-12-17T12:30:58.612Z","updated_at":"2026-03-12T18:48:41.393Z","avatar_url":"https://github.com/ashfinal.png","language":"AppleScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"spamshot\n========\n\nApple Script for automate procedures of iMessage spam reporting\n\niMessage 垃圾信息报告Apple Script自动化脚本\n\n## 安装 ##\n\n所有你需要的只有spamshot.applescript一个文件。\n\n下载完成后把该文件放到`~/Library/Application Scripts/com.apple.iChat/`目录。\n\n打开Mac上的`信息.app`，依次点击`信息`-`偏好设置`-`通用` 找到`AppleScript处理程序`，从下拉菜单选择`spamshot.applescript`.\n\n![imsg_setup](http://ashfinal.qiniudn.com/20141226spamshot_imsgsetup.png)\n\n## 使用方法 ##\n\n**1.批量处理**\n\n如果你需要扫描举报已有的垃圾信息(通常数量较多)，通过 `脚本编辑器.app`直接运行该脚本(快捷键为 `⌘+R`)。\n\n你需要确认`脚本编辑器.app`已配置辅助控制权限。参照第2条进行查看/设置。\n\n**2.逐条举报**\n\n对想要举报的某条iMessage信息 回复 `spam report` 或者 `垃圾举报` 即可。\n\n你需要添加`信息.app`的辅助控制权限：打开`系统偏好设置`-`安全性与隐私`-`隐私`-`辅助功能`，点加号手动添加`信息.app`。\n\n![imsg_ctrl](http://ashfinal.qiniudn.com/20141226spamshot_imsgctrl.png)\n\n如需更多自定义选项，请打开`spamshot.applescript`脚本文件参看详细设置。\n\n## 可能存在的问题 ##\n\n**1.Dropbox相关问题**\n\n如果你在使用dropbox，可能会出现邮件截图缺失的情况。貌似dropbox会监控文件系统变化，把脚本运行过程产生在图片文件夹的临时截图给移走了。。。\n\n因本人不使用dropbox，无法进行测试和进一步改进。使用dropbox仍想尝试正常运行，可以搜索`spamshot.applescript`文件里的`set picPath to (POSIX path of (path to pictures folder)) \u0026 \"spamshot.png\"`，将picPath更改为其它dropbox监控不到的目录(需更改6处)。\n\n**2.非13寸MacBook相关问题**\n\n相同操作系统版本在不同尺寸设备上的菜单竟然不同！这导致脚本模拟点击出错，会“清空”iMessage所有信息。(目前暂仅发现15寸设备上会有此问题)如果确实遇到此现象，请尝试将第299行处的`item 9`改为`item 11`。\n\n![bug_patch](http://ashfinal.qiniudn.com/20141228spamshot_bugpatch.png)\n\n## Thanks ##\n\nFeel free to use and spread. Any contribution is welcome! ^_^\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashfinal%2Fspamshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashfinal%2Fspamshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashfinal%2Fspamshot/lists"}