Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you add a task before taking a screenshot? I need to run a script before capturing the screen. #7464

Open
allrobot opened this issue May 19, 2024 · 1 comment

Comments

@allrobot
Copy link

allrobot commented May 19, 2024

KeyCastOW

Before taking a screenshot, I hope to capture the matrix resolution and coordinate information of the screenshot, then write the configuration information for KeyCastOW with a script, and then call the KeyCastOW.exe program. This way, every time a screenshot is taken within the matrix, there are labels for the real-time output of the keys placed inside, which is very useful for demonstrating key instructions.

After taking a screenshot, I will use the post-screenshot task to execute taskkill /IM KeyCastOW.exe /F, so that a lot of effort is saved before each screenshot.

Of course, perhaps using AHK could replace this task, but I don't want to add additional dependency files because I don't use AHK much.

AHK: https://github.com/allrobot/KeyCastOW_chinese/blob/master/ShareX_GIF.ahk

@allrobot
Copy link
Author

Hello, if you don't consider adding the option to 'Run script before capturing', I hope ShareX can report the current status, such as:

  • The screenshot size of RectangleRegion or GIF, and its coordinate position relative to the entire screen.

  • Prompt several statuses: user is customizing the region, recording the screen, and screen recording has been turned off.

This way, I will use AHK to better automate the screenshot process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant