I wrote a little print selection macro which works fine. I would like to remove a step.
In my macro, I trigger a snagit region of interest selection → press escape when done → a few actions to print. Works fine.
I would like to remove the press esc to continue step, and have the macro detect when the region of interest was defined and from there proceed to the next actions to print.
Note that:
↑ Section Sign triggers the snagit region of interest
Use PAUSE UNTIL action,
Under "Add Condition" select "Mouse Button Condition",
Set it to "left button" & "is pressed"
then copy/paste that action, and change the second one from "is pressed" to "is not pressed"
The problem with automating this is that if your selection isn't perfect from start to finish on the first attempt, you will run a print of the bad selection - no selection do-overs
thank you for your reply.
It's a trackpad, not a mouse, and that's the problem. Otherwise I would have used the pause mouse click solution.
Sorry that my question was not clear.
Would you have a solution ?
Okay,… so I’m assuming you draw a box from a starting point to the diagonal opposite end, encasing your selection. How do you tell the system when you have started drawing the box and, more importantly when you have finished? If it is via the trackpad’s clicks, I’m pretty sure trackpad clicks are seen in KM as mouse clicks.
Otherwise, if it uses a two-finger gesture or something like that, and it can’t be redefined to a standard click in the preferences of Snagit, the only way I could think of would be to just flat-out PAUSE for 2.5-3 secs (in place of the PAUSE for ESCAPE key) to allow time for your selection to be defined, then just let the macro proceed.
The only caveat is to be able to differentiate when you really have defined a region of interest, or if it was a mistake and you need to adjust it.
If there another step you do to mark the end of defining a region?
Or does it work similar to OSX built-in screen capture tool? (when you release keys → screenshot happens)
It's the deliberate declaration of completion ("ESC" keystroke) that he is specifically trying to do away with - I think the better question is; is there a way the system can detect a successful completion? - I don't think there is a way the system can detect that without that final declaration by the user, unless the user is confident that the first selection will always be correct
Perhaps the only way to streamline this would be to provide something like a "double RIGHT-click" gesture equivalent right at the trackpad (instead of reaching for ESC) when a successful selection is made
one comment and one question (can I use share menu to print ? to print using a preset ?)
I finally managed to find a solution which is to the problem.
Instead of detecting the completion of the ROI, I used all the settings including the settings → share options available in snagit with a panoply of impossible remember keyboard shortcuts (one per settings) to define a KM snagit palette of 7 macros using those shortcuts.
This is my question: I would like to create a macro to print automatically. I could use Pause until Snagit at front→ Print as @VDOCutter suggested above. The only slight inconvenience is that I have to choose the print preset which entails many tabs, delays etc and is bug prone. I am just wondering if there is a way to use the share menu to print, and if yes, can I use the share menu to print using a specific preset ?