Forum › Forums › antiX-development › Graphics › Light weight screenshot and annotate combo › Reply To: Light weight screenshot and annotate combo
June 19, 2021 at 2:42 am
#61945
Member
Hello BobC
Wearing of Name badge?
These lines for id. are the start of Action Dialog in shot_taken. Added first, the frame.
Top or tucked between Take another screenshot and Exit without saving?
function shot_taken {
if [ "$ALREADY_SAVED" = "false" ] ; then
WORKING_DELETED=Negative
else
WORKING_DELETED=Affirmative
fi
SAVE_STATUS="$WORKING_DELETED"
if [ "$ALREADY_SAVED" = "false" ] ; then
ALFILE="$WORKING_DIR"/"$NAME"."$EXT"
else
ALFILE="$file_name"
fi
export ACTION=$(cat <<End_of_Text
<window title="antiXscreenshot Action" window-position="1">
<vbox>
<hbox>
<vbox>
<frame Saved Status: $SAVE_STATUS>
<text use-markup="true" width-chars="35">
<label>"$ALFILE"</label>
</text>
</frame>
<frame <code>gettext $"Action"</code>>
<radiobutton active="true">
<label>"<code>gettext $"Save and Open Printer Dialog"</code>"</label>

