{"id":26932429,"url":"https://github.com/foundata/chocolatey-sendmouseclick.extension","last_synced_at":"2026-03-14T18:08:20.477Z","repository":{"id":172038503,"uuid":"648762311","full_name":"foundata/chocolatey-sendmouseclick.extension","owner":"foundata","description":"A Chocolatey extension providing helper functions to send mouse clicks (mouse related SendInput calls). These functions may be used in Chocolatey install and uninstall scripts.","archived":false,"fork":false,"pushed_at":"2025-02-17T15:20:03.000Z","size":39,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T13:09:21.637Z","etag":null,"topics":["automation","chocolatey","chocolatey-community-repository","mouse-emulation","mouse-events","powershell","user32dll"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/foundata.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSES/Apache-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-02T18:44:57.000Z","updated_at":"2025-02-17T15:20:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3edc6eb-549d-4b84-be52-80f7d291e96a","html_url":"https://github.com/foundata/chocolatey-sendmouseclick.extension","commit_stats":null,"previous_names":["foundata/chocolatey-sendmouseclick.extension"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundata%2Fchocolatey-sendmouseclick.extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundata%2Fchocolatey-sendmouseclick.extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundata%2Fchocolatey-sendmouseclick.extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundata%2Fchocolatey-sendmouseclick.extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foundata","download_url":"https://codeload.github.com/foundata/chocolatey-sendmouseclick.extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246777800,"owners_count":20832033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automation","chocolatey","chocolatey-community-repository","mouse-emulation","mouse-events","powershell","user32dll"],"created_at":"2025-04-02T08:19:50.163Z","updated_at":"2026-03-14T18:08:15.439Z","avatar_url":"https://github.com/foundata.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Send-MouseClick extension for Chocolatey (`sendmouseclick.extension`)\n\n**This project is *not* associated with the official [Chocolatey](https://chocolatey.org/) product or team, nor with [Chocolatey Software, Inc.](https://chocolatey.org/contact/).**\n\nA [Chocolatey extension](https://docs.chocolatey.org/en-us/features/extensions) providing helper functions to send mouse clicks (mouse related SendInput calls). These functions may be used in Chocolatey install and uninstall scripts by declaring this package a dependency in your package's `.nuspec`.\n\n\n## Installation\n\nAs the package is an extension, it gets usually installed automatically as a dependency. However, you can still install it manually:\n\n```console\nchoco install sendmouseclick.extension\n```\n\n\n## Usage\n\nTo create a package with the ability to use a function from this extension, add the following to your `.nuspec` specification:\n\n```xml\n\u003cdependencies\u003e\n  \u003cdependency id=\"sendmouseclick.extension\" version=\"REPLACE_WITH_MINIMUM_VERSION_USUALLY_CURRENT_LATEST\" /\u003e\n\u003c/dependencies\u003e\n```\n\nIt is possible to import the module directly in your `PS \u003e`, so you can try out the main functionality directly:\n\n```powershell\n# import the modules\nImport-Module \"${env:ChocolateyInstall}\\helpers\\chocolateyInstaller.psm1\"\nImport-Module \"${env:ChocolateyInstall}\\extensions\\sendmouseclick\\*.psm1\"\n\n# get a list of all functions\nGet-Command -Module 'sendmouseclick.extension'\n\n# get help and examples for a specific function\nGet-Help Send-MouseClick -Detailed\n\n# left-click on the center of the current primary screen (implies -Position 'Center')\nSend-MouseClick\n\n# left-click at the current cursor position\nSend-MouseClick -Position $null\n\n# bring the first window that contains the name 'foo' to the front, focus it and\n# left-click on the center of the current primary screen\nSend-MouseClick -Query 'foo'\n\n# left-click at the position X100, Y200 of the current primary screen\nSend-MouseClick -Position (100, 200)\n\n# bring the first window that equals the name 'foo' to the front, focus it and\n# left-click on the center of the current primary screen\nSend-MouseClick -Query '^foo$'\n```\n\nBut keep in mind that functions of Chocolatey extension may only work correctly in the context of Chocolatey install and uninstall scripts.\n\n\n## Licensing, copyright\n\n\u003c!--REUSE-IgnoreStart--\u003e\nCopyright (c) 2023, 2024 foundata GmbH (https://foundata.com)\n\nThis project is licensed under the Apache License 2.0 (SPDX-License-Identifier: `Apache-2.0`), see [`LICENSES/Apache-2.0.txt`](LICENSES/Apache-2.0.txt) for the full text.\n\nThe [`REUSE.toml`](REUSE.toml) file provides detailed licensing and copyright information in a human- and machine-readable format. This includes parts that may be subject to different licensing or usage terms, such as third-party components. The repository conforms to the [REUSE specification](https://reuse.software/spec/). You can use [`reuse spdx`](https://reuse.readthedocs.io/en/latest/readme.html#cli) to create a [SPDX software bill of materials (SBOM)](https://en.wikipedia.org/wiki/Software_Package_Data_Exchange).\n\u003c!--REUSE-IgnoreEnd--\u003e\n\n[![REUSE status](https://api.reuse.software/badge/github.com/foundata/chocolatey-sendmouseclick.extension)](https://api.reuse.software/info/github.com/foundata/chocolatey-sendmouseclick.extension)\n\n\n## Author information\n\nThis Chocolatey extension was created and is maintained by [foundata](https://foundata.com/). If you like it, you might [buy them a coffee](https://buy-me-a.coffee/chocolatey-sendmouseclick.extension/). This is a community project and *not* associated with the official [Chocolatey](https://chocolatey.org/) product or team, nor with [Chocolatey Software, Inc.](https://chocolatey.org/contact/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoundata%2Fchocolatey-sendmouseclick.extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoundata%2Fchocolatey-sendmouseclick.extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoundata%2Fchocolatey-sendmouseclick.extension/lists"}