{"id":19536022,"url":"https://github.com/miyako/4d-plugin-continuity-camera","last_synced_at":"2026-02-07T19:30:48.671Z","repository":{"id":147172317,"uuid":"402668187","full_name":"miyako/4d-plugin-continuity-camera","owner":"miyako","description":"Invoke macOS 10.14 Continuity Camera feature for image import","archived":false,"fork":false,"pushed_at":"2022-09-20T04:45:39.000Z","size":7092,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-26T14:42:31.624Z","etag":null,"topics":["4d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyako.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-03T06:22:03.000Z","updated_at":"2024-08-27T04:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"64f19feb-380b-4f66-9d9d-7d84958af2e7","html_url":"https://github.com/miyako/4d-plugin-continuity-camera","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/miyako/4d-plugin-continuity-camera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-continuity-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-continuity-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-continuity-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-continuity-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/4d-plugin-continuity-camera/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-continuity-camera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29205249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["4d-plugin"],"created_at":"2024-11-11T02:20:43.483Z","updated_at":"2026-02-07T19:30:48.666Z","avatar_url":"https://github.com/miyako.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4d-plugin-continuity-camera\nInvoke macOS 10.14 Continuity Camera feature for image import\n\n![version](https://img.shields.io/badge/version-19%2B-5682DF)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel%20|%20mac-arm\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/4d-plugin-continuity-camera)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-continuity-camera/total)\n\n**Important**: `2.0.0` breaks compatibility.\n\nnew `status` object:\n\n* status.success: boolean\n* status.document: picture (PDF document, if available)\n* status.images[]: collection of TIFF pictures, typically in 3 resolutions\n\n\n### Example\n\n```4d\n$options:=New object\n$options.window:=Current form window\nGET MOUSE($x;$y;$buttonDown)\n$options.x:=$x\n$options.y:=$y\n\n$status:=Continuity camera menu ($options)\n\nvar $image : Picture\n\nForm.image:=$image*0\n\nIf ($status.success)\n\t\n\tFor each ($image; $status.images)\n\t\tForm.image:=Form.image/$image\n\tEnd for each \n\t\n\tIf ($status.document#Null)\n\t\t$folder:=Folder(Temporary folder; fk platform path).folder(Generate UUID)\n\t\t$folder.create()\n\t\t$file:=$folder.file(\"scan.pdf\")\n\t\tPICTURE TO BLOB($status.document; $data; \".pdf\")\n\t\t$file.setContent($data)\n\t\tSHOW ON DISK($file.platformPath)\n\tEnd if \n\t\nEnd if \n```\n\nA context menu for image import is displayed.\n\n\u003cimg width=\"600\" alt=\"menu\" src=\"https://user-images.githubusercontent.com/1725068/131959990-34a71741-ad9b-40e3-9f4c-32f84c803317.png\"\u003e\n\nIf there is an iOS device nearby with the same Apple ID, it will switch to [Continuity Camera](https://developer.apple.com/documentation/appkit/supporting_continuity_camera_in_your_mac_app?language=objc) mode.\n\n\u003cimg width=\"600\" alt=\"ipad\" src=\"https://user-images.githubusercontent.com/1725068/131960007-06262440-56a4-453b-bbdb-dd54a06ef62d.jpeg\"\u003e\n\nWhen you tap \"Done\", the command returns the image edited on iOS.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-continuity-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2F4d-plugin-continuity-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-continuity-camera/lists"}