{"action":"created","issue":{"url":"https://api.github.com/repos/autokey/autokey/issues/179","repository_url":"https://api.github.com/repos/autokey/autokey","labels_url":"https://api.github.com/repos/autokey/autokey/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/autokey/autokey/issues/179/comments","events_url":"https://api.github.com/repos/autokey/autokey/issues/179/events","html_url":"https://github.com/autokey/autokey/issues/179","id":352707446,"node_id":"MDU6SXNzdWUzNTI3MDc0NDY=","number":179,"title":"disable a script","user":{"login":"curioussavage","id":7064600,"node_id":"MDQ6VXNlcjcwNjQ2MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/7064600?v=4","gravatar_id":"","url":"https://api.github.com/users/curioussavage","html_url":"https://github.com/curioussavage","followers_url":"https://api.github.com/users/curioussavage/followers","following_url":"https://api.github.com/users/curioussavage/following{/other_user}","gists_url":"https://api.github.com/users/curioussavage/gists{/gist_id}","starred_url":"https://api.github.com/users/curioussavage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curioussavage/subscriptions","organizations_url":"https://api.github.com/users/curioussavage/orgs","repos_url":"https://api.github.com/users/curioussavage/repos","events_url":"https://api.github.com/users/curioussavage/events{/privacy}","received_events_url":"https://api.github.com/users/curioussavage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T20:57:41Z","updated_at":"2018-08-21T21:40:32Z","closed_at":null,"author_association":"NONE","body":"## Classification:\r\nEnhancement\r\n\r\n\r\n## Summary\r\n\r\nI would like to be able to disable a script without deleting it. Only option right now would be to delete or rename the files I guess.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/autokey/autokey/issues/comments/414830808","html_url":"https://github.com/autokey/autokey/issues/179#issuecomment-414830808","issue_url":"https://api.github.com/repos/autokey/autokey/issues/179","id":414830808,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDgzMDgwOA==","user":{"login":"luziferius","id":2143820,"node_id":"MDQ6VXNlcjIxNDM4MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/2143820?v=4","gravatar_id":"","url":"https://api.github.com/users/luziferius","html_url":"https://github.com/luziferius","followers_url":"https://api.github.com/users/luziferius/followers","following_url":"https://api.github.com/users/luziferius/following{/other_user}","gists_url":"https://api.github.com/users/luziferius/gists{/gist_id}","starred_url":"https://api.github.com/users/luziferius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luziferius/subscriptions","organizations_url":"https://api.github.com/users/luziferius/orgs","repos_url":"https://api.github.com/users/luziferius/repos","events_url":"https://api.github.com/users/luziferius/events{/privacy}","received_events_url":"https://api.github.com/users/luziferius/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T21:40:32Z","updated_at":"2018-08-21T21:40:32Z","author_association":"COLLABORATOR","body":"Would you mind giving an example use case?\r\n\r\nYou can use a window filter that will never match any window, thus effectively disabling the script. (Works for Phrases, too.)\r\n\r\nAutoKey uses Python regular expressions to match windows. Putting in a never maching expression should disable scripts: something like `(?!x)x`.\r\nThis expression can never be fulfilled. Read it as: A window with a title exactly `x` that does not start with `x`"}}
{"actor":{"display_login":"luziferius"}}