{"id":23399981,"url":"https://github.com/bbigras/go-autoit","last_synced_at":"2025-04-11T18:07:37.409Z","repository":{"id":12297241,"uuid":"14926716","full_name":"bbigras/go-autoit","owner":"bbigras","description":"A wrapper of AutoIt (AutoItX) for the Go Programming Language.","archived":false,"fork":false,"pushed_at":"2016-10-13T18:52:10.000Z","size":30,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T18:04:02.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbigras.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":"2013-12-04T14:58:05.000Z","updated_at":"2024-04-17T21:23:24.000Z","dependencies_parsed_at":"2022-09-10T14:40:56.740Z","dependency_job_id":null,"html_url":"https://github.com/bbigras/go-autoit","commit_stats":null,"previous_names":["brunoqc/go-autoit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fgo-autoit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fgo-autoit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fgo-autoit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbigras%2Fgo-autoit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbigras","download_url":"https://codeload.github.com/bbigras/go-autoit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248456374,"owners_count":21106602,"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":[],"created_at":"2024-12-22T10:18:10.031Z","updated_at":"2025-04-11T18:07:37.367Z","avatar_url":"https://github.com/bbigras.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-autoit\n=========\n[![GoDoc](https://godoc.org/github.com/brunoqc/go-autoit?status.png)](https://godoc.org/github.com/brunoqc/go-autoit)\n[![Build status](https://ci.appveyor.com/api/projects/status/nhb09oh0gei24md9?svg=true)](https://ci.appveyor.com/project/brunoqc/go-autoit)\n\nA Go [AutoItX](https://www.autoitscript.com/site/autoit/) wrapper.\n\n##Sample code##\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/brunoqc/go-autoit\"\n)\n\nfunc main() {\n\tsuccess, pid := autoit.Run(\"notepad.exe\", \"\", autoit.SwNormal)\n\tif !success {\n\t\tpanic(\"can't run process\")\n\t}\n\n\tfmt.Println(\"pid\", pid)\n}\n```\n\n##Build##\n\nYou need the DLL (`AutoItX3.dll` or `AutoItX3_x64.dll` for 64-bit) and the [Swig](http://www.swig.org/) executable in your `PATH`.\n\nNote: I wasn't able to set `CGO_CFLAGS` to `C:\\Program Files (x86)\\AutoIt3\\AutoItX`. It doesn't seem to like white spaces in the path so I copied the `AutoItX` directory to `c:\\`\n\nNote 2: swig seems to ignore `CGO_CFLAGS` so you may have to copy `AutoItX3_DLL.h` to the current directory.\n\n```bash\nset CGO_CFLAGS=-Ic:/AutoItX\nset CGO_LDFLAGS=-Lc:/AutoItX -lAutoItX3_DLL\n\n# (for 64-bit)\nset CGO_LDFLAGS=-Lc:/AutoItX -lAutoItX3_x64_DLL\n\ngo build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbigras%2Fgo-autoit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbigras%2Fgo-autoit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbigras%2Fgo-autoit/lists"}