{"id":19732288,"url":"https://github.com/hcarrasc/applescript-commands","last_synced_at":"2026-03-03T03:34:35.698Z","repository":{"id":147460853,"uuid":"49593180","full_name":"hcarrasc/AppleScript-Commands","owner":"hcarrasc","description":"A recopilation of main AppleScript commands and related resources","archived":false,"fork":false,"pushed_at":"2018-08-13T15:03:46.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T03:52:07.777Z","etag":null,"topics":["applescript","applescript-commands"],"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/hcarrasc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-13T18:28:05.000Z","updated_at":"2025-02-19T20:28:59.000Z","dependencies_parsed_at":"2024-01-09T19:01:30.227Z","dependency_job_id":null,"html_url":"https://github.com/hcarrasc/AppleScript-Commands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hcarrasc/AppleScript-Commands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarrasc%2FAppleScript-Commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarrasc%2FAppleScript-Commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarrasc%2FAppleScript-Commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarrasc%2FAppleScript-Commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hcarrasc","download_url":"https://codeload.github.com/hcarrasc/AppleScript-Commands/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcarrasc%2FAppleScript-Commands/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30031166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T03:27:35.548Z","status":"ssl_error","status_checked_at":"2026-03-03T03:27:09.213Z","response_time":61,"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":["applescript","applescript-commands"],"created_at":"2024-11-12T00:25:35.127Z","updated_at":"2026-03-03T03:34:35.683Z","avatar_url":"https://github.com/hcarrasc.png","language":"AppleScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppleScript-Commands\n\nThis is recopilation of main AppleScript commands and related resources. \nFeel free to add new **useful** scripts.\n\n### What is AppleScript?\nAppleScript is a scripting language that provides direct control of scriptable applications and scriptable parts of the Mac OS. A scriptable application is one that can respond to a variety of Apple events by performing operations or supplying data\nYou can use AppleScript scripts to perform repetitive tasks, automate complex workflows, control applications on local or remote computers, and access web services. Because script writers (or scripters) can access features in any scriptable application, they can combine features from many applications.\n\nsource: [developer.apple.com](https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/ScriptingOnOSX.html)\n\n### Useful AppleScripts commands\n\n**Get current Spotify track**\n\n    tell application \"Spotify\"\n    \tset currentTrack to name of current track as string\n    \tset currentArtist to artist of current track as string\n    \treturn currentArtist \u0026 \" - \" \u0026 currentTrack\n    end tell\n\n**Skip next track**\n\n    tell application \"Spotify\" next track end tell\n\n**Previous track**\n\n    tell application \"Spotify\" to previous track\n\n**Play/Pause track**\n\n    tell application \"Spotify\" to playpause\n\n**Quit Spotify**\n\n    tell application \"Spotify\" to quit\n\n**DisplayDialogs**\n\n    display dialog \"your message here\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcarrasc%2Fapplescript-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhcarrasc%2Fapplescript-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcarrasc%2Fapplescript-commands/lists"}